Package org.eclipse.epsilon.ewl.emf
Class ExecuteWizardInstanceCommand
java.lang.Object
org.eclipse.epsilon.ewl.emf.ExecuteWizardInstanceCommand
- All Implemented Interfaces:
org.eclipse.emf.common.command.Command
public class ExecuteWizardInstanceCommand
extends Object
implements org.eclipse.emf.common.command.Command
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.eclipse.emf.ecore.change.ChangeDescription
protected List<InMemoryEmfModel>
protected WorkbenchPartRefresher
protected WizardInstance
-
Constructor Summary
ConstructorsConstructorDescriptionExecuteWizardInstanceCommand
(WizardInstance wizardInstance, List<InMemoryEmfModel> models, WorkbenchPartRefresher refresher) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
canUndo()
org.eclipse.emf.common.command.Command
chain
(org.eclipse.emf.common.command.Command command) void
dispose()
void
execute()
Collection<?>
getLabel()
Collection<?>
void
redo()
void
undo()
-
Field Details
-
wizardInstance
-
models
-
changeDescription
protected org.eclipse.emf.ecore.change.ChangeDescription changeDescription -
refresher
-
-
Constructor Details
-
ExecuteWizardInstanceCommand
public ExecuteWizardInstanceCommand(WizardInstance wizardInstance, List<InMemoryEmfModel> models, WorkbenchPartRefresher refresher)
-
-
Method Details
-
execute
public void execute()- Specified by:
execute
in interfaceorg.eclipse.emf.common.command.Command
-
redo
public void redo()- Specified by:
redo
in interfaceorg.eclipse.emf.common.command.Command
-
canExecute
public boolean canExecute()- Specified by:
canExecute
in interfaceorg.eclipse.emf.common.command.Command
-
canUndo
public boolean canUndo()- Specified by:
canUndo
in interfaceorg.eclipse.emf.common.command.Command
-
chain
public org.eclipse.emf.common.command.Command chain(org.eclipse.emf.common.command.Command command) - Specified by:
chain
in interfaceorg.eclipse.emf.common.command.Command
-
dispose
public void dispose()- Specified by:
dispose
in interfaceorg.eclipse.emf.common.command.Command
-
getAffectedObjects
- Specified by:
getAffectedObjects
in interfaceorg.eclipse.emf.common.command.Command
-
getDescription
- Specified by:
getDescription
in interfaceorg.eclipse.emf.common.command.Command
-
getLabel
- Specified by:
getLabel
in interfaceorg.eclipse.emf.common.command.Command
-
getResult
- Specified by:
getResult
in interfaceorg.eclipse.emf.common.command.Command
-
undo
public void undo()- Specified by:
undo
in interfaceorg.eclipse.emf.common.command.Command
-