Community
Participate
Working Groups
The help text for the org.eclipse.ui.actionSets extension point describes that enablement and visibility are interchangable. "... An action's enablement and/or visibility can be defined using the elements enablement and visibility respectively. ... " But when I tried to use visibility in place of enablement, first of all PDE gave me a warning, and then when I ran it it didn't work, the element remained visable. Here is a fragment from my plugin.xml: <action label="%Action.snapshot.memory" helpContextId="memory-action" tooltip="%Tip.snapshot.memory" class="org.eclipse.perfmsr.ui.actions.SnapshotMemory" menubarPath="org.eclipse.perfmsr.menu/snapshots" id="org.eclipse.perfmsr.ui.SnapshotMemory"> <visibility> <not> <systemProperty name='os.name' value='Linux'/> </not> </visibility> </action>
*** This bug has been marked as a duplicate of 110209 ***
I accept it is a duplicate.