|
|||||||||||
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.DeleteTypeCommand
deletes a
LOType
item and transfers any
LinkableObjects or Links that refer to this one being deleted to
a specified LOType. If the deleted type is the current type, the
specified replacement LOType becomes the current type instead.
Constructor Summary | |
DeleteTypeCommand(LOType deleteMe,
LOType type2)
deletes the specified type, and maps all references (Linkable Objects or Links) to the specified type type2 . |
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 DeleteTypeCommand(LOType deleteMe, LOType type2)
type2
.
deleteMe
- the LOType to be deleted.type2
- the LOType to replace all references to the deleted LOType.Method Detail |
public void execute()
public void undo()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |