public class CommandImpl extends ApplicationElementImpl implements MCommand
The following features are implemented:
| Modifier and Type | Field and Description |
|---|---|
protected MCategory |
category
The cached value of the '
Category' reference |
protected static java.lang.String |
COMMAND_NAME_EDEFAULT
The default value of the '
Command Name' attribute |
protected java.lang.String |
commandName
The cached value of the '
Command Name' attribute |
protected java.lang.String |
description
The cached value of the '
Description' attribute |
protected static java.lang.String |
DESCRIPTION_EDEFAULT
The default value of the '
Description' attribute |
protected static java.lang.String |
LOCALIZED_COMMAND_NAME_EDEFAULT
The default value of the '
Localized Command Name' attribute |
protected static java.lang.String |
LOCALIZED_DESCRIPTION_EDEFAULT
The default value of the '
Localized Description' attribute |
protected <any> |
parameters
The cached value of the '
Parameters' containment reference list |
CONTRIBUTOR_URI_EDEFAULT, contributorURI, ELEMENT_ID_EDEFAULT, elementId, persistedState, tags, transientData| Modifier | Constructor and Description |
|---|---|
protected |
CommandImpl() |
| Modifier and Type | Method and Description |
|---|---|
MCategory |
basicGetCategory() |
int |
eDerivedOperationID(int baseOperationID,
java.lang.Class<?> baseClass) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
java.lang.Object |
eInvoke(int operationID,
<any> arguments) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
MCategory |
getCategory() |
java.lang.String |
getCommandName() |
java.lang.String |
getDescription() |
java.lang.String |
getLocalizedCommandName() |
java.lang.String |
getLocalizedDescription() |
java.util.List<MCommandParameter> |
getParameters() |
void |
setCategory(MCategory newCategory) |
void |
setCommandName(java.lang.String newCommandName) |
void |
setDescription(java.lang.String newDescription) |
java.lang.String |
toString() |
void |
updateLocalization() |
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementIdprotected static final java.lang.String COMMAND_NAME_EDEFAULT
Command Name' attribute.
getCommandName()protected java.lang.String commandName
Command Name' attribute.
getCommandName()protected static final java.lang.String DESCRIPTION_EDEFAULT
Description' attribute.
getDescription()protected java.lang.String description
Description' attribute.
getDescription()protected <any> parameters
Parameters' containment reference list.
getParameters()protected MCategory category
Category' reference.
getCategory()protected static final java.lang.String LOCALIZED_COMMAND_NAME_EDEFAULT
Localized Command Name' attribute.
getLocalizedCommandName()protected static final java.lang.String LOCALIZED_DESCRIPTION_EDEFAULT
Localized Description' attribute.
getLocalizedDescription()protected EClass eStaticClass()
eStaticClass in class ApplicationElementImplpublic java.lang.String getCommandName()
getCommandName in interface MCommandMCommand.setCommandName(String)public void setCommandName(java.lang.String newCommandName)
setCommandName in interface MCommandnewCommandName - the new value of the 'Command Name' attribute.MCommand.getCommandName()public java.lang.String getDescription()
getDescription in interface MCommandMCommand.setDescription(String)public void setDescription(java.lang.String newDescription)
setDescription in interface MCommandnewDescription - the new value of the 'Description' attribute.MCommand.getDescription()public java.util.List<MCommandParameter> getParameters()
getParameters in interface MCommandpublic MCategory getCategory()
getCategory in interface MCommandMCommand.setCategory(MCategory)public MCategory basicGetCategory()
public void setCategory(MCategory newCategory)
setCategory in interface MCommandnewCategory - the new value of the 'Category' reference.MCommand.getCategory()public java.lang.String getLocalizedCommandName()
getLocalizedCommandName in interface MCommandpublic java.lang.String getLocalizedDescription()
getLocalizedDescription in interface MCommandpublic void updateLocalization()
updateLocalization in interface MLocalizablepublic NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class ApplicationElementImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in class ApplicationElementImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in class ApplicationElementImplpublic void eUnset(int featureID)
eUnset in class ApplicationElementImplpublic boolean eIsSet(int featureID)
eIsSet in class ApplicationElementImplpublic int eDerivedOperationID(int baseOperationID,
java.lang.Class<?> baseClass)
public java.lang.Object eInvoke(int operationID,
<any> arguments)
throws java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetExceptionpublic java.lang.String toString()
toString in class ApplicationElementImpl