public interface MMenu extends MMenuElement, MElementContainer<MMenuElement>
This is a concrete class used to represent a menu in the UI Model.
The following features are supported:
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled()
Returns the value of the 'Enabled' attribute.
|
void |
setEnabled(boolean value)
Sets the value of the '
Enabled ' attribute |
getLocalizedMnemonics, getMnemonics, setMnemonics
getIconURI, getLabel, getLocalizedLabel, getLocalizedTooltip, getTooltip, setIconURI, setLabel, setTooltip
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
boolean isEnabled()
"true"
.
This field determines whether the associated menu is enabled or not.
setEnabled(boolean)
void setEnabled(boolean value)
Enabled
' attribute.
value
- the new value of the 'Enabled' attribute.isEnabled()
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.