UML

org.topcased.modeler.uml.statemachinediagram
Class STMCreationUtils

java.lang.Object
  extended by AbstractCreationUtils
      extended by org.topcased.modeler.uml.statemachinediagram.STMCreationUtils

public class STMCreationUtils
extends AbstractCreationUtils

This utility class allows to create a GraphElement associated with a Model Object

** Generated **

Constructor Summary
STMCreationUtils(DiagramGraphConf diagramConf)
          Constructor
 
Method Summary
 GraphElement createGraphElement(EObject obj, java.lang.String presentation)
           
protected  GraphElement createGraphElementComment(org.eclipse.uml2.uml.Comment element, java.lang.String presentation)
           
protected  GraphElement createGraphElementCompositeState(org.eclipse.uml2.uml.State element, java.lang.String presentation)
           
protected  GraphElement createGraphElementConnectionPointReference(org.eclipse.uml2.uml.ConnectionPointReference element, java.lang.String presentation)
           
protected  GraphElement createGraphElementFinalState(org.eclipse.uml2.uml.FinalState element, java.lang.String presentation)
           
protected  GraphElement createGraphElementPseudostateChoice(org.eclipse.uml2.uml.Pseudostate element, java.lang.String presentation)
           
protected  GraphElement createGraphElementPseudostateDeepHistory(org.eclipse.uml2.uml.Pseudostate element, java.lang.String presentation)
           
protected  GraphElement createGraphElementPseudostateEntryPoint(org.eclipse.uml2.uml.Pseudostate element, java.lang.String presentation)
           
protected  GraphElement createGraphElementPseudostateExitPoint(org.eclipse.uml2.uml.Pseudostate element, java.lang.String presentation)
           
protected  GraphElement createGraphElementPseudostateFork(org.eclipse.uml2.uml.Pseudostate element, java.lang.String presentation)
           
protected  GraphElement createGraphElementPseudostateInitial(org.eclipse.uml2.uml.Pseudostate element, java.lang.String presentation)
           
protected  GraphElement createGraphElementPseudostateJoin(org.eclipse.uml2.uml.Pseudostate element, java.lang.String presentation)
           
protected  GraphElement createGraphElementPseudostateJunction(org.eclipse.uml2.uml.Pseudostate element, java.lang.String presentation)
           
protected  GraphElement createGraphElementPseudostateShallowHistory(org.eclipse.uml2.uml.Pseudostate element, java.lang.String presentation)
           
protected  GraphElement createGraphElementPseudostateTerminate(org.eclipse.uml2.uml.Pseudostate element, java.lang.String presentation)
           
protected  GraphElement createGraphElementRegion(org.eclipse.uml2.uml.Region element, java.lang.String presentation)
           
protected  GraphElement createGraphElementState(org.eclipse.uml2.uml.State element, java.lang.String presentation)
           
protected  GraphElement createGraphElementSubmachineState(org.eclipse.uml2.uml.State element, java.lang.String presentation)
           
protected  GraphElement createGraphElementTransition(org.eclipse.uml2.uml.Transition element, java.lang.String presentation)
           
 EObject createModelObject(EObject obj)
          Create the ModelObject with its initial children
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

STMCreationUtils

public STMCreationUtils(DiagramGraphConf diagramConf)
Constructor

Parameters:
diagramConf - the Diagram Graphical Configuration
** Generated **
Method Detail

createGraphElement

public GraphElement createGraphElement(EObject obj,
                                       java.lang.String presentation)

See Also:
org.topcased.modeler.editor.ICreationUtils#createGraphElement(org.eclipse.emf.ecore.EObject, java.lang.String)
** Generated **

createGraphElementRegion

protected GraphElement createGraphElementRegion(org.eclipse.uml2.uml.Region element,
                                                java.lang.String presentation)

Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementState

protected GraphElement createGraphElementState(org.eclipse.uml2.uml.State element,
                                               java.lang.String presentation)

Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementCompositeState

protected GraphElement createGraphElementCompositeState(org.eclipse.uml2.uml.State element,
                                                        java.lang.String presentation)

Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **
NOT

createGraphElementSubmachineState

protected GraphElement createGraphElementSubmachineState(org.eclipse.uml2.uml.State element,
                                                         java.lang.String presentation)

Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementConnectionPointReference

protected GraphElement createGraphElementConnectionPointReference(org.eclipse.uml2.uml.ConnectionPointReference element,
                                                                  java.lang.String presentation)

Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementFinalState

protected GraphElement createGraphElementFinalState(org.eclipse.uml2.uml.FinalState element,
                                                    java.lang.String presentation)

Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementPseudostateInitial

protected GraphElement createGraphElementPseudostateInitial(org.eclipse.uml2.uml.Pseudostate element,
                                                            java.lang.String presentation)

Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementPseudostateDeepHistory

protected GraphElement createGraphElementPseudostateDeepHistory(org.eclipse.uml2.uml.Pseudostate element,
                                                                java.lang.String presentation)

Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementPseudostateShallowHistory

protected GraphElement createGraphElementPseudostateShallowHistory(org.eclipse.uml2.uml.Pseudostate element,
                                                                   java.lang.String presentation)

Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementPseudostateJoin

protected GraphElement createGraphElementPseudostateJoin(org.eclipse.uml2.uml.Pseudostate element,
                                                         java.lang.String presentation)

Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementPseudostateFork

protected GraphElement createGraphElementPseudostateFork(org.eclipse.uml2.uml.Pseudostate element,
                                                         java.lang.String presentation)

Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementPseudostateJunction

protected GraphElement createGraphElementPseudostateJunction(org.eclipse.uml2.uml.Pseudostate element,
                                                             java.lang.String presentation)

Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementPseudostateChoice

protected GraphElement createGraphElementPseudostateChoice(org.eclipse.uml2.uml.Pseudostate element,
                                                           java.lang.String presentation)

Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementPseudostateEntryPoint

protected GraphElement createGraphElementPseudostateEntryPoint(org.eclipse.uml2.uml.Pseudostate element,
                                                               java.lang.String presentation)

Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementPseudostateExitPoint

protected GraphElement createGraphElementPseudostateExitPoint(org.eclipse.uml2.uml.Pseudostate element,
                                                              java.lang.String presentation)

Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementPseudostateTerminate

protected GraphElement createGraphElementPseudostateTerminate(org.eclipse.uml2.uml.Pseudostate element,
                                                              java.lang.String presentation)

Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementTransition

protected GraphElement createGraphElementTransition(org.eclipse.uml2.uml.Transition element,
                                                    java.lang.String presentation)

Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementComment

protected GraphElement createGraphElementComment(org.eclipse.uml2.uml.Comment element,
                                                 java.lang.String presentation)

Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createModelObject

public EObject createModelObject(EObject obj)
Create the ModelObject with its initial children

Parameters:
obj - the model object
Returns:
the model object with its children
** Generated **

UML

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