|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCompoundCommand
org.eclipse.egf.model.edit.command.AbstractModelElementCommand
public abstract class AbstractModelElementCommand
Base class to implement commands that modify a NamedModelElementWithId
object with forwarding model element changes to related plug-in file.
Constructor Summary | |
---|---|
protected |
AbstractModelElementCommand(EditingDomain editingDomain_p,
EObject modelElement_p,
EStructuralFeature feature_p,
Object value_p)
Constructor. |
Method Summary | |
---|---|
protected void |
doExecute()
Forward modifications on plug-in file. |
void |
execute()
|
protected abstract Command |
getCrudCommand(EditingDomain editingDomain_p,
EObject modelElement_p,
EStructuralFeature feature_p,
Object value_p)
Get the initial EMF CRUD command to execute : SetCommand, AddCommand, ... |
protected String |
getDetailedLabel()
Get the detailed label for this command. |
String |
getLabel()
|
void |
setPluginChangeCommand(PluginChangeWrapperCommand command_p)
Set the plug-in change command upon which the model element changes will be forwarded. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractModelElementCommand(EditingDomain editingDomain_p, EObject modelElement_p, EStructuralFeature feature_p, Object value_p)
editingDomain_p
- modelElement_p
- feature_p
- value_p
- Method Detail |
---|
protected abstract Command getCrudCommand(EditingDomain editingDomain_p, EObject modelElement_p, EStructuralFeature feature_p, Object value_p)
editingDomain_p
- modelElement_p
- feature_p
- value_p
-
public void setPluginChangeCommand(PluginChangeWrapperCommand command_p)
command_p
- public void execute()
org.eclipse.emf.common.command.CompoundCommand#execute()
protected void doExecute()
public String getLabel()
org.eclipse.emf.common.command.CompoundCommand#getLabel()
protected String getDetailedLabel()
|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) Thales Corporate Services S.A.S, 2009.
This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.