public class ExecuteEvlFixCommand extends Object implements org.eclipse.emf.common.command.Command
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.emf.ecore.change.ChangeDescription |
changeDescription |
protected FixInstance |
fix |
protected InMemoryEmfModel |
model |
Constructor and Description |
---|
ExecuteEvlFixCommand(FixInstance fix,
InMemoryEmfModel model) |
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 FixInstance fix
protected InMemoryEmfModel model
protected org.eclipse.emf.ecore.change.ChangeDescription changeDescription
public ExecuteEvlFixCommand(FixInstance fix, InMemoryEmfModel model)
public void execute()
execute
in interface org.eclipse.emf.common.command.Command
public void redo()
redo
in interface org.eclipse.emf.common.command.Command
public boolean canExecute()
canExecute
in interface org.eclipse.emf.common.command.Command
public boolean canUndo()
canUndo
in interface org.eclipse.emf.common.command.Command
public org.eclipse.emf.common.command.Command chain(org.eclipse.emf.common.command.Command command)
chain
in interface org.eclipse.emf.common.command.Command
public void dispose()
dispose
in interface org.eclipse.emf.common.command.Command
public Collection<?> getAffectedObjects()
getAffectedObjects
in interface org.eclipse.emf.common.command.Command
public String getDescription()
getDescription
in interface org.eclipse.emf.common.command.Command
public String getLabel()
getLabel
in interface org.eclipse.emf.common.command.Command
public Collection<?> getResult()
getResult
in interface org.eclipse.emf.common.command.Command
public void undo()
undo
in interface org.eclipse.emf.common.command.Command
Copyright © 2020. All rights reserved.