Interface MToolItem
- All Superinterfaces:
MApplicationElement, MItem, MLocalizable, MToolBarElement, MUIElement, MUILabel
- All Known Subinterfaces:
MDirectToolItem, MHandledToolItem
- All Known Implementing Classes:
DirectToolItemImpl, HandledToolItemImpl, ToolItemImpl
A representation of the model object 'Tool Item'.
This is the base type for both Direct and Handled tool items.
- Since:
- 1.0
- Restriction:
- This interface is not intended to be implemented by clients.
The following features are supported:
-
Method Summary
Methods inherited from interface MApplicationElement
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementIdMethods inherited from interface MItem
getType, isEnabled, isSelected, setEnabled, setSelected, setTypeMethods 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, setWidgetMethods inherited from interface MUILabel
getIconURI, getLabel, getLocalizedLabel, getLocalizedTooltip, getTooltip, setIconURI, setLabel, setTooltip
-
Method Details
-
getMenu
MMenu getMenu()Returns the value of the 'Menu' containment reference.When set this represents the menu that appears when the 'drop down' arrow is clicked on this tool item.
- Returns:
- the value of the 'Menu' containment reference.
- See Also:
-