Community
Participate
Working Groups
The documentation of the extensionpoint org.eclipse.ui.actionSets describes a visibility element which can be used to define visibility of actions. The schema doesn't define this element as child of the action element.
<visibility> is not a valid sub-element for <action>s in action sets. Where in the doc does it suggest this?
(In reply to comment #1) > <visibility> is not a valid sub-element for <action>s in action sets. > Where in the doc does it suggest this? > Eclipse 3.1M7: Open plugin.xml, select org.eclipse.ui.actionsets, Open extension point description. third paragraph: (...) An action's enablement and/or visibility can be defined using the elements enablement and visibility respectively. These two elements contain a boolean expression that is evaluated to determine the enablement and/or visibility. (...) The element <visibility> is defined just below <enablement>.
This is still a problem in 3.2 M6. The <visibility> element is described in the actionSets schema, but is not referenced. This is probably due to the shared include file.
*** This bug has been marked as a duplicate of 110209 ***