public class MenuImpl extends MenuElementImpl implements MMenu
The following features are implemented:
| Modifier and Type | Field and Description |
|---|---|
protected <any> |
children
The cached value of the '
Children' containment reference list |
protected boolean |
enabled
The cached value of the '
Enabled' attribute |
protected static boolean |
ENABLED_EDEFAULT
The default value of the '
Enabled' attribute |
protected MMenuElement |
selectedElement
The cached value of the '
Selected Element' reference |
ICON_URI_EDEFAULT, iconURI, label, LABEL_EDEFAULT, LOCALIZED_LABEL_EDEFAULT, LOCALIZED_TOOLTIP_EDEFAULT, mnemonics, MNEMONICS_EDEFAULT, tooltip, TOOLTIP_EDEFAULTACCESSIBILITY_PHRASE_EDEFAULT, accessibilityPhrase, CONTAINER_DATA_EDEFAULT, containerData, curSharedRef, LOCALIZED_ACCESSIBILITY_PHRASE_EDEFAULT, ON_TOP_EDEFAULT, onTop, renderer, RENDERER_EDEFAULT, TO_BE_RENDERED_EDEFAULT, toBeRendered, visible, VISIBLE_EDEFAULT, visibleWhen, widget, WIDGET_EDEFAULTCONTRIBUTOR_URI_EDEFAULT, contributorURI, ELEMENT_ID_EDEFAULT, elementId, persistedState, tags, transientData| Modifier | Constructor and Description |
|---|---|
protected |
MenuImpl() |
| Modifier and Type | Method and Description |
|---|---|
MMenuElement |
basicGetSelectedElement() |
int |
eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass) |
int |
eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
java.util.List<MMenuElement> |
getChildren() |
MMenuElement |
getSelectedElement() |
boolean |
isEnabled() |
void |
setEnabled(boolean newEnabled) |
void |
setSelectedElement(MMenuElement newSelectedElement) |
java.lang.String |
toString() |
eDerivedOperationID, eInvoke, getIconURI, getLabel, getLocalizedLabel, getLocalizedMnemonics, getLocalizedTooltip, getMnemonics, getTooltip, setIconURI, setLabel, setMnemonics, setTooltip, updateLocalizationbasicGetCurSharedRef, basicSetParent, basicSetVisibleWhen, eBasicRemoveFromContainerFeature, getAccessibilityPhrase, getContainerData, getCurSharedRef, getLocalizedAccessibilityPhrase, getParent, getRenderer, getVisibleWhen, getWidget, isOnTop, isToBeRendered, isVisible, setAccessibilityPhrase, setContainerData, setCurSharedRef, setOnTop, setParent, setRenderer, setToBeRendered, setVisible, setVisibleWhen, setWidgetgetContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLocalizedMnemonics, getMnemonics, setMnemonicsgetIconURI, getLabel, getLocalizedLabel, getLocalizedTooltip, getTooltip, setIconURI, setLabel, setTooltipgetAccessibilityPhrase, getContainerData, getCurSharedRef, getLocalizedAccessibilityPhrase, getParent, getRenderer, getVisibleWhen, getWidget, isOnTop, isToBeRendered, isVisible, setAccessibilityPhrase, setContainerData, setCurSharedRef, setOnTop, setParent, setRenderer, setToBeRendered, setVisible, setVisibleWhen, setWidgetgetContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementIdupdateLocalizationprotected <any> children
Children' containment reference list.
getChildren()protected MMenuElement selectedElement
Selected Element' reference.
getSelectedElement()protected static final boolean ENABLED_EDEFAULT
Enabled' attribute.
isEnabled(),
Constant Field Valuesprotected boolean enabled
Enabled' attribute.
isEnabled()protected EClass eStaticClass()
eStaticClass in class MenuElementImplpublic java.util.List<MMenuElement> getChildren()
getChildren in interface MElementContainer<MMenuElement>MUIElement.getParent()public MMenuElement getSelectedElement()
getSelectedElement in interface MElementContainer<MMenuElement>MElementContainer.setSelectedElement(MUIElement)public MMenuElement basicGetSelectedElement()
public void setSelectedElement(MMenuElement newSelectedElement)
setSelectedElement in interface MElementContainer<MMenuElement>newSelectedElement - the new value of the 'Selected Element' reference.MElementContainer.getSelectedElement()public boolean isEnabled()
isEnabled in interface MMenuMMenu.setEnabled(boolean)public void setEnabled(boolean newEnabled)
setEnabled in interface MMenunewEnabled - the new value of the 'Enabled' attribute.MMenu.isEnabled()public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseAdd in class UIElementImplpublic NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class UIElementImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in class MenuElementImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in class MenuElementImplpublic void eUnset(int featureID)
eUnset in class MenuElementImplpublic boolean eIsSet(int featureID)
eIsSet in class MenuElementImplpublic int eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
eBaseStructuralFeatureID in class MenuElementImplpublic int eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass)
eDerivedStructuralFeatureID in class MenuElementImplpublic java.lang.String toString()
toString in class MenuElementImpl