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 org.eclipse.e4.ui.model.application.MApplicationElement
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementIdMethods inherited from interface org.eclipse.e4.ui.model.application.ui.MElementContainer
getChildren, getSelectedElement, setSelectedElementMethods inherited from interface org.eclipse.e4.ui.model.application.ui.MLocalizable
updateLocalizationMethods inherited from interface org.eclipse.e4.ui.model.application.ui.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
Sets the value of the 'Parent Id' attribute.- Parameters:
value- the new value of the 'Parent Id' attribute.- See Also:
-