roneditor.objectnetview.commands
Class EditONPlaceCommand

java.lang.Object
  extended by org.eclipse.gef.commands.Command
      extended by roneditor.objectnetview.commands.EditONNodeCommand
          extended by roneditor.objectnetview.commands.EditONPlaceCommand

public class EditONPlaceCommand
extends EditONNodeCommand

Edit onPlace properties.


Field Summary
private  int newTokens
           
private  int oldTokens
           
 
Constructor Summary
EditONPlaceCommand()
           
 
Method Summary
 void execute()
          Properties von einem ONPlace werden geändert
 int getNewTokens()
           
 ronmodel.ONPlace getONPlace()
           
 void redo()
           
 void setNewTokens(int newTokens)
           
 void undo()
           
 
Methods inherited from class roneditor.objectnetview.commands.EditONNodeCommand
getNewName, getONNode, setNewName, setONNode
 
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
 

Field Detail

oldTokens

private int oldTokens

newTokens

private int newTokens
Constructor Detail

EditONPlaceCommand

public EditONPlaceCommand()
Method Detail

getONPlace

public ronmodel.ONPlace getONPlace()

execute

public void execute()
Properties von einem ONPlace werden geändert

Overrides:
execute in class EditONNodeCommand
See Also:
Command.execute()

undo

public void undo()
Overrides:
undo in class EditONNodeCommand
See Also:
Command.undo()

redo

public void redo()
Overrides:
redo in class EditONNodeCommand
See Also:
Command.redo()

getNewTokens

public int getNewTokens()

setNewTokens

public void setNewTokens(int newTokens)