|
Ecore | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractCreationUtils
org.topcased.modeler.ecore.ediagram.EcoreCreationUtils
public class EcoreCreationUtils
This utility class allows to create a GraphElement associated with a Model Object
Constructor Summary | |
---|---|
EcoreCreationUtils(DiagramGraphConf diagramConf)
Constructor |
Method Summary | |
---|---|
GraphElement |
createGraphElement(EObject obj,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementEAnnotation(EAnnotation element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementEAttribute(EAttribute element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementEClass(EClass element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementEDataType(EDataType element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementEEnum(EEnum element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementEEnumLiteral(EEnumLiteral element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementEOperation(EOperation element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementEPackage(EPackage element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementEReference(EReference element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementEStringToStringMapEntry(EStringToStringMapEntryImpl 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 EcoreCreationUtils(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 createGraphElementEPackage(EPackage element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementEClass(EClass element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementEDataType(EDataType element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementEEnum(EEnum element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementEAnnotation(EAnnotation element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementEOperation(EOperation element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementEAttribute(EAttribute element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementEEnumLiteral(EEnumLiteral element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementEStringToStringMapEntry(EStringToStringMapEntryImpl element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementEReference(EReference element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
|
Ecore | |||||||||
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.