|
SAM | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractCreationUtils
org.topcased.modeler.sam.automatondiagram.AutomCreationUtils
public class AutomCreationUtils
This utility class allows to create a GraphElement associated with a Model Object
Constructor Summary | |
---|---|
AutomCreationUtils(DiagramGraphConf diagramConf)
Constructor |
Method Summary | |
---|---|
GraphElement |
createGraphElement(EObject obj,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementInControlPort(InControlPort element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementInDataPort(InDataPort element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementInitialState(InitialState element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementMacroState(MacroState 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 |
createGraphElementState(State element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementTransition(Transition 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 AutomCreationUtils(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 createGraphElementState(State element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementInitialState(InitialState element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementMacroState(MacroState 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 createGraphElementTransition(Transition 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.