Class CommandImpl
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.commands.impl.CommandImpl
- All Implemented Interfaces:
MCommand,MApplicationElement,MLocalizable,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder,org.eclipse.emf.ecore.InternalEObject
An implementation of the model object 'Command'.
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 MCategoryThe cached value of the 'Category' reference.protected static final StringThe default value of the 'Command Icon URI' attribute.protected static final StringThe default value of the 'Command Name' attribute.protected StringThe cached value of the 'Command Icon URI' attribute.protected StringThe cached value of the 'Command Name' attribute.protected StringThe cached value of the 'Description' attribute.protected static final StringThe default value of the 'Description' attribute.protected static final StringThe default value of the 'Localized Command Name' attribute.protected static final StringThe default value of the 'Localized Description' attribute.protected org.eclipse.emf.common.util.EList<MCommandParameter> The cached value of the 'Parameters' containment reference list.Fields 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 TypeMethodDescriptioninteDerivedOperationID(int baseOperationID, Class<?> baseClass) eGet(int featureID, boolean resolve, boolean coreType) org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments) booleaneIsSet(int featureID) voidprotected org.eclipse.emf.ecore.EClassvoideUnset(int featureID) voidsetCategory(MCategory newCategory) voidsetCommandIconURI(String newCommandIconURI) voidsetCommandName(String newCommandName) voidsetDescription(String newDescription) toString()voidMethods 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, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedStructuralFeatureID, 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, 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.emf.common.notify.Notifier
eNotify
-
Field Details
-
COMMAND_NAME_EDEFAULT
The default value of the 'Command Name' attribute.- See Also:
-
commandName
The cached value of the 'Command Name' attribute.- See Also:
-
DESCRIPTION_EDEFAULT
The default value of the 'Description' attribute.- See Also:
-
description
The cached value of the 'Description' attribute.- See Also:
-
parameters
The cached value of the 'Parameters' containment reference list.- See Also:
-
category
The cached value of the 'Category' reference.- See Also:
-
COMMAND_ICON_URI_EDEFAULT
The default value of the 'Command Icon URI' attribute.- Since:
- 2.4
- See Also:
-
commandIconURI
The cached value of the 'Command Icon URI' attribute.- Since:
- 2.4
- See Also:
-
LOCALIZED_COMMAND_NAME_EDEFAULT
The default value of the 'Localized Command Name' attribute.- See Also:
-
LOCALIZED_DESCRIPTION_EDEFAULT
The default value of the 'Localized Description' attribute.- See Also:
-
-
Constructor Details
-
CommandImpl
protected CommandImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClassin classApplicationElementImpl
-
getCommandName
- Specified by:
getCommandNamein interfaceMCommand- Returns:
- the value of the 'Command Name' attribute.
- See Also:
-
setCommandName
- Specified by:
setCommandNamein interfaceMCommand- Parameters:
newCommandName- the new value of the 'Command Name' attribute.- See Also:
-
getDescription
- Specified by:
getDescriptionin interfaceMCommand- Returns:
- the value of the 'Description' attribute.
- See Also:
-
setDescription
- Specified by:
setDescriptionin interfaceMCommand- Parameters:
newDescription- the new value of the 'Description' attribute.- See Also:
-
getParameters
- Specified by:
getParametersin interfaceMCommand- Returns:
- the value of the 'Parameters' containment reference list.
-
getCategory
- Specified by:
getCategoryin interfaceMCommand- Returns:
- the value of the 'Category' reference.
- See Also:
-
basicGetCategory
-
setCategory
- Specified by:
setCategoryin interfaceMCommand- Parameters:
newCategory- the new value of the 'Category' reference.- See Also:
-
getCommandIconURI
- Specified by:
getCommandIconURIin interfaceMCommand- Returns:
- the value of the 'Command Icon URI' attribute.
- Since:
- 2.4
- See Also:
-
setCommandIconURI
- Specified by:
setCommandIconURIin interfaceMCommand- Parameters:
newCommandIconURI- the new value of the 'Command Icon URI' attribute.- Since:
- 2.4
- See Also:
-
getLocalizedCommandName
- Specified by:
getLocalizedCommandNamein interfaceMCommand- Returns:
- the value of the 'Localized Command Name' attribute.
-
getLocalizedDescription
- Specified by:
getLocalizedDescriptionin interfaceMCommand- Returns:
- the value of the 'Localized Description' attribute.
-
updateLocalization
public void updateLocalization()- Specified by:
updateLocalizationin interfaceMLocalizable- Since:
- 1.1
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eInverseRemovein classApplicationElementImpl
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classApplicationElementImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classApplicationElementImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classApplicationElementImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classApplicationElementImpl
-
eDerivedOperationID
- Specified by:
eDerivedOperationIDin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eDerivedOperationIDin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
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 classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Throws:
InvocationTargetException
-
toString
- Overrides:
toStringin classApplicationElementImpl
-