SAM

org.topcased.modeler.sam.commands
Class UpdateTransitionCommand

java.lang.Object
  extended by org.eclipse.gef.commands.Command
      extended by org.topcased.modeler.sam.commands.UpdateTransitionCommand

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

Class that create a command in order to update transition parameters
Created 5 July 2005


Constructor Summary
UpdateTransitionCommand(Transition transition, java.util.Map data)
          Create a command for updating parameters on a given transition
 
Method Summary
 boolean canExecute()
           
 void execute()
           
 void redo()
           
 void undo()
           
 
Methods inherited from class org.eclipse.gef.commands.Command
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

UpdateTransitionCommand

public UpdateTransitionCommand(Transition transition,
                               java.util.Map data)
Create a command for updating parameters on a given transition

Parameters:
transition -
data -
Method Detail

canExecute

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

execute

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

undo

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

redo

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

SAM

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.