UML

org.topcased.modeler.uml.compositestructuresdiagram
Class CompositeStructuresCreationUtils

java.lang.Object
  extended by AbstractCreationUtils
      extended by org.topcased.modeler.uml.compositestructuresdiagram.CompositeStructuresCreationUtils

public class CompositeStructuresCreationUtils
extends AbstractCreationUtils

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


Constructor Summary
CompositeStructuresCreationUtils(DiagramGraphConf diagramConf)
          Constructor
 
Method Summary
 GraphElement createGraphElement(EObject obj, java.lang.String presentation)
           
protected  GraphElement createGraphElementClass(org.eclipse.uml2.uml.Class element, java.lang.String presentation)
           
protected  GraphElement createGraphElementCollaboration(org.eclipse.uml2.uml.Collaboration element, java.lang.String presentation)
           
protected  GraphElement createGraphElementCollaborationUse(org.eclipse.uml2.uml.CollaborationUse element, java.lang.String presentation)
           
protected  GraphElement createGraphElementComment(org.eclipse.uml2.uml.Comment element, java.lang.String presentation)
           
protected  GraphElement createGraphElementConnector(org.eclipse.uml2.uml.Connector element, java.lang.String presentation)
           
protected  GraphElement createGraphElementDependency(org.eclipse.uml2.uml.Dependency 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 createGraphElementProperty(org.eclipse.uml2.uml.Property 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

CompositeStructuresCreationUtils

public CompositeStructuresCreationUtils(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 **

createGraphElementProperty

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

createGraphElementInterface

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

createGraphElementPort

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

createGraphElementCollaborationUse

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

createGraphElementClass

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

createGraphElementCollaboration

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

createGraphElementConnector

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

createGraphElementInterfaceRealization

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

createGraphElementUsage

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

createGraphElementDependency

protected GraphElement createGraphElementDependency(org.eclipse.uml2.uml.Dependency 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 **

UML

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