Interface MMenuElement
- All Superinterfaces:
MApplicationElement, MLocalizable, MUIElement, MUILabel
- All Known Subinterfaces:
MDirectMenuItem, MDynamicMenuContribution, MHandledMenuItem, MMenu, MMenuItem, MMenuSeparator, MPopupMenu
- All Known Implementing Classes:
DirectMenuItemImpl, DynamicMenuContributionImpl, HandledMenuItemImpl, MenuElementImpl, MenuImpl, MenuItemImpl, MenuSeparatorImpl, PopupMenuImpl
A representation of the model object 'Element'.
This is the bsae type for both menu items and Separators.
- Since:
- 1.0
- Restriction:
- This interface is not intended to be implemented by clients.
The following features are supported:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Mnemonics' attribute.voidsetMnemonics(String value) Sets the value of the 'Mnemonics' attribute.Methods inherited from interface MApplicationElement
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementIdMethods 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
-
getMnemonics
String getMnemonics()Returns the value of the 'Mnemonics' attribute.This is the character that is interpreted by the platform to allow for easier navigation through menus.
- Returns:
- the value of the 'Mnemonics' attribute.
- See Also:
-
setMnemonics
-
getLocalizedMnemonics
String getLocalizedMnemonics()This is a method that will return the translated mnemonic for this element.
-