Categories
vogella tutorial rss feedHome
Recommended
Twitter
-
Recent Posts
Monthly Archives: August 2008
Eclipse RCP: open a view via standard command org.eclipse.ui.handlers.ShowViewHandler
Eclipse provides the standard command org.eclipse.ui.views.showView to open an arbitrary view. The default handler is org.eclipse.ui.handlers.ShowViewHandler. This handler is a nice example how you could add your own command with arguments. It takes two parameters. The first has the ID … Continue reading
Posted in Eclipse
Comments Off
Auto completion / type ahead for Eclipse Data Fields
If you want to have auto-completion of your fields, want to use customer decorators or want to have input help have a look in the Eclipse Help Platform Plug-in Developer Guide > Programmer’s Guide > JFace UI framework -> Field … Continue reading
Comments Off
Eclipse RCP / Plug-in – Reading an icon out of the icon directory of the plug-in
If you want to access an icon from your /icons directory in your code you can access it via the following method: AbstractUIPlugin.imageDescriptorFromPlugin(“YourPluginName”,”$nl$/icons/your.gif”).createImage(); If recommend to define it as a static final variable to avoid that the icon is created … Continue reading
Comments Off
Eclipse Shortcut for new elements
Alt+Shift+N +P – Create a new package (based on the selection in the package explorer) Alt+Shift+N +C- Create a new class (based on the selection in the package explorer)
Comments Off