uk.ac.kcl.cch.jb.pliny.commands
Class DeleteLinkableObjectCommand
java.lang.Object
org.eclipse.gef.commands.Command
uk.ac.kcl.cch.jb.pliny.commands.DeleteLinkableObjectCommand
- public class DeleteLinkableObjectCommand
- extends org.eclipse.gef.commands.Command
deletes a
LinkableObject
item. It also
checks the surrogate note attached to it, and if this object is the
note's only reference, deletes the note as well. Also, links between
this object and other objects are deleted.
- Author:
- John Bradley
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 |
myToLinks
protected Vector myToLinks
myFromLinks
protected Vector myFromLinks
DeleteLinkableObjectCommand
public DeleteLinkableObjectCommand(LinkableObject lo)
execute
public void execute()
undo
public void undo()