Class MenuElementImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.e4.ui.model.application.impl.ApplicationElementImpl
org.eclipse.e4.ui.model.application.ui.impl.UIElementImpl
org.eclipse.e4.ui.model.application.ui.menu.impl.MenuElementImpl
- All Implemented Interfaces:
MApplicationElement,MMenuElement,MLocalizable,MUIElement,MUILabel,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder,org.eclipse.emf.ecore.InternalEObject
- Direct Known Subclasses:
MenuImpl,MenuSeparatorImpl
An implementation of the model object 'Element'.
The following features are implemented:
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.DynamicNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.ContainerNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplNested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringThe default value of the 'Icon URI' attribute.protected StringThe cached value of the 'Icon URI' attribute.protected StringThe cached value of the 'Label' attribute.protected static final StringThe default value of the 'Label' attribute.protected static final StringThe default value of the 'Localized Label' attribute.protected static final StringThe default value of the 'Localized Tooltip' attribute.protected StringThe cached value of the 'Mnemonics' attribute.protected static final StringThe default value of the 'Mnemonics' attribute.protected StringThe cached value of the 'Tooltip' attribute.protected static final StringThe default value of the 'Tooltip' attribute.Fields inherited from class org.eclipse.e4.ui.model.application.ui.impl.UIElementImpl
ACCESSIBILITY_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_EDEFAULTFields inherited from class org.eclipse.e4.ui.model.application.impl.ApplicationElementImpl
CONTRIBUTOR_URI_EDEFAULT, contributorURI, ELEMENT_ID_EDEFAULT, elementId, persistedState, tags, transientDataFields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainerFields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETFields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NILFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninteBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) inteDerivedOperationID(int baseOperationID, Class<?> baseClass) inteDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) eGet(int featureID, boolean resolve, boolean coreType) eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments) booleaneIsSet(int featureID) voidprotected org.eclipse.emf.ecore.EClassvoideUnset(int featureID) getLabel()This class does not support this feature.voidsetIconURI(String newIconURI) voidvoidsetMnemonics(String newMnemonics) voidsetTooltip(String newTooltip) toString()voidMethods inherited from class org.eclipse.e4.ui.model.application.ui.impl.UIElementImpl
basicGetCurSharedRef, basicSetParent, basicSetVisibleWhen, eBasicRemoveFromContainerFeature, eInverseAdd, eInverseRemove, getAccessibilityPhrase, getContainerData, getCurSharedRef, getLocalizedAccessibilityPhrase, getParent, getRenderer, getVisibleWhen, getWidget, isOnTop, isToBeRendered, isVisible, setAccessibilityPhrase, setContainerData, setCurSharedRef, setOnTop, setParent, setRenderer, setToBeRendered, setVisible, setVisibleWhen, setWidgetMethods inherited from class org.eclipse.e4.ui.model.application.impl.ApplicationElementImpl
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementIdMethods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainerMethods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettingsMethods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValuesMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.e4.ui.model.application.MApplicationElement
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementIdMethods 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, setWidgetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eNotify
-
Field Details
-
LABEL_EDEFAULT
The default value of the 'Label' attribute.- Since:
- 1.0
- See Also:
-
label
The cached value of the 'Label' attribute.- Since:
- 1.0
- See Also:
-
ICON_URI_EDEFAULT
The default value of the 'Icon URI' attribute.- Since:
- 1.0
- See Also:
-
iconURI
The cached value of the 'Icon URI' attribute.- Since:
- 1.0
- See Also:
-
TOOLTIP_EDEFAULT
The default value of the 'Tooltip' attribute.- Since:
- 1.0
- See Also:
-
tooltip
The cached value of the 'Tooltip' attribute.- Since:
- 1.0
- See Also:
-
LOCALIZED_LABEL_EDEFAULT
The default value of the 'Localized Label' attribute.- See Also:
-
LOCALIZED_TOOLTIP_EDEFAULT
The default value of the 'Localized Tooltip' attribute.- See Also:
-
MNEMONICS_EDEFAULT
The default value of the 'Mnemonics' attribute.- See Also:
-
mnemonics
The cached value of the 'Mnemonics' attribute.- See Also:
-
-
Constructor Details
-
MenuElementImpl
protected MenuElementImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClassin classUIElementImpl
-
getLabel
-
setLabel
-
getIconURI
- Specified by:
getIconURIin interfaceMUILabel- Returns:
- the value of the 'Icon URI' attribute.
- Since:
- 1.0
- See Also:
-
setIconURI
- Specified by:
setIconURIin interfaceMUILabel- Parameters:
newIconURI- the new value of the 'Icon URI' attribute.- Since:
- 1.0
- See Also:
-
getTooltip
- Specified by:
getTooltipin interfaceMUILabel- Returns:
- the value of the 'Tooltip' attribute.
- Since:
- 1.0
- See Also:
-
setTooltip
- Specified by:
setTooltipin interfaceMUILabel- Parameters:
newTooltip- the new value of the 'Tooltip' attribute.- Since:
- 1.0
- See Also:
-
getLocalizedLabel
- Specified by:
getLocalizedLabelin interfaceMUILabel- Returns:
- the value of the 'Localized Label' attribute.
-
getLocalizedTooltip
- Specified by:
getLocalizedTooltipin interfaceMUILabel- Returns:
- the value of the 'Localized Tooltip' attribute.
-
getMnemonics
- Specified by:
getMnemonicsin interfaceMMenuElement- Returns:
- the value of the 'Mnemonics' attribute.
- See Also:
-
setMnemonics
- Specified by:
setMnemonicsin interfaceMMenuElement- Parameters:
newMnemonics- the new value of the 'Mnemonics' attribute.- See Also:
-
getLocalizedMnemonics
This class does not support this feature.- Specified by:
getLocalizedMnemonicsin interfaceMMenuElement
-
updateLocalization
public void updateLocalization()- Specified by:
updateLocalizationin interfaceMLocalizable- Overrides:
updateLocalizationin classUIElementImpl- Since:
- 1.1
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classUIElementImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classUIElementImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classUIElementImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classUIElementImpl
-
eBaseStructuralFeatureID
- Specified by:
eBaseStructuralFeatureIDin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eBaseStructuralFeatureIDin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eDerivedStructuralFeatureID
- Specified by:
eDerivedStructuralFeatureIDin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eDerivedStructuralFeatureIDin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eDerivedOperationID
- Specified by:
eDerivedOperationIDin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eDerivedOperationIDin classUIElementImpl
-
eInvoke
public Object eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments) throws InvocationTargetException - Specified by:
eInvokein interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eInvokein classUIElementImpl- Throws:
InvocationTargetException
-
toString
- Overrides:
toStringin classUIElementImpl
-