SAM

org.topcased.modeler.sam.automatondiagram
Class AutomCreationUtils

java.lang.Object
  extended by AbstractCreationUtils
      extended by org.topcased.modeler.sam.automatondiagram.AutomCreationUtils

public class AutomCreationUtils
extends AbstractCreationUtils

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

** Generated **

Constructor Summary
AutomCreationUtils(DiagramGraphConf diagramConf)
          Constructor
 
Method Summary
 GraphElement createGraphElement(EObject obj, java.lang.String presentation)
           
protected  GraphElement createGraphElementInControlPort(InControlPort element, java.lang.String presentation)
           
protected  GraphElement createGraphElementInDataPort(InDataPort element, java.lang.String presentation)
           
protected  GraphElement createGraphElementInitialState(InitialState element, java.lang.String presentation)
           
protected  GraphElement createGraphElementMacroState(MacroState element, java.lang.String presentation)
           
protected  GraphElement createGraphElementMultiPort(MultiPort element, java.lang.String presentation)
           
protected  GraphElement createGraphElementOutControlPort(OutControlPort element, java.lang.String presentation)
           
protected  GraphElement createGraphElementOutDataPort(OutDataPort element, java.lang.String presentation)
           
protected  GraphElement createGraphElementState(State element, java.lang.String presentation)
           
protected  GraphElement createGraphElementTransition(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

AutomCreationUtils

public AutomCreationUtils(DiagramGraphConf diagramConf)
Constructor

Parameters:
diagramConf - the Diagram Graphical Configurator
Method Detail

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 **

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 **

createGraphElementState

protected GraphElement createGraphElementState(State element,
                                               java.lang.String presentation)

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

createGraphElementInitialState

protected GraphElement createGraphElementInitialState(InitialState element,
                                                      java.lang.String presentation)

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

createGraphElementMacroState

protected GraphElement createGraphElementMacroState(MacroState element,
                                                    java.lang.String presentation)

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

createGraphElementMultiPort

protected GraphElement createGraphElementMultiPort(MultiPort element,
                                                   java.lang.String presentation)

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

createGraphElementInControlPort

protected GraphElement createGraphElementInControlPort(InControlPort element,
                                                       java.lang.String presentation)

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

createGraphElementOutControlPort

protected GraphElement createGraphElementOutControlPort(OutControlPort element,
                                                        java.lang.String presentation)

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

createGraphElementInDataPort

protected GraphElement createGraphElementInDataPort(InDataPort element,
                                                    java.lang.String presentation)

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

createGraphElementOutDataPort

protected GraphElement createGraphElementOutDataPort(OutDataPort 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(Transition element,
                                                    java.lang.String presentation)

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

SAM

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