SysML

org.topcased.modeler.sysml.requirementdiagram
Class RequirementCreationUtils

java.lang.Object
  extended by AbstractCreationUtils
      extended by org.topcased.modeler.sysml.requirementdiagram.RequirementCreationUtils

public class RequirementCreationUtils
extends AbstractCreationUtils

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

** Generated **

Constructor Summary
RequirementCreationUtils(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 createGraphElementContainment(Containment element, java.lang.String presentation)
           
protected  GraphElement createGraphElementCopy(Copy element, java.lang.String presentation)
           
protected  GraphElement createGraphElementDeriveReqt(DeriveReqt element, java.lang.String presentation)
           
protected  GraphElement createGraphElementField(Field element, java.lang.String presentation)
           
 GraphElement createGraphElementNamedElement(org.eclipse.uml2.uml.NamedElement element)
          Enable to add external NamedElement to the diagram
protected  GraphElement createGraphElementProblem(Problem element, java.lang.String presentation)
           
protected  GraphElement createGraphElementRationale(Rationale element, java.lang.String presentation)
           
protected  GraphElement createGraphElementRefine(Refine element, java.lang.String presentation)
           
protected  GraphElement createGraphElementRequirement(Requirement element, java.lang.String presentation)
           
protected  GraphElement createGraphElementSatisfy(Satisfy element, java.lang.String presentation)
           
protected  GraphElement createGraphElementTestCase(TestCase element, java.lang.String presentation)
           
protected  GraphElement createGraphElementTrace(Trace element, java.lang.String presentation)
           
protected  GraphElement createGraphElementVerify(Verify 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  Containment createModelObjectContainment(Containment element)
           
protected  Copy createModelObjectCopy(Copy element)
           
protected  DeriveReqt createModelObjectDeriveReqt(DeriveReqt element)
           
protected  Field createModelObjectField(Field element)
           
protected  Problem createModelObjectProblem(Problem element)
           
protected  Rationale createModelObjectRationale(Rationale element)
           
protected  Refine createModelObjectRefine(Refine element)
           
protected  Requirement createModelObjectRequirement(Requirement element)
           
protected  Satisfy createModelObjectSatisfy(Satisfy element)
           
protected  TestCase createModelObjectTestCase(TestCase element)
           
protected  Trace createModelObjectTrace(Trace element)
           
protected  Verify createModelObjectVerify(Verify element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequirementCreationUtils

public RequirementCreationUtils(DiagramGraphConf diagramConf)
Constructor

Parameters:
diagramConf - the Diagram Graphical Configuration
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 **

createGraphElementRequirement

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

createGraphElementField

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

createGraphElementTestCase

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

createGraphElementContainment

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

createGraphElementSatisfy

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

createGraphElementDeriveReqt

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

createGraphElementVerify

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

createGraphElementRefine

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

createGraphElementCopy

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

createGraphElementTrace

protected GraphElement createGraphElementTrace(Trace 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 **

createGraphElementNamedElement

public GraphElement createGraphElementNamedElement(org.eclipse.uml2.uml.NamedElement element)
Enable to add external NamedElement to the diagram

Parameters:
element -
Returns:
the complete GraphElement
** Generated **
NOT

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

createModelObjectRequirement

protected Requirement createModelObjectRequirement(Requirement element)

Parameters:
element - the original model element
Returns:
the complete Model Object
** Generated **
NOT

createModelObjectField

protected Field createModelObjectField(Field element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectTestCase

protected TestCase createModelObjectTestCase(TestCase element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectSatisfy

protected Satisfy createModelObjectSatisfy(Satisfy element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectDeriveReqt

protected DeriveReqt createModelObjectDeriveReqt(DeriveReqt element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectVerify

protected Verify createModelObjectVerify(Verify element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectRefine

protected Refine createModelObjectRefine(Refine element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectCopy

protected Copy createModelObjectCopy(Copy element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectTrace

protected Trace createModelObjectTrace(Trace element)

Parameters:
element - the original model element
Returns:
the complete Model Object

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

createModelObjectRationale

protected Rationale createModelObjectRationale(Rationale element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectProblem

protected Problem createModelObjectProblem(Problem element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectContainment

protected Containment createModelObjectContainment(Containment element)

Parameters:
element - the original model element
Returns:
the complete Model Object

SysML

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