I would like to have a shortcut key implementation for cyclic navigation of the views like in Eclipse. In Eclipse , we can navigate to all the opened views in cyclic way using Ctrl+F7 key binding. How can I implement the same in my eclipse RCP application?
Use the command:
org.eclipse.ui.window.nextView
Related
I have been trying to scroll half-page down/up within Eclipse (in Windows). Checked key-bindings but found nothing there. Is this possible in Eclipse with a short cut key? If it is not possible then can I integrate this with a plugin?
Out of the box, there is no defined function that will scroll up/down a half page. I'm not aware of a plugin that provides this. One plugin that provides several functions related to navigation (and many others) is Emacs+, but that also does not provide any "half-page" navigation options.
Self answering after a long time.
This is possible with Vrapper (Vim-like) plugin for Eclipse. It is basically bringing Vim environment in Eclipse but without breaking any existing Eclipse functionality.
Same shortcuts in Vim is valid also for this plugin.
CTRL+D is half-page down.
CTRL+U is half-page up.
Before using Vrapper keyboard shortcuts, make sure you unbind those keys from Eclipse.
I have built a RCP application with Intropage in HTML. I also have other perspectives in the application. How do call (or load) a perspective from a button click in the HTML intro page ?
You can find views like
PlatformUI.getWorkbench().getViewRegistry().find(id)
or perspectives like
PlatformUI.getWorkbench().getPerspectiveRegistry().getPerspectives()
I just find out that windowbuilder comes with the original Eclipse package. There are project palette, application window, japplet, jdialog, jdialog, jframe, jinternalframe, jpanel, swing automatic databinding. Which one should I start with and how to learn more?
For Eclipse IDE, Window Builder is one more Editor for handling java source files.
So you should be able to open all java classes with it. Right click on any java class and select open with menu option. You should see "WindowBuilder Editor" as an option there.
Note that this editor may not show any content in Design or Bindings tab for any non-GUI classes (e.g. interfaces).
My eclipse rcp application depends on a set of eclipse plugins, after I add them as dependency, the "Run" and "Search" menu appear in the main menu bar.
Which plugin contains these two menu contribution ?
How Can I hide the menu, while I still need the plugin which contribute the menu ?
You could try to use activities and contexts, as described in the Eclipse Help
Which plugin contains these two menu contribution ?
You can use Shift-Alt-F2 and then click the menu (inside your IDE, not your RCP app) to find out the menu id and thereby get a good idea of which plugin contributes it.
A simple question :
I am using Eclipse 3.7 Indigo and have updated the GWT (2.4) Eclipse plugin.
Now I can't find the GWT compile button in the main toolbar.
Previously there was this symbol in the main toolbar ,
but after the update, this button has disappeared and the compile action has been moved as a submenu entry into the "Google Services and Development Tools", represented in the main toolbar by this symbol .
Is there a way to add the GWT compile button to the main toolbar or to specify a shortcut?
It's really exhausting to click on the "Google Services and Development Tools" to reach the compile submenu entry :-)
Highlight your project
right-click on it
go down in the dropdown menu to "Google"
The submenu of "Google" will have the "GWT Compile" button
In Eclipse Juno, GWT Compile option is located on the toolbar underneath the Google logo as seen here:
There is no key binding in Eclipse Juno for GWT Compile. That seems to be something the plugin could provide, but does not.
You can add a button for any command to the toolbar by go to Window -> Customize Perspective and exploring the dialog there. You may need to enable things using the Command and Menu visibility and then in the first tab you can add the buttons to the toolbar.
I don't know of a way to add the toolbar item back, but you can run the compiler via keyboard shortcut:
Debug Compile GWT Application, Alt+Shift+D, C
Run Compile GWT Application, Alt+Shift+X, C
You can also customize the keyboard shortcut if you wish, by going to Window->Preferences->Keys.
If you want to compile a GWT application, you should install the Google plugin. Here are the links.