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 java.lang.Object implements org.eclipse.emf.common.command.Command 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.emf.ecore.change.ChangeDescriptionchangeDescriptionprotected java.util.List<InMemoryEmfModel>modelsprotected WorkbenchPartRefresherrefresherprotected WizardInstancewizardInstance 
- 
Constructor Summary
Constructors Constructor Description ExecuteWizardInstanceCommand(WizardInstance wizardInstance, java.util.List<InMemoryEmfModel> models, WorkbenchPartRefresher refresher) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanExecute()booleancanUndo()org.eclipse.emf.common.command.Commandchain(org.eclipse.emf.common.command.Command command)voiddispose()voidexecute()java.util.Collection<?>getAffectedObjects()java.lang.StringgetDescription()java.lang.StringgetLabel()java.util.Collection<?>getResult()voidredo()voidundo() 
 - 
 
- 
- 
Field Detail
- 
wizardInstance
protected WizardInstance wizardInstance
 
- 
models
protected java.util.List<InMemoryEmfModel> models
 
- 
changeDescription
protected org.eclipse.emf.ecore.change.ChangeDescription changeDescription
 
- 
refresher
protected WorkbenchPartRefresher refresher
 
 - 
 
- 
Constructor Detail
- 
ExecuteWizardInstanceCommand
public ExecuteWizardInstanceCommand(WizardInstance wizardInstance, java.util.List<InMemoryEmfModel> models, WorkbenchPartRefresher refresher)
 
 - 
 
- 
Method Detail
- 
execute
public void execute()
- Specified by:
 executein interfaceorg.eclipse.emf.common.command.Command
 
- 
redo
public void redo()
- Specified by:
 redoin interfaceorg.eclipse.emf.common.command.Command
 
- 
canExecute
public boolean canExecute()
- Specified by:
 canExecutein interfaceorg.eclipse.emf.common.command.Command
 
- 
canUndo
public boolean canUndo()
- Specified by:
 canUndoin interfaceorg.eclipse.emf.common.command.Command
 
- 
chain
public org.eclipse.emf.common.command.Command chain(org.eclipse.emf.common.command.Command command)
- Specified by:
 chainin interfaceorg.eclipse.emf.common.command.Command
 
- 
dispose
public void dispose()
- Specified by:
 disposein interfaceorg.eclipse.emf.common.command.Command
 
- 
getAffectedObjects
public java.util.Collection<?> getAffectedObjects()
- Specified by:
 getAffectedObjectsin interfaceorg.eclipse.emf.common.command.Command
 
- 
getDescription
public java.lang.String getDescription()
- Specified by:
 getDescriptionin interfaceorg.eclipse.emf.common.command.Command
 
- 
getLabel
public java.lang.String getLabel()
- Specified by:
 getLabelin interfaceorg.eclipse.emf.common.command.Command
 
- 
getResult
public java.util.Collection<?> getResult()
- Specified by:
 getResultin interfaceorg.eclipse.emf.common.command.Command
 
- 
undo
public void undo()
- Specified by:
 undoin interfaceorg.eclipse.emf.common.command.Command
 
 - 
 
 -