Interface MMenuContribution
- All Superinterfaces:
MApplicationElement, MElementContainer<MMenuElement>, MLocalizable, MUIElement
- All Known Implementing Classes:
MenuContributionImpl
A representation of the model object 'Contribution'.
Provisional for 4.3. This represents a potential extension to some menu already defined in the UI.
- Since:
- 1.0
- Restriction:
- This interface is not intended to be implemented by clients.
The following features are supported:
- Restriction:
- This interface is not intended to be referenced by clients.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Parent Id' attribute.Returns the value of the 'Position In Parent' attribute.voidsetParentId(String value) Sets the value of the 'Parent Id' attribute.voidsetPositionInParent(String value) Sets the value of the 'Position In Parent' attribute.Methods inherited from interface MApplicationElement
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementIdMethods inherited from interface MElementContainer
getChildren, getSelectedElement, setSelectedElementMethods inherited from interface MLocalizable
updateLocalizationMethods inherited from interface MUIElement
getAccessibilityPhrase, getContainerData, getCurSharedRef, getLocalizedAccessibilityPhrase, getParent, getRenderer, getVisibleWhen, getWidget, isOnTop, isToBeRendered, isVisible, setAccessibilityPhrase, setContainerData, setCurSharedRef, setOnTop, setParent, setRenderer, setToBeRendered, setVisible, setVisibleWhen, setWidget
-
Method Details
-
getPositionInParent
String getPositionInParent()Returns the value of the 'Position In Parent' attribute. The default value is"".Indicates the position in the parent menu where this contribution should be placed.
- Returns:
- the value of the 'Position In Parent' attribute.
- See Also:
-
setPositionInParent
Sets the value of the 'Position In Parent' attribute.- Parameters:
value- the new value of the 'Position In Parent' attribute.- See Also:
-
getParentId
String getParentId()Returns the value of the 'Parent Id' attribute.The element id of the Menu to be contributed to.
- Returns:
- the value of the 'Parent Id' attribute.
- See Also:
-
setParentId
-