public interface MMenuContribution extends MElementContainer<MMenuElement>
Provisional for 4.3. This represents a potential extension to some menu already defined in the UI.
The following features are supported:
Modifier and Type | Method and Description |
---|---|
String |
getParentId()
Returns the value of the 'Parent Id' attribute
|
String |
getPositionInParent()
Returns the value of the 'Position In Parent' attribute.
|
void |
setParentId(String value)
Sets the value of the '
Parent Id ' attribute |
void |
setPositionInParent(String value)
Sets the value of the '
Position In Parent ' attribute |
getChildren, getSelectedElement, setSelectedElement
getAccessibilityPhrase, getContainerData, getCurSharedRef, getLocalizedAccessibilityPhrase, getParent, getRenderer, getVisibleWhen, getWidget, isOnTop, isToBeRendered, isVisible, setAccessibilityPhrase, setContainerData, setCurSharedRef, setOnTop, setParent, setRenderer, setToBeRendered, setVisible, setVisibleWhen, setWidget
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementId
updateLocalization
String getPositionInParent()
""
.
Indicates the position in the parent menu where this contribution should be placed.
setPositionInParent(String)
void setPositionInParent(String value)
Position In Parent
' attribute.
value
- the new value of the 'Position In Parent' attribute.getPositionInParent()
String getParentId()
The element id of the Menu to be contributed to.
setParentId(String)
void setParentId(String value)
Parent Id
' attribute.
value
- the new value of the 'Parent Id' attribute.getParentId()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.