SysML

org.topcased.modeler.sysml.actions
Class DefineProfileAction

java.lang.Object
  extended by UMLAction
      extended by org.topcased.modeler.sysml.actions.DefineProfileAction

public class DefineProfileAction
extends UMLAction

Action that allows user to define profile, configure stereotypes


Constructor Summary
DefineProfileAction(Modeler ed, org.eclipse.uml2.uml.Profile prof)
          Constructor
 
Method Summary
protected  org.eclipse.gef.commands.Command createActionCommand(org.eclipse.uml2.uml.Profile p)
          Create the generation command
 void run()
          Execute the Action
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefineProfileAction

public DefineProfileAction(Modeler ed,
                           org.eclipse.uml2.uml.Profile prof)
Constructor

Parameters:
ed - the Modeler object
prof - The profil that should be defined
Method Detail

run

public void run()
Execute the Action

See Also:
Action.run()

createActionCommand

protected org.eclipse.gef.commands.Command createActionCommand(org.eclipse.uml2.uml.Profile p)
Create the generation command

Parameters:
p - the UML profile
Returns:
the command that update the profile properties

SysML

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