SysML

org.topcased.modeler.sysml.blockdefinitiondiagram
Class BlockDefCreationUtils

java.lang.Object
  extended by AbstractCreationUtils
      extended by org.topcased.modeler.sysml.blockdefinitiondiagram.BlockDefCreationUtils

public class BlockDefCreationUtils
extends AbstractCreationUtils

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

** Generated **

Constructor Summary
BlockDefCreationUtils(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)
           
 GraphElement createGraphElementBehavioredClassifier(org.eclipse.uml2.uml.BehavioredClassifier element)
           
protected  GraphElement createGraphElementBlock(Block element, java.lang.String presentation)
           
protected  GraphElement createGraphElementBlockProperty(BlockProperty 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 createGraphElementConstraint(org.eclipse.uml2.uml.Constraint element, java.lang.String presentation)
           
protected  GraphElement createGraphElementConstraintBlock(ConstraintBlock element, java.lang.String presentation)
           
protected  GraphElement createGraphElementContainment(Containment 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 createGraphElementDimension(Dimension 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 createGraphElementFlowPort(FlowPort element, java.lang.String presentation)
           
protected  GraphElement createGraphElementFlowProperty(FlowProperty element, java.lang.String presentation)
           
protected  GraphElement createGraphElementFlowSpecification(FlowSpecification element, java.lang.String presentation)
           
protected  GraphElement createGraphElementGeneralization(org.eclipse.uml2.uml.Generalization 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 createGraphElementPort(org.eclipse.uml2.uml.Port element, java.lang.String presentation)
           
protected  GraphElement createGraphElementProblem(Problem element, java.lang.String presentation)
           
protected  GraphElement createGraphElementProperty(org.eclipse.uml2.uml.Property element, java.lang.String presentation)
           
protected  GraphElement createGraphElementRationale(Rationale element, java.lang.String presentation)
           
protected  GraphElement createGraphElementUnit(Unit element, java.lang.String presentation)
           
protected  GraphElement createGraphElementUsage(org.eclipse.uml2.uml.Usage element, java.lang.String presentation)
           
protected  GraphElement createGraphElementValueType(ValueType 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  Block createModelObjectBlock(Block element)
           
protected  BlockProperty createModelObjectBlockProperty(BlockProperty element)
           
protected  org.eclipse.uml2.uml.Comment createModelObjectComment(org.eclipse.uml2.uml.Comment element)
           
protected  org.eclipse.uml2.uml.Connector createModelObjectConnector(org.eclipse.uml2.uml.Connector element)
           
protected  org.eclipse.uml2.uml.Constraint createModelObjectConstraint(org.eclipse.uml2.uml.Constraint element)
           
protected  ConstraintBlock createModelObjectConstraintBlock(ConstraintBlock element)
           
protected  org.eclipse.uml2.uml.DataType createModelObjectDataType(org.eclipse.uml2.uml.DataType element)
           
protected  org.eclipse.uml2.uml.Dependency createModelObjectDependency(org.eclipse.uml2.uml.Dependency element)
           
protected  org.eclipse.draw2d.geometry.Dimension createModelObjectDimension(org.eclipse.draw2d.geometry.Dimension element)
           
protected  org.eclipse.uml2.uml.Enumeration createModelObjectEnumeration(org.eclipse.uml2.uml.Enumeration element)
           
protected  org.eclipse.uml2.uml.EnumerationLiteral createModelObjectEnumerationLiteral(org.eclipse.uml2.uml.EnumerationLiteral element)
           
protected  FlowPort createModelObjectFlowPort(FlowPort element)
           
protected  FlowProperty createModelObjectFlowProperty(FlowProperty element)
           
protected  FlowSpecification createModelObjectFlowSpecification(FlowSpecification element)
           
protected  org.eclipse.uml2.uml.Generalization createModelObjectGeneralization(org.eclipse.uml2.uml.Generalization element)
           
protected  org.eclipse.uml2.uml.Interface createModelObjectInterface(org.eclipse.uml2.uml.Interface element)
           
protected  org.eclipse.uml2.uml.InterfaceRealization createModelObjectInterfaceRealization(org.eclipse.uml2.uml.InterfaceRealization element)
           
protected  org.eclipse.uml2.uml.Operation createModelObjectOperation(org.eclipse.uml2.uml.Operation element)
           
protected  org.eclipse.uml2.uml.Port createModelObjectPort(org.eclipse.uml2.uml.Port element)
           
protected  Problem createModelObjectProblem(Problem element)
           
protected  org.eclipse.uml2.uml.Property createModelObjectProperty(org.eclipse.uml2.uml.Property element)
           
protected  Rationale createModelObjectRationale(Rationale element)
           
protected  Unit createModelObjectUnit(Unit element)
           
protected  org.eclipse.uml2.uml.Usage createModelObjectUsage(org.eclipse.uml2.uml.Usage element)
           
protected  ValueType createModelObjectValueType(ValueType element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockDefCreationUtils

public BlockDefCreationUtils(DiagramGraphConf diagramConf)
Constructor

Parameters:
diagramConf - the Diagram Graphical Configuration
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 **

createGraphElementBlockProperty

protected GraphElement createGraphElementBlockProperty(BlockProperty element,
                                                       java.lang.String presentation)
Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** 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 **

createGraphElementOperation

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

createGraphElementConstraint

protected GraphElement createGraphElementConstraint(org.eclipse.uml2.uml.Constraint 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 **
NOT

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 **

createGraphElementFlowProperty

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

createGraphElementFlowPort

protected GraphElement createGraphElementFlowPort(FlowPort 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 **

createGraphElementValueType

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

createGraphElementEnumeration

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

createGraphElementEnumerationLiteral

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

createGraphElementConstraintBlock

protected GraphElement createGraphElementConstraintBlock(ConstraintBlock 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 **

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 **

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 **

createGraphElementUnit

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

createGraphElementDimension

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

createGraphElementContainment

protected GraphElement createGraphElementContainment(Containment 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 **

createGraphElementRationale

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

createGraphElementProblem

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

createGraphElementBlock

protected GraphElement createGraphElementBlock(Block element,
                                               java.lang.String presentation)

Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **
NOT

createGraphElementFlowSpecification

protected GraphElement createGraphElementFlowSpecification(FlowSpecification element,
                                                           java.lang.String presentation)

Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **
NOT

createGraphElementDataType

protected GraphElement createGraphElementDataType(org.eclipse.uml2.uml.DataType element,
                                                  java.lang.String presentation)

Parameters:
element - the model element
presentation - the presentation of the graphical element
Returns:
the complete GraphElement
** Generated **
NOT

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

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 **
NOT

createGraphElementBehavioredClassifier

public GraphElement createGraphElementBehavioredClassifier(org.eclipse.uml2.uml.BehavioredClassifier element)

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

createModelObjectBlock

protected Block createModelObjectBlock(Block element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectBlockProperty

protected BlockProperty createModelObjectBlockProperty(BlockProperty element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectProperty

protected org.eclipse.uml2.uml.Property createModelObjectProperty(org.eclipse.uml2.uml.Property element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectOperation

protected org.eclipse.uml2.uml.Operation createModelObjectOperation(org.eclipse.uml2.uml.Operation element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectConstraint

protected org.eclipse.uml2.uml.Constraint createModelObjectConstraint(org.eclipse.uml2.uml.Constraint element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectInterface

protected org.eclipse.uml2.uml.Interface createModelObjectInterface(org.eclipse.uml2.uml.Interface element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectPort

protected org.eclipse.uml2.uml.Port createModelObjectPort(org.eclipse.uml2.uml.Port element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectFlowSpecification

protected FlowSpecification createModelObjectFlowSpecification(FlowSpecification element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectFlowProperty

protected FlowProperty createModelObjectFlowProperty(FlowProperty element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectFlowPort

protected FlowPort createModelObjectFlowPort(FlowPort element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectActor

protected org.eclipse.uml2.uml.Actor createModelObjectActor(org.eclipse.uml2.uml.Actor element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectDataType

protected org.eclipse.uml2.uml.DataType createModelObjectDataType(org.eclipse.uml2.uml.DataType element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectValueType

protected ValueType createModelObjectValueType(ValueType element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectEnumeration

protected org.eclipse.uml2.uml.Enumeration createModelObjectEnumeration(org.eclipse.uml2.uml.Enumeration element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectEnumerationLiteral

protected org.eclipse.uml2.uml.EnumerationLiteral createModelObjectEnumerationLiteral(org.eclipse.uml2.uml.EnumerationLiteral element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectConstraintBlock

protected ConstraintBlock createModelObjectConstraintBlock(ConstraintBlock element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectAssociation

protected org.eclipse.uml2.uml.Association createModelObjectAssociation(org.eclipse.uml2.uml.Association element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectGeneralization

protected org.eclipse.uml2.uml.Generalization createModelObjectGeneralization(org.eclipse.uml2.uml.Generalization element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectInterfaceRealization

protected org.eclipse.uml2.uml.InterfaceRealization createModelObjectInterfaceRealization(org.eclipse.uml2.uml.InterfaceRealization element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectUsage

protected org.eclipse.uml2.uml.Usage createModelObjectUsage(org.eclipse.uml2.uml.Usage element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectDependency

protected org.eclipse.uml2.uml.Dependency createModelObjectDependency(org.eclipse.uml2.uml.Dependency element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectConnector

protected org.eclipse.uml2.uml.Connector createModelObjectConnector(org.eclipse.uml2.uml.Connector element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectComment

protected org.eclipse.uml2.uml.Comment createModelObjectComment(org.eclipse.uml2.uml.Comment element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectRationale

protected Rationale createModelObjectRationale(Rationale element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectProblem

protected Problem createModelObjectProblem(Problem element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectUnit

protected Unit createModelObjectUnit(Unit element)

Parameters:
element - the original model element
Returns:
the complete Model Object

createModelObjectDimension

protected org.eclipse.draw2d.geometry.Dimension createModelObjectDimension(org.eclipse.draw2d.geometry.Dimension element)

Parameters:
element - the original model element
Returns:
the complete Model Object

SysML

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