Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Only show menu-contribution in selected view?
Only show menu-contribution in selected view? [message #543085] Mon, 28 June 2010 11:17
js Missing name is currently offline js Missing nameFriend
Messages: 73
Registered: July 2009
I am trying to create a menu contribution that only gets shown when the report designer view is active.

I have created a PDE project from the Hello, World Command and added the following to the plugin.xml file:

               label="Sample Menu"

            <visibleWhen checkEnabled="false">
              <with variable="activeWorkbenchWindow.activePerspective">
                   <equals value=""/>


It works fine when I launch the PDE project from the "overview" tab in the project.

But when I export the plugin and put it in the "dropins" folder at restart eclipse it does not work.

Any ideas on why it only works inside the eclipse PDE project and not when exported?
Previous Topic:Adding plugins to the classpath at runtime
Next Topic:Only show menu-contribution in selected view?
Goto Forum:

Current Time: Sat May 26 09:55:39 GMT 2018

Powered by FUDForum. Page generated in 0.01821 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top