|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.gef.commands.Command sk.uniba.euromath.editor.textEditor.commands.SwitchEditModeCommand
public class SwitchEditModeCommand
Constructor Summary | |
---|---|
SwitchEditModeCommand(ITextPieceKeeper origin,
int caretOffset,
CaretManager cManager,
org.eclipse.gef.EditDomain domain)
|
Method Summary | |
---|---|
boolean |
canExecute()
|
void |
execute()
Swithes tool to TextTool |
Methods inherited from class org.eclipse.gef.commands.Command |
---|
canUndo, chain, dispose, getDebugLabel, getLabel, redo, setDebugLabel, setLabel, undo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SwitchEditModeCommand(ITextPieceKeeper origin, int caretOffset, CaretManager cManager, org.eclipse.gef.EditDomain domain)
origin
- EditPart which calls this commandcaretOffset
- is offset where to activate Caret in
origin
ITextPieceKeepercManager
- CaretManagerdomain
- EditDomain on that new Tool will be instaledMethod Detail |
---|
public boolean canExecute()
canExecute
in class org.eclipse.gef.commands.Command
true
if it was created in EditPart
implementing ITextPieceKeeper
public void execute()
execute
in class org.eclipse.gef.commands.Command
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |