SysML

org.topcased.modeler.sysml.parametricdiagram
Class ParametricCreationUtils

java.lang.Object
  extended by AbstractCreationUtils
      extended by org.topcased.modeler.sysml.parametricdiagram.ParametricCreationUtils

public class ParametricCreationUtils
extends AbstractCreationUtils

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

** Generated **

Constructor Summary
ParametricCreationUtils(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 createGraphElementConnector(org.eclipse.uml2.uml.Connector element, java.lang.String presentation)
           
protected  GraphElement createGraphElementConstraintProperty(ConstraintProperty element, java.lang.String presentation)
           
protected  GraphElement createGraphElementDependency(org.eclipse.uml2.uml.Dependency element, java.lang.String presentation)
           
protected  GraphElement createGraphElementProblem(Problem element, java.lang.String presentation)
           
protected  GraphElement createGraphElementProperty(org.eclipse.uml2.uml.Property element, java.lang.String presentation)
           
protected  GraphElement createGraphElementRationale(Rationale element, java.lang.String presentation)
           
 EObject createModelObject(EObject obj)
          Create the ModelObject with its initial children
protected  org.eclipse.uml2.uml.Comment createModelObjectComment(org.eclipse.uml2.uml.Comment element)
           
protected  org.eclipse.uml2.uml.Connector createModelObjectConnector(org.eclipse.uml2.uml.Connector element)
           
protected  ConstraintProperty createModelObjectConstraintProperty(ConstraintProperty element)
           
protected  org.eclipse.uml2.uml.Dependency createModelObjectDependency(org.eclipse.uml2.uml.Dependency element)
           
protected  Problem createModelObjectProblem(Problem element)
           
protected  org.eclipse.uml2.uml.Property createModelObjectProperty(org.eclipse.uml2.uml.Property element)
           
protected  Rationale createModelObjectRationale(Rationale element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParametricCreationUtils

public ParametricCreationUtils(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 **
NOT

createGraphElementConstraintProperty

protected GraphElement createGraphElementConstraintProperty(ConstraintProperty element,
                                                            java.lang.String presentation)
Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementProperty

protected GraphElement createGraphElementProperty(org.eclipse.uml2.uml.Property element,
                                                  java.lang.String presentation)
Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementConnector

protected GraphElement createGraphElementConnector(org.eclipse.uml2.uml.Connector element,
                                                   java.lang.String presentation)
Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementDependency

protected GraphElement createGraphElementDependency(org.eclipse.uml2.uml.Dependency 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 **

createGraphElementRationale

protected GraphElement createGraphElementRationale(Rationale element,
                                                   java.lang.String presentation)
Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementProblem

protected GraphElement createGraphElementProblem(Problem element,
                                                 java.lang.String presentation)
Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createModelObjectComment

protected org.eclipse.uml2.uml.Comment createModelObjectComment(org.eclipse.uml2.uml.Comment element)
Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectProperty

protected org.eclipse.uml2.uml.Property createModelObjectProperty(org.eclipse.uml2.uml.Property element)
Parameters:
element - the original model element

createModelObjectConstraintProperty

protected ConstraintProperty createModelObjectConstraintProperty(ConstraintProperty element)
Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectConnector

protected org.eclipse.uml2.uml.Connector createModelObjectConnector(org.eclipse.uml2.uml.Connector element)

createModelObjectDependency

protected org.eclipse.uml2.uml.Dependency createModelObjectDependency(org.eclipse.uml2.uml.Dependency element)

createModelObjectRationale

protected Rationale createModelObjectRationale(Rationale element)

createModelObjectProblem

protected Problem createModelObjectProblem(Problem element)

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

SysML

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