|
UML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractCreationUtils
org.topcased.modeler.uml.classdiagram.ClassCreationUtils
public class ClassCreationUtils
This utility class allows to create a GraphElement associated with a Model Object
Constructor Summary | |
---|---|
ClassCreationUtils(DiagramGraphConf diagramConf)
Constructor |
Method Summary | |
---|---|
GraphElement |
createGraphElement(EObject obj,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementAssociation(org.eclipse.uml2.uml.Association element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementAssociationClass(org.eclipse.uml2.uml.AssociationClass element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementClass(org.eclipse.uml2.uml.Class element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementComment(org.eclipse.uml2.uml.Comment element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementDataType(org.eclipse.uml2.uml.DataType element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementDependency(org.eclipse.uml2.uml.Dependency element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementEnumeration(org.eclipse.uml2.uml.Enumeration element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementEnumerationLiteral(org.eclipse.uml2.uml.EnumerationLiteral element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementGeneralization(org.eclipse.uml2.uml.Generalization element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementInstanceSpecification(org.eclipse.uml2.uml.InstanceSpecification 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 |
createGraphElementOperation(org.eclipse.uml2.uml.Operation element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementPackage(org.eclipse.uml2.uml.Package element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementPackageImport(org.eclipse.uml2.uml.PackageImport element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementPackageMerge(org.eclipse.uml2.uml.PackageMerge element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementPrimitiveType(org.eclipse.uml2.uml.PrimitiveType element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementProperty(org.eclipse.uml2.uml.Property element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementSlot(org.eclipse.uml2.uml.Slot 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 ClassCreationUtils(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 createGraphElementPackage(org.eclipse.uml2.uml.Package element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementClass(org.eclipse.uml2.uml.Class element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementDataType(org.eclipse.uml2.uml.DataType 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 createGraphElementOperation(org.eclipse.uml2.uml.Operation element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementProperty(org.eclipse.uml2.uml.Property element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementInstanceSpecification(org.eclipse.uml2.uml.InstanceSpecification element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementSlot(org.eclipse.uml2.uml.Slot element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementEnumeration(org.eclipse.uml2.uml.Enumeration element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementEnumerationLiteral(org.eclipse.uml2.uml.EnumerationLiteral element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementPrimitiveType(org.eclipse.uml2.uml.PrimitiveType element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementAssociation(org.eclipse.uml2.uml.Association element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementAssociationClass(org.eclipse.uml2.uml.AssociationClass element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementGeneralization(org.eclipse.uml2.uml.Generalization 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 createGraphElementDependency(org.eclipse.uml2.uml.Dependency 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 createGraphElementPackageImport(org.eclipse.uml2.uml.PackageImport element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementPackageMerge(org.eclipse.uml2.uml.PackageMerge 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.