Java Reference
In-Depth Information
<!ELEMENT popupTextContributionCriteria EMPTY>
<!ATTLIST popupTextContributionCriteria
text CDATA #IMPLIED
policyClass CDATA #IMPLIED>
This element defines the text selection contribution criteria for a workbench
part's pop-up menu.
text —The text in the selection. This is an optional field.
policyClass —The fully qualified name of a contribution policy class (that
usually resides in a different plug-in/fragment that is assumed to be loaded), to
determine whether this contribution should be considered. The class must imple-
ment the IPopupMenuContributionPolicy interface.
<!ELEMENT popupMarkContributionCriteria (method*)>
<!ATTLIST popupMarkContributionCriteria
documentClass CDATA #IMPLIED
policyClass CDATA #IMPLIED>
This element defines a mark selection contribution criteria for a workbench
part's pop-up menu.
documentClass —The fully qualified name of a class/interface that is
assignable or adaptable from the document of the mark selection. The name
could be followed (between parentheses) by the ID of a plug-in whose classloader
can load that class. This is the final syntax:
className <(plugin id)> ?
policyClass —The fully qualified name of a contribution policy class (that
usually resides in a different plug-in/fragment that is assumed to be loaded), to
determine whether this contributon should be considered. The class must imple-
ment the IPopupMenuContributionPolicy interface.
<!ELEMENT popupActionGroup EMPTY>
<!ATTLIST popupActionGroup
id CDATA #REQUIRED
path CDATA #IMPLIED>
This element defines an action group to be contributed to a workbench part's
pop-up menu.
id —The ID of the pop-up action group contribution. The ID is unique
within a provider.
path —The contribution path of this action group within the pop-up. The
path is a / -delimited String in the following format:
/<submenu_id/>*<group_id|contribution_id>
Search WWH ::




Custom Search