roneditor.ronview.commands
Class SelectTokenCommand

java.lang.Object
  extended by org.eclipse.gef.commands.Command
      extended by roneditor.ronview.commands.SelectTokenCommand

public class SelectTokenCommand
extends org.eclipse.gef.commands.Command

command zum selektieren von einem Token.


Field Summary
private static java.lang.String Command_Label_Select_Token
           
private  ronmodel.Token token
           
 
Constructor Summary
SelectTokenCommand(ronmodel.Token token)
           
 
Method Summary
 boolean canExecute()
           
 void execute()
          Token wird als selektiert markiert
 java.lang.String getLabel()
           
 void redo()
           
 void undo()
           
 
Methods inherited from class org.eclipse.gef.commands.Command
canUndo, chain, dispose, getDebugLabel, setDebugLabel, setLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token

private ronmodel.Token token

Command_Label_Select_Token

private static final java.lang.String Command_Label_Select_Token
See Also:
Constant Field Values
Constructor Detail

SelectTokenCommand

public SelectTokenCommand(ronmodel.Token token)
Method Detail

execute

public void execute()
Token wird als selektiert markiert

Overrides:
execute in class org.eclipse.gef.commands.Command
See Also:
Command.execute()

getLabel

public java.lang.String getLabel()
Overrides:
getLabel in class org.eclipse.gef.commands.Command

redo

public void redo()
Overrides:
redo in class org.eclipse.gef.commands.Command
See Also:
Command.redo()

undo

public void undo()
Overrides:
undo in class org.eclipse.gef.commands.Command
See Also:
Command.undo()

canExecute

public boolean canExecute()
Overrides:
canExecute in class org.eclipse.gef.commands.Command
See Also:
Command.canExecute()