|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractOverrideableCommand
org.eclipse.egf.model.edit.command.plugin.PluginChangeWrapperCommand
public abstract class PluginChangeWrapperCommand
Constructor Summary | |
---|---|
protected |
PluginChangeWrapperCommand(EditingDomain domain_p,
EObject modelElement_p,
EStructuralFeature feature_p,
Object value_p)
Constructor. |
Method Summary | |
---|---|
boolean |
doCanUndo()
|
void |
doExecute()
|
void |
doRedo()
|
void |
doUndo()
|
protected IPluginChangesCommandRunner |
getCommandRunner()
Get the plug-in changes command runner. |
protected abstract List<IPluginChangesCommand> |
getExecutablePluginChangeCommand()
Returns the extension changes command used in the execute call. |
protected EStructuralFeature |
getFeature()
Get the feature of the model element object upon the command will act. |
protected EgfPdeActivator |
getMDSoFaPde()
Return the MDSoFA PDE activator. |
protected NamedModelElementWithId |
getModelElement()
Get the model element object upon which this command will act. |
protected String |
getPluginId()
Get Id of the plug-in that hosts the factory component where the model element object is contained by. |
protected List<IPluginChangesCommand> |
getRedoablePluginChangeCommand()
Returns the extension changes command used in the redo call. |
protected abstract List<IPluginChangesCommand> |
getUndoablePluginChangeCommand()
Returns the extension changes command used in the undo call. |
protected Object |
getValue()
Get the modified value. |
protected boolean |
prepare()
|
void |
setPluginId(String pluginId_p)
Set given plug-in id. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected PluginChangeWrapperCommand(EditingDomain domain_p, EObject modelElement_p, EStructuralFeature feature_p, Object value_p)
domain_p
- Method Detail |
---|
public final void doExecute()
org.eclipse.emf.edit.command.AbstractOverrideableCommand#doExecute()
protected abstract List<IPluginChangesCommand> getExecutablePluginChangeCommand()
public boolean doCanUndo()
org.eclipse.emf.edit.command.AbstractOverrideableCommand#doCanUndo()
public final void doRedo()
org.eclipse.emf.edit.command.AbstractOverrideableCommand#doRedo()
protected List<IPluginChangesCommand> getRedoablePluginChangeCommand()
getExecutablePluginChangeCommand()
public final void doUndo()
org.eclipse.emf.edit.command.AbstractOverrideableCommand#doUndo()
protected abstract List<IPluginChangesCommand> getUndoablePluginChangeCommand()
protected IPluginChangesCommandRunner getCommandRunner()
protected NamedModelElementWithId getModelElement()
protected EStructuralFeature getFeature()
protected Object getValue()
public void setPluginId(String pluginId_p)
pluginId_p
- protected String getPluginId()
setPluginId(String)
protected EgfPdeActivator getMDSoFaPde()
protected boolean prepare()
org.eclipse.emf.common.command.AbstractCommand#prepare()
|
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.