title: Eclipse RCP View resize programmatically
body: <p>I have a requirement in Eclipse RCP where I need to resize the views within my perspective, like select a particular view and press left arrow key to shrink it in width (simultaneously increase the width of the neighbor view) and same with right, top  and bottom keys. I have been browsing for a while now to understand how we can resize a view programatically. I am sure eclipse has a command for this, but I am unable to find it. If I get this command than I can hook the hotkeys to this command or add a key binding.</p>
  
  <p>Thanks in advance!</p>
  
  <p>Editing my earlier comment to add additional details.</p>
  
  <p>There is a context menu item called size (right click on any view name)  -> rightcick -> Size -> top|bottom|left|right. These menu items are contributed by eclipse itself. But they are not always visible, we should be configuring the preference store in order to get this, I am unable to find this setting.Upon selecting either of the options there will be selectable object occuring in between the views (depending on the selected menu) and now on click of left or right | top or bottom keys we will be able to resize the view.</p>
  
  <p>Please see the attached image. I got this image from a developer who has left the organization now.<a href="https://i.stack.imgur.com/s2HvR.png" rel="nofollow noreferrer">View Resize screenshot</a>. <a href="https://i.stack.imgur.com/anx3P.png" rel="nofollow noreferrer">Image of the selectable object</a></p>