Eclipse RCP View resize programmatically - eclipse-rcp

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

Related

How to save vertical space in eclipse by removing status bar, quick access and splitted view controls?

Here my eclipse window. I want to save all these space in order to gain vertical visibility (for my text editor). And I am unable to find the way to do it.
I'm pretty sure you cannot disable either status bar nor toolbar. There is kind of solution though:
You can open a file and drag its tab with file name outside of eclipse window so it is detached from the main eclipse window. Then you can maximize this window and look on the code in kind of full-screen mode.

Eclipse Outline view is hiding code

I'm using the Kepler CDT release (4.3.1) of Eclipse. When I click on anything in the Outline view, the corresponding editor view is reduced to showing just that item. If I click on a variable, I get a single line with just that variable. The Edit->Expand Selection options are all dimmed out. Hitting Shift-Alt-Up Arrow just moves me up to the previous item in the outline view. If I change editor tabs and come back then the Expand Selection options enable and I can manually hit Shift-Alt-Up Arrow a number of times to make the entire file visible again but clicking on anything in the outline view again will just reduce the view. Is there some new setting in Kepler that will make outline stop doing this?
Turns out the feature for Show Source of Selected Element Only was turned on. In Kepler the toolbar button for this is not visible. Even searching under quick access doesn't turn it up so it's somewhat of a puzzle how it could have been turned on. I actually thought maybe it had been removed from Kepler.
In the Customize Perspective dialog under the Tool Bar Visibility tab. In the Tool Bar Structure section I opened the area for Editor Presentation. I noticed there was actually a check next to the box for Show Source of Selected Element Only. However, it wasn't visible in the toolbar (a bug I've seen before in Eclipse) so I unchecked it and checked it. Then I exited the dialog. Now the button showed up on the toolbar. I then toggled the feature on and then off. Now clicking in the outline view works correctly.just moves to the correct spot.

Eclipse 4.2 (Juno) - Drag tab from one editor region to another?

It's very simple to drag an editor tab to create a split editor layout (2 editors side by side).
For example this may produce the following layout where | indicates the window vertical split to produce two horizontally adjacent editors:
[TabL1] [TabL2] [TabL3] | [TabR1]
Having done this once, I cannot drag a second TabL to sit next to a TabR. The only options that appear on hovering the TabL over the right editor region are for further splits, or to detach the tab entirely to reside in its own window.
The same problem arises when attempting to drag a detached tab (in its own window) into either editor region.
Could someone please indicate how to achieve the desired result?
Sincere thanks.
To drop a view/editor into an existing stack you need to hover on the tab strip adjacent to the existing tab where you want the new tab placed. You will see a short vertical drop feedback line next to an existing tab.

Eclipse: Create a group of tabs(Console, Servers, Problems … )

Is there a way to create a hotkey to hide and show the entire bottom tab group? The one that normally contains Console, Problems, Servers and so on...
I want to have it a fastview but as far as I know this is only possible per tab within that group.
I want the entire group to appear on a hotkey and as a fast view.
I am hoping for a miracle here. Perhaps there is a plugin for this? Eclipse 3.4
Thanks!
If your goal is just to maximize editor space, you can double-click on an editor tab and it will grow to fill the entire window. Double-click again and it will restore back down, showing all the other view tab groups.
This might be an ok solution:
Minimise the tag group (minimise button on top left).
Whenever you want to access a view from that group use Cntrl+F7 - this brings up a view menu.
Hold down cntrl and keep hitting f7 to go to the view you want to display, let go. If the view was hidden it is now shown as a fast view.

Adjust Eclipse Methods Menu Size

I don't know how I accidentally did this but the methods menu in my Eclipse window is too big and I want to resize it back. The menu I'm talking about is the one that pops up when you type a "." after an object and it brings down a list of methods you can use on it. I must have accidentally dragged the menu to large and now I can't drag it back. Does anyone know the name of this menu? Or better yet, how I can resize it back to normal?
This menu can be re-sized like a classic window by putting the mouse pointer at the bottom right of the menu and dragging the mouse to expand or reduce it.