SAM

org.topcased.modeler.sam.systemdiagram
Class SystCreationUtils

java.lang.Object
  extended by AbstractCreationUtils
      extended by org.topcased.modeler.sam.systemdiagram.SystCreationUtils

public class SystCreationUtils
extends AbstractCreationUtils

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

** Generated **

Constructor Summary
SystCreationUtils(DiagramGraphConf diagramConf)
          Constructor
 
Method Summary
 GraphElement createGraphElement(EObject obj, java.lang.String presentation)
           
protected  GraphElement createGraphElementAutomaton(Automaton element, java.lang.String presentation)
           
protected  GraphElement createGraphElementComposition(Composition element, java.lang.String presentation)
           
protected  GraphElement createGraphElementControlFlow(ControlFlow element, java.lang.String presentation)
           
protected  GraphElement createGraphElementDataFlow(DataFlow element, java.lang.String presentation)
           
protected  GraphElement createGraphElementDataStore(DataStore element, java.lang.String presentation)
           
protected  GraphElement createGraphElementDecomposition(Decomposition element, java.lang.String presentation)
           
protected  GraphElement createGraphElementInControlPort(InControlPort element, java.lang.String presentation)
           
protected  GraphElement createGraphElementInDataPort(InDataPort 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 createGraphElementSystem(System 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

SystCreationUtils

public SystCreationUtils(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 **

createGraphElementSystem

protected GraphElement createGraphElementSystem(System element,
                                                java.lang.String presentation)

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

createGraphElementAutomaton

protected GraphElement createGraphElementAutomaton(Automaton element,
                                                   java.lang.String presentation)

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

createGraphElementDataStore

protected GraphElement createGraphElementDataStore(DataStore element,
                                                   java.lang.String presentation)

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

createGraphElementComposition

protected GraphElement createGraphElementComposition(Composition element,
                                                     java.lang.String presentation)

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

createGraphElementDecomposition

protected GraphElement createGraphElementDecomposition(Decomposition element,
                                                       java.lang.String presentation)

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

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

createGraphElementDataFlow

protected GraphElement createGraphElementDataFlow(DataFlow element,
                                                  java.lang.String presentation)

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

createGraphElementControlFlow

protected GraphElement createGraphElementControlFlow(ControlFlow element,
                                                     java.lang.String presentation)

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

SAM

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