SysML

org.topcased.modeler.sysml.usecasediagram
Class UseCaseCreationUtils

java.lang.Object
  extended by AbstractCreationUtils
      extended by org.topcased.modeler.sysml.usecasediagram.UseCaseCreationUtils

public class UseCaseCreationUtils
extends AbstractCreationUtils

This utility class allows to create a GraphElement associated with a Model Object

** Generated **

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 createGraphElementPackageSYSML(PackageSYSML 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UseCaseCreationUtils

public UseCaseCreationUtils(DiagramGraphConf diagramConf)
Constructor

Parameters:
diagramConf - the Diagram Graphical Configuration
** Generated **
Method Detail

createGraphElement

public GraphElement createGraphElement(EObject obj,
                                       java.lang.String presentation)
See Also:
org.topcased.modeler.editor.ICreationUtils#createGraphElement(org.eclipse.emf.ecore.EObject, java.lang.String)
** Generated **

createGraphElementPackageSYSML

protected GraphElement createGraphElementPackageSYSML(PackageSYSML element,
                                                      java.lang.String presentation)
Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementActor

protected GraphElement createGraphElementActor(org.eclipse.uml2.uml.Actor element,
                                               java.lang.String presentation)
Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementUseCase

protected GraphElement createGraphElementUseCase(org.eclipse.uml2.uml.UseCase element,
                                                 java.lang.String presentation)
Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementAssociation

protected GraphElement createGraphElementAssociation(org.eclipse.uml2.uml.Association element,
                                                     java.lang.String presentation)
Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **
NOT

createGraphElementGeneralization

protected GraphElement createGraphElementGeneralization(org.eclipse.uml2.uml.Generalization element,
                                                        java.lang.String presentation)
Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementInclude

protected GraphElement createGraphElementInclude(org.eclipse.uml2.uml.Include element,
                                                 java.lang.String presentation)
Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementExtend

protected GraphElement createGraphElementExtend(org.eclipse.uml2.uml.Extend element,
                                                java.lang.String presentation)
Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createGraphElementComment

protected GraphElement createGraphElementComment(org.eclipse.uml2.uml.Comment element,
                                                 java.lang.String presentation)
Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **

createModelObject

public EObject createModelObject(EObject obj)
Create the ModelObject with its initial children

Parameters:
obj - the model object
Returns:
the model object with its children
** Generated **

SysML

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.