|
SAM | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractCreationUtils
org.topcased.modeler.sam.systemdiagram.SystCreationUtils
public class SystCreationUtils
This utility class allows to create a GraphElement associated with a Model Object
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 |
---|
public SystCreationUtils(DiagramGraphConf diagramConf)
diagramConf
- the Diagram Graphical ConfiguratorMethod Detail |
---|
public EObject createModelObject(EObject obj)
obj
- the model object
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 createGraphElementSystem(System element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementAutomaton(Automaton element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementDataStore(DataStore element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementComposition(Composition element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementDecomposition(Decomposition element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementMultiPort(MultiPort element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementInControlPort(InControlPort element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementOutControlPort(OutControlPort element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementInDataPort(InDataPort element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementOutDataPort(OutDataPort element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementDataFlow(DataFlow element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementControlFlow(ControlFlow element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
|
SAM | |||||||||
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.