|
|||||||||||
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.SetConstraintCommand
Command for setting size and position constraints.
Constructor Summary | |
SetConstraintCommand()
|
Method Summary | |
void |
execute()
|
String |
getLabel()
|
void |
redo()
|
void |
setElement(RelationElement element)
Sets the element to position and/or size. |
void |
setPosition(Point position)
Sets the position. |
void |
setPosition(Rectangle position)
Sets the position and size. |
void |
setSize(Dimension size)
Sets the size. |
void |
undo()
|
Methods inherited from class org.eclipse.gef.commands.Command |
canExecute, canUndo, chain, dispose, getDebugLabel, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SetConstraintCommand()
Method Detail |
public void execute()
Command.execute()
public String getLabel()
Command.getLabel()
public void redo()
Command.redo()
public void undo()
Command.undo()
public void setPosition(Rectangle position)
position
- - the positional data.public void setPosition(Point position)
position
- - the position.public void setSize(Dimension size)
size
- - the size.public void setElement(RelationElement element)
element
- - the element.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |