public abstract class ECPCommand
extends org.eclipse.emf.edit.command.ChangeCommand
Constructor and Description |
---|
ECPCommand(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.edit.domain.EditingDomain domain)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute() |
protected abstract void |
doRun()
The actual action that is being executed.
|
void |
run(boolean ignoreExceptions)
Executes the command.
|
createChangeRecorder, dispose, disposeChangeRecorder, execute, getChangeDescription, getChangeRecorder, prepare, redo, setChangeDescription, undo
public ECPCommand(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.edit.domain.EditingDomain domain)
eObject
- the model element whose changes one is interested indomain
- the EditingDomain
to useprotected final void doExecute()
doExecute
in class org.eclipse.emf.edit.command.ChangeCommand
org.eclipse.emf.edit.ChangeCommand#doExecute()
protected abstract void doRun()
public void run(boolean ignoreExceptions)
ignoreExceptions
- true if any thrown exception in the execution of the command should be ignored.Copyright © 2016. All rights reserved.