|
|||||||||||
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.SetItemsToTypeCommand
command to set all the provided items to a specified
LOType
.
Constructor Summary | |
SetItemsToTypeCommand(Vector items,
LOType newType)
creates an instance of this command and provides the list of items (all of which must be IHasLoType s
-- LinkableObjects or Links -- to be changed to the provide LOType . |
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 SetItemsToTypeCommand(Vector items, LOType newType)
IHasLoType
s
-- LinkableObjects or Links -- to be changed to the provide LOType
.
items
- Vector of items to be assigned the new type.newType
- LOType new type to assign them to.Method Detail |
public void execute()
public void undo()
public void redo()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |