Jeroen Lankheet wrote:
Hi,
I'm still struggling with some lack of knowledge.
I need to run my plugins (I took the Logic Diagram GEF example) under an
RCP application. But I am missing a lot of menu's views etc.
How should I enable these 'standard' menu items. Or should I explicitly
add all items 'manually'?
Is there a resource spy for plugins? One that determines the used
resources of the IDE?
JL
For spying things like this I always use Plug-in Registry view.
For example, if you'd like to find who is contributing "Switch
Workspace" option in File menu,
type "Switch" in Plug-in Registry viewer's filter box and see the results.
Somewhere there, you should see this:
So now you know, that org.eclipse.ui.ide is contributing this command.
You can disable filter to see other properties of this contribution, like
id = org.eclipse.ui.file.openWorkspace, description and categoryId.
Actually most of standard menu options comes from org.eclipse.ui.ide and
are born to life org.eclipse.ui.internal.ide.WorkbenchActionBuildre.