Interface MToolItem
-
- All Superinterfaces:
MApplicationElement
,MItem
,MLocalizable
,MToolBarElement
,MUIElement
,MUILabel
- All Known Subinterfaces:
MDirectToolItem
,MHandledToolItem
public interface MToolItem extends MItem, MToolBarElement
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MMenu
getMenu()
Returns the value of the 'Menu' containment reference.void
setMenu(MMenu value)
Sets the value of the 'Menu
' containment reference.-
Methods inherited from interface org.eclipse.e4.ui.model.application.MApplicationElement
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementId
-
Methods inherited from interface org.eclipse.e4.ui.model.application.ui.menu.MItem
getType, isEnabled, isSelected, setEnabled, setSelected, setType
-
Methods inherited from interface org.eclipse.e4.ui.model.application.ui.MLocalizable
updateLocalization
-
Methods 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
-
Methods inherited from interface org.eclipse.e4.ui.model.application.ui.MUILabel
getIconURI, getLabel, getLocalizedLabel, getLocalizedTooltip, getTooltip, setIconURI, setLabel, setTooltip
-
-
-
-
Method Detail
-
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:
setMenu(MMenu)
-
-