|
SysML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractCreationUtils
org.topcased.modeler.sysml.requirementdiagram.RequirementCreationUtils
public class RequirementCreationUtils
This utility class allows to create a GraphElement associated with a Model Object
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 |
---|
public RequirementCreationUtils(DiagramGraphConf diagramConf)
diagramConf
- the Diagram Graphical ConfigurationMethod Detail |
---|
public GraphElement createGraphElement(EObject obj, java.lang.String presentation)
org.topcased.modeler.editor.ICreationUtils#createGraphElement(org.eclipse.emf.ecore.EObject,
java.lang.String)
protected GraphElement createGraphElementRequirement(Requirement element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementField(Field element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementTestCase(TestCase element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementContainment(Containment element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementSatisfy(Satisfy element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementDeriveReqt(DeriveReqt element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementVerify(Verify element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementRefine(Refine element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementCopy(Copy element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementTrace(Trace element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementComment(org.eclipse.uml2.uml.Comment element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementRationale(Rationale element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementProblem(Problem element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
public GraphElement createGraphElementNamedElement(org.eclipse.uml2.uml.NamedElement element)
element
-
public EObject createModelObject(EObject obj)
obj
- the model object
protected Requirement createModelObjectRequirement(Requirement element)
element
- the original model element
protected Field createModelObjectField(Field element)
element
- the original model element
protected TestCase createModelObjectTestCase(TestCase element)
element
- the original model element
protected Satisfy createModelObjectSatisfy(Satisfy element)
element
- the original model element
protected DeriveReqt createModelObjectDeriveReqt(DeriveReqt element)
element
- the original model element
protected Verify createModelObjectVerify(Verify element)
element
- the original model element
protected Refine createModelObjectRefine(Refine element)
element
- the original model element
protected Copy createModelObjectCopy(Copy element)
element
- the original model element
protected Trace createModelObjectTrace(Trace element)
element
- the original model element
protected org.eclipse.uml2.uml.Comment createModelObjectComment(org.eclipse.uml2.uml.Comment element)
element
- the original model element
protected Rationale createModelObjectRationale(Rationale element)
element
- the original model element
protected Problem createModelObjectProblem(Problem element)
element
- the original model element
protected Containment createModelObjectContainment(Containment element)
element
- the original model element
|
SysML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.