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.Dynamic
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
Nested 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.EPropertiesHolderImpl
Nested 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.EScannableAdapterList
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
-
Field Summary
Modifier and TypeFieldDescriptionprotected MCategory
The cached value of the 'Category
' reference.protected static final String
The default value of the 'Command Icon URI
' attribute.protected static final String
The default value of the 'Command Name
' attribute.protected String
The cached value of the 'Command Icon URI
' attribute.protected String
The cached value of the 'Command Name
' attribute.protected String
The cached value of the 'Description
' attribute.protected static final String
The default value of the 'Description
' attribute.protected static final String
The default value of the 'Localized Command Name
' attribute.protected static final String
The 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, transientData
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
eDerivedOperationID
(int baseOperationID, Class<?> baseClass) eGet
(int featureID, boolean resolve, boolean coreType) org.eclipse.emf.common.notify.NotificationChain
eInverseRemove
(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) boolean
eIsSet
(int featureID) void
protected org.eclipse.emf.ecore.EClass
void
eUnset
(int featureID) void
setCategory
(MCategory newCategory) void
setCommandIconURI
(String newCommandIconURI) void
setCommandName
(String newCommandName) void
setDescription
(String newDescription) toString()
void
Methods inherited from class org.eclipse.e4.ui.model.application.impl.ApplicationElementImpl
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementId
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
Methods 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, eSettings
Methods 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, eVirtualValues
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
Methods inherited from interface org.eclipse.e4.ui.model.application.MApplicationElement
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementId
Methods 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:
eStaticClass
in classApplicationElementImpl
-
getCommandName
- Specified by:
getCommandName
in interfaceMCommand
- Returns:
- the value of the 'Command Name' attribute.
- See Also:
-
setCommandName
- Specified by:
setCommandName
in interfaceMCommand
- Parameters:
newCommandName
- the new value of the 'Command Name' attribute.- See Also:
-
getDescription
- Specified by:
getDescription
in interfaceMCommand
- Returns:
- the value of the 'Description' attribute.
- See Also:
-
setDescription
- Specified by:
setDescription
in interfaceMCommand
- Parameters:
newDescription
- the new value of the 'Description' attribute.- See Also:
-
getParameters
- Specified by:
getParameters
in interfaceMCommand
- Returns:
- the value of the 'Parameters' containment reference list.
-
getCategory
- Specified by:
getCategory
in interfaceMCommand
- Returns:
- the value of the 'Category' reference.
- See Also:
-
basicGetCategory
-
setCategory
- Specified by:
setCategory
in interfaceMCommand
- Parameters:
newCategory
- the new value of the 'Category' reference.- See Also:
-
getCommandIconURI
- Specified by:
getCommandIconURI
in interfaceMCommand
- Returns:
- the value of the 'Command Icon URI' attribute.
- Since:
- 2.4
- See Also:
-
setCommandIconURI
- Specified by:
setCommandIconURI
in interfaceMCommand
- Parameters:
newCommandIconURI
- the new value of the 'Command Icon URI' attribute.- Since:
- 2.4
- See Also:
-
getLocalizedCommandName
- Specified by:
getLocalizedCommandName
in interfaceMCommand
- Returns:
- the value of the 'Localized Command Name' attribute.
-
getLocalizedDescription
- Specified by:
getLocalizedDescription
in interfaceMCommand
- Returns:
- the value of the 'Localized Description' attribute.
-
updateLocalization
public void updateLocalization()- Specified by:
updateLocalization
in 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:
eInverseRemove
in classApplicationElementImpl
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classApplicationElementImpl
-
eSet
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classApplicationElementImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classApplicationElementImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classApplicationElementImpl
-
eDerivedOperationID
- Specified by:
eDerivedOperationID
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eDerivedOperationID
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eInvoke
public Object eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments) throws InvocationTargetException - Specified by:
eInvoke
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eInvoke
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
- Throws:
InvocationTargetException
-
toString
- Overrides:
toString
in classApplicationElementImpl
-