|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.commands.Command
uk.ac.kcl.cch.jb.pliny.commands.CreateNoteCommand
Constructor Summary | |
CreateNoteCommand(NoteLucened note,
Resource theResource,
org.eclipse.draw2d.geometry.Rectangle rectHere)
constructor for this command. |
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 CreateNoteCommand(NoteLucened note, Resource theResource, org.eclipse.draw2d.geometry.Rectangle rectHere)
note
- NoteLucened to be reference or null
if it needs to be createdtheResource
- Resource in whos reference/annotation area it is to appearrectHere
- where it is to appear thereMethod 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 |