|
||||||||||
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.editor.command.AddConnectionCommand
public class AddConnectionCommand
Command which adds new connection to a diagram.
Constructor Summary | |
---|---|
AddConnectionCommand()
Constructor. |
|
AddConnectionCommand(ISchemaDataSet modelDataSet,
ISchemaConnection connection,
ISchemaNode source,
ISchemaNode target)
Constructor. |
Method Summary | |
---|---|
void |
execute()
|
void |
undo()
|
Methods inherited from class org.eclipse.gef.commands.Command |
---|
canExecute, canUndo, chain, dispose, getDebugLabel, getLabel, redo, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AddConnectionCommand()
public AddConnectionCommand(ISchemaDataSet modelDataSet, ISchemaConnection connection, ISchemaNode source, ISchemaNode target)
modelDataSet
- model to which new connection will be addedconnection
- connection to addsource
- source node of new connectiontarget
- target node of new connectionMethod Detail |
---|
public void execute()
execute
in class org.eclipse.gef.commands.Command
Command.execute()
public void undo()
undo
in class org.eclipse.gef.commands.Command
Command.undo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |