|
UML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractCreationUtils
org.topcased.modeler.uml.componentdiagram.ComponentCreationUtils
public class ComponentCreationUtils
This utility class allows to create a GraphElement associated with a Model Object
Constructor Summary | |
---|---|
ComponentCreationUtils(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 |
createGraphElementComponent(org.eclipse.uml2.uml.Component element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementComponentRealization(org.eclipse.uml2.uml.ComponentRealization element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementInterface(org.eclipse.uml2.uml.Interface element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementInterfaceRealization(org.eclipse.uml2.uml.InterfaceRealization element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementPort(org.eclipse.uml2.uml.Port element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementUsage(org.eclipse.uml2.uml.Usage 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 ComponentCreationUtils(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 createGraphElementComponent(org.eclipse.uml2.uml.Component element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementInterface(org.eclipse.uml2.uml.Interface element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementPort(org.eclipse.uml2.uml.Port element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementComponentRealization(org.eclipse.uml2.uml.ComponentRealization element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementInterfaceRealization(org.eclipse.uml2.uml.InterfaceRealization element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementUsage(org.eclipse.uml2.uml.Usage 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
public EObject createModelObject(EObject obj)
obj
- the model object
|
UML | |||||||||
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.