|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.commands.Command
be.ac.vub.cocompose.eclipse.commands.ApplySolutionPatternCommand
Eclipse GEF command for applying a solution pattern.
Constructor Summary | |
ApplySolutionPatternCommand(CoComposeEditor editor,
ModelFactory factory)
Creates an ApplySolutionPatternCommand. |
Method Summary | |
void |
execute()
|
SolutionPattern |
getSolutionPattern()
Gets the solution pattern to apply. |
protected void |
primExecute()
Execute implementation. |
void |
redo()
|
void |
setSolutionPattern(SolutionPattern pattern)
Sets the solution pattern to apply. |
void |
undo()
|
Methods inherited from class org.eclipse.gef.commands.Command |
canExecute, canUndo, chain, dispose, getDebugLabel, getLabel, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ApplySolutionPatternCommand(CoComposeEditor editor, ModelFactory factory)
editor
- the CoCompose editor.factory
- the factory to create new elements.Method Detail |
public SolutionPattern getSolutionPattern()
public void setSolutionPattern(SolutionPattern pattern)
pattern
- the solution pattern to apply.public void execute()
Command.execute()
public void redo()
Command.redo()
public void undo()
Command.undo()
protected void primExecute()
Command.execute()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |