|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.gef.commands.Command uk.ac.kcl.cch.jb.pliny.commands.GroupLinkableObjectsCommand
groups a Vector of LinkableObject
s by first creating a new note to hold
them and putting the group into the new note's reference area
and then creating a new reference object (LinkableObject) for the new note in the
place where the LinkableObjects came from.
Constructor Summary | |
GroupLinkableObjectsCommand(Vector list)
creates an instance of this command ready to group together LinkableObjects found in the given list. |
Method Summary | |
boolean |
canUndo()
|
void |
execute()
|
void |
undo()
|
Methods inherited from class org.eclipse.gef.commands.Command |
canExecute, 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 GroupLinkableObjectsCommand(Vector list)
list
- a collection of LinkableObjects to be grouped.Method Detail |
public void execute()
public boolean canUndo()
public void undo()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |