public class ExecuteWizardInstanceCommand extends Object implements org.eclipse.emf.common.command.Command
| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.emf.ecore.change.ChangeDescription |
changeDescription |
protected List<InMemoryEmfModel> |
models |
protected WorkbenchPartRefresher |
refresher |
protected WizardInstance |
wizardInstance |
| Constructor and Description |
|---|
ExecuteWizardInstanceCommand(WizardInstance wizardInstance,
List<InMemoryEmfModel> models,
WorkbenchPartRefresher refresher) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExecute() |
boolean |
canUndo() |
org.eclipse.emf.common.command.Command |
chain(org.eclipse.emf.common.command.Command command) |
void |
dispose() |
void |
execute() |
Collection<?> |
getAffectedObjects() |
String |
getDescription() |
String |
getLabel() |
Collection<?> |
getResult() |
void |
redo() |
void |
undo() |
protected WizardInstance wizardInstance
protected List<InMemoryEmfModel> models
protected org.eclipse.emf.ecore.change.ChangeDescription changeDescription
protected WorkbenchPartRefresher refresher
public ExecuteWizardInstanceCommand(WizardInstance wizardInstance, List<InMemoryEmfModel> models, WorkbenchPartRefresher refresher)
public void execute()
execute in interface org.eclipse.emf.common.command.Commandpublic void redo()
redo in interface org.eclipse.emf.common.command.Commandpublic boolean canExecute()
canExecute in interface org.eclipse.emf.common.command.Commandpublic boolean canUndo()
canUndo in interface org.eclipse.emf.common.command.Commandpublic org.eclipse.emf.common.command.Command chain(org.eclipse.emf.common.command.Command command)
chain in interface org.eclipse.emf.common.command.Commandpublic void dispose()
dispose in interface org.eclipse.emf.common.command.Commandpublic Collection<?> getAffectedObjects()
getAffectedObjects in interface org.eclipse.emf.common.command.Commandpublic String getDescription()
getDescription in interface org.eclipse.emf.common.command.Commandpublic String getLabel()
getLabel in interface org.eclipse.emf.common.command.Commandpublic Collection<?> getResult()
getResult in interface org.eclipse.emf.common.command.Commandpublic void undo()
undo in interface org.eclipse.emf.common.command.CommandCopyright © 2020. All rights reserved.