Java Reference
In-Depth Information
<!ELEMENT partContribution (partMenu* , partMenuGroup* , partAction* ,
partCustom* , partActionGroup*)>
<!ATTLIST partContribution
id CDATA #IMPLIED
class CDATA #IMPLIED>
This element adds a group of menus, groups, actions, and/or toolbar items
to a workbench part. At least one of the attribute's ID or class must be specified
for this element.
id —An optional unique identifier of a registered workbench part that is the
target of this contribution.
class —An optional name of a fully qualified class or interface.
Contributions are made to all workbench parts that subclass or implement this
type.
<!ELEMENT popupContribution ((popupStructuredContributionCriteria |
popupTextContributionCriteria | popupMarkContributionCriteria)* ,
popupMenu* , popupMenuGroup* , popupAction* , popupCustom* ,
popupActionGroup* , popupPredefinedItem*)>
<!ATTLIST popupContribution
id CDATA #IMPLIED
class CDATA #IMPLIED>
This element adds a group of menus, groups, actions, and/or custom items to
a context menu. At least one of the attribute's ID or class must be specified for
this element.
Criteria for the visibility of this group of contributions can be specified by
any number of the same kind of criteria elements, from among these:
popupStructuredContributionCriteria
popupTextContributionCriteria
popupMarkContributionCriteria
id —An optional unique identifier of a registered context menu that is the
target of this contribution. For a given part, there can be one or more context
menus. This ID specifies the one the contributions are for.
class —An optional name of a fully qualified class or interface. Contri-
butions are made to all context menus that subclass or implement this type.
<!ELEMENT partMenu EMPTY>
<!ATTLIST partMenu
id CDATA #REQUIRED
Search WWH ::




Custom Search