|
UML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractCreationUtils
org.topcased.modeler.uml.usecasediagram.UseCaseCreationUtils
public class UseCaseCreationUtils
This utility class allows to create a GraphElement associated with a Model Object
Constructor Summary | |
---|---|
UseCaseCreationUtils(DiagramGraphConf diagramConf)
Constructor |
Method Summary | |
---|---|
GraphElement |
createGraphElement(EObject obj,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementActor(org.eclipse.uml2.uml.Actor element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementAssociation(org.eclipse.uml2.uml.Association element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementComment(org.eclipse.uml2.uml.Comment element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementExtend(org.eclipse.uml2.uml.Extend element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementGeneralization(org.eclipse.uml2.uml.Generalization element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementInclude(org.eclipse.uml2.uml.Include element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementPackage(org.eclipse.uml2.uml.Package element,
java.lang.String presentation)
|
protected GraphElement |
createGraphElementUseCase(org.eclipse.uml2.uml.UseCase element,
java.lang.String presentation)
|
EObject |
createModelObject(EObject obj)
Create the ModelObject with its initial children |
protected org.eclipse.uml2.uml.Actor |
createModelObjectActor(org.eclipse.uml2.uml.Actor element)
|
protected org.eclipse.uml2.uml.Association |
createModelObjectAssociation(org.eclipse.uml2.uml.Association element)
|
protected org.eclipse.uml2.uml.Comment |
createModelObjectComment(org.eclipse.uml2.uml.Comment element)
|
protected org.eclipse.uml2.uml.Extend |
createModelObjectExtend(org.eclipse.uml2.uml.Extend element)
|
protected org.eclipse.uml2.uml.Generalization |
createModelObjectGeneralization(org.eclipse.uml2.uml.Generalization element)
|
protected org.eclipse.uml2.uml.Include |
createModelObjectInclude(org.eclipse.uml2.uml.Include element)
|
protected org.eclipse.uml2.uml.Package |
createModelObjectPackage(org.eclipse.uml2.uml.Package element)
|
protected org.eclipse.uml2.uml.UseCase |
createModelObjectUseCase(org.eclipse.uml2.uml.UseCase element)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UseCaseCreationUtils(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 createGraphElementActor(org.eclipse.uml2.uml.Actor element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementUseCase(org.eclipse.uml2.uml.UseCase 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 createGraphElementGeneralization(org.eclipse.uml2.uml.Generalization element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementInclude(org.eclipse.uml2.uml.Include element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementExtend(org.eclipse.uml2.uml.Extend 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
protected org.eclipse.uml2.uml.Package createModelObjectPackage(org.eclipse.uml2.uml.Package element)
element
- the original model element
protected org.eclipse.uml2.uml.Actor createModelObjectActor(org.eclipse.uml2.uml.Actor element)
element
- the original model element
protected org.eclipse.uml2.uml.UseCase createModelObjectUseCase(org.eclipse.uml2.uml.UseCase element)
element
- the original model element
protected org.eclipse.uml2.uml.Association createModelObjectAssociation(org.eclipse.uml2.uml.Association element)
element
- the original model element
protected org.eclipse.uml2.uml.Generalization createModelObjectGeneralization(org.eclipse.uml2.uml.Generalization element)
element
- the original model element
protected org.eclipse.uml2.uml.Include createModelObjectInclude(org.eclipse.uml2.uml.Include element)
element
- the original model element
protected org.eclipse.uml2.uml.Extend createModelObjectExtend(org.eclipse.uml2.uml.Extend element)
element
- the original model element
protected org.eclipse.uml2.uml.Comment createModelObjectComment(org.eclipse.uml2.uml.Comment element)
element
- the original model element
|
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.