|
SysML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractCreationUtils
org.topcased.modeler.sysml.blockdefinitiondiagram.BlockDefCreationUtils
public class BlockDefCreationUtils
This utility class allows to create a GraphElement associated with a Model Object
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 |
---|
public BlockDefCreationUtils(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 createGraphElementBlockProperty(BlockProperty 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 createGraphElementOperation(org.eclipse.uml2.uml.Operation element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementConstraint(org.eclipse.uml2.uml.Constraint 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 createGraphElementPort(org.eclipse.uml2.uml.Port element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementFlowProperty(FlowProperty element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementFlowPort(FlowPort 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 createGraphElementValueType(ValueType 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 createGraphElementConstraintBlock(ConstraintBlock 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 createGraphElementUsage(org.eclipse.uml2.uml.Usage element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementConnector(org.eclipse.uml2.uml.Connector element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementUnit(Unit element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementDimension(Dimension element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementContainment(Containment 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
protected GraphElement createGraphElementRationale(Rationale element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementProblem(Problem element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementBlock(Block element, java.lang.String presentation)
element
- the model elementpresentation
- the presentation of the graphical element
protected GraphElement createGraphElementFlowSpecification(FlowSpecification 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 createGraphElementAssociation(org.eclipse.uml2.uml.Association 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
public GraphElement createGraphElementBehavioredClassifier(org.eclipse.uml2.uml.BehavioredClassifier element)
public EObject createModelObject(EObject obj)
obj
- the model object
protected Block createModelObjectBlock(Block element)
element
- the original model element
protected BlockProperty createModelObjectBlockProperty(BlockProperty element)
element
- the original model element
protected org.eclipse.uml2.uml.Property createModelObjectProperty(org.eclipse.uml2.uml.Property element)
element
- the original model element
protected org.eclipse.uml2.uml.Operation createModelObjectOperation(org.eclipse.uml2.uml.Operation element)
element
- the original model element
protected org.eclipse.uml2.uml.Constraint createModelObjectConstraint(org.eclipse.uml2.uml.Constraint element)
element
- the original model element
protected org.eclipse.uml2.uml.Interface createModelObjectInterface(org.eclipse.uml2.uml.Interface element)
element
- the original model element
protected org.eclipse.uml2.uml.Port createModelObjectPort(org.eclipse.uml2.uml.Port element)
element
- the original model element
protected FlowSpecification createModelObjectFlowSpecification(FlowSpecification element)
element
- the original model element
protected FlowProperty createModelObjectFlowProperty(FlowProperty element)
element
- the original model element
protected FlowPort createModelObjectFlowPort(FlowPort 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.DataType createModelObjectDataType(org.eclipse.uml2.uml.DataType element)
element
- the original model element
protected ValueType createModelObjectValueType(ValueType element)
element
- the original model element
protected org.eclipse.uml2.uml.Enumeration createModelObjectEnumeration(org.eclipse.uml2.uml.Enumeration element)
element
- the original model element
protected org.eclipse.uml2.uml.EnumerationLiteral createModelObjectEnumerationLiteral(org.eclipse.uml2.uml.EnumerationLiteral element)
element
- the original model element
protected ConstraintBlock createModelObjectConstraintBlock(ConstraintBlock 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.InterfaceRealization createModelObjectInterfaceRealization(org.eclipse.uml2.uml.InterfaceRealization element)
element
- the original model element
protected org.eclipse.uml2.uml.Usage createModelObjectUsage(org.eclipse.uml2.uml.Usage element)
element
- the original model element
protected org.eclipse.uml2.uml.Dependency createModelObjectDependency(org.eclipse.uml2.uml.Dependency element)
element
- the original model element
protected org.eclipse.uml2.uml.Connector createModelObjectConnector(org.eclipse.uml2.uml.Connector element)
element
- the original model element
protected org.eclipse.uml2.uml.Comment createModelObjectComment(org.eclipse.uml2.uml.Comment element)
element
- the original model element
protected Rationale createModelObjectRationale(Rationale element)
element
- the original model element
protected Problem createModelObjectProblem(Problem element)
element
- the original model element
protected Unit createModelObjectUnit(Unit element)
element
- the original model element
protected org.eclipse.draw2d.geometry.Dimension createModelObjectDimension(org.eclipse.draw2d.geometry.Dimension element)
element
- the original model element
|
SysML | |||||||||
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.