|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.gef.commands.Command
pl.edu.agh.cast.schema.command.SetLayoutCommand
public class SetLayoutCommand
Command positioning given elements according to injected algorithm strategy.
While this command's execute() method is run, Nodes'
location property change events are NOT fired. GUI has to be manually
refreshed!
| Constructor Summary | |
|---|---|
SetLayoutCommand(ILayoutAlgorithm algorithm,
java.util.Collection<pl.edu.agh.cast.model.visual.Node> nodesToLayout,
java.lang.String label)
|
|
| Method Summary | |
|---|---|
void |
execute()
|
void |
redo()
|
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 SetLayoutCommand(ILayoutAlgorithm algorithm,
java.util.Collection<pl.edu.agh.cast.model.visual.Node> nodesToLayout,
java.lang.String label)
| Method Detail |
|---|
public void execute()
execute in class org.eclipse.gef.commands.Commandpublic void undo()
undo in class org.eclipse.gef.commands.Commandpublic void redo()
redo in class org.eclipse.gef.commands.Command
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||