UML

org.topcased.modeler.uml.classdiagram.commands.update
Class AssociationUpdateCommand

java.lang.Object
  extended by org.eclipse.gef.commands.Command
      extended by org.topcased.modeler.uml.classdiagram.commands.update.AssociationUpdateCommand

Deprecated. The Association should be updated step by step

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

Class that create a command in order to update operation parameters
creation : 12 mai 2005


Constructor Summary
AssociationUpdateCommand(org.eclipse.uml2.uml.Association assoc, java.util.Map prop)
          Deprecated. Create a command for updating parameters on a given operation
 
Method Summary
 void execute()
          Deprecated. Get the old values and set the new ones
 void redo()
          Deprecated. Set the new values
 void undo()
          Deprecated. Set the old values
 
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

AssociationUpdateCommand

public AssociationUpdateCommand(org.eclipse.uml2.uml.Association assoc,
                                java.util.Map prop)
Deprecated. 
Create a command for updating parameters on a given operation

Parameters:
assoc - the association to update
prop - Map containing association data
Method Detail

execute

public void execute()
Deprecated. 
Get the old values and set the new ones

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

redo

public void redo()
Deprecated. 
Set the new values

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

undo

public void undo()
Deprecated. 
Set the old values

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

UML

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