Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

SOLVED: Eclipse RCP View resize programmatically

Naveenchandra Patil:

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.

Thanks in advance!

Editing my earlier comment to add additional details.

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.

Please see the attached image. I got this image from a developer who has left the organization now.View Resize screenshot. Image of the selectable object



Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
This Question have been answered
HERE


This post first appeared on Stack Solved, please read the originial post: here

Share the post

SOLVED: Eclipse RCP View resize programmatically

×

Subscribe to Stack Solved

Get updates delivered right to your inbox!

Thank you for your subscription

×