|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.topcased.modeler.editor.AbstractCreationUtils
public abstract class AbstractCreationUtils
creation : 2 nov. 2005
Constructor Summary | |
---|---|
AbstractCreationUtils(DiagramGraphConf diagramConf)
Constructor |
Method Summary | |
---|---|
protected GraphEdge |
createGraphEdge(EObject model)
Creates a graph edge for an EMF object |
protected GraphEdge |
createGraphEdge(EObject model,
java.lang.String presentation)
Creates a graph edge for an EMF object with a given presentation |
GraphElement |
createGraphElement(EObject model)
Create the GraphElement with its initial children and a given presentation |
protected GraphNode |
createGraphNode(EObject model)
Creates a graph node for an EMF object |
protected GraphNode |
createGraphNode(EObject model,
int featureID)
Creates a graph node for the EStructuralFeature of an EMF object |
protected GraphNode |
createGraphNode(EObject model,
int featureID,
java.lang.String presentation)
Creates a graph node for the EStructuralFeature of an EMF object with a given presentation |
protected GraphNode |
createGraphNode(EObject model,
java.lang.String presentation)
Creates a graph node for an EMF object with a given presentation |
protected java.lang.String |
getDefaultPresentation(EObject obj)
Get the first presentation of the model object |
protected DiagramGraphConf |
getDiagramGraphConf()
Return the Diagram Graphical Configuration associated with this Factory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.topcased.modeler.editor.ICreationUtils |
---|
createGraphElement, createModelObject |
Constructor Detail |
---|
public AbstractCreationUtils(DiagramGraphConf diagramConf)
diagramConf
- the Diagram Graphical ConfigurationMethod Detail |
---|
protected DiagramGraphConf getDiagramGraphConf()
protected java.lang.String getDefaultPresentation(EObject obj)
obj
- the model object
public GraphElement createGraphElement(EObject model)
ICreationUtils
createGraphElement
in interface ICreationUtils
model
- the model object
ICreationUtils.createGraphElement(org.eclipse.emf.ecore.EObject)
protected GraphNode createGraphNode(EObject model)
model
- the EMF Object
protected GraphNode createGraphNode(EObject model, java.lang.String presentation)
model
- the EMF Objectpresentation
- the presentation of the graphical element
protected GraphNode createGraphNode(EObject model, int featureID)
model
- the EMF ObjectfeatureID
- the EStructuralFeatureID
protected GraphNode createGraphNode(EObject model, int featureID, java.lang.String presentation)
model
- the EMF ObjectfeatureID
- the EStructuralFeatureIDpresentation
- the presentation of the graphical element
protected GraphEdge createGraphEdge(EObject model)
model
- the EMF Object
protected GraphEdge createGraphEdge(EObject model, java.lang.String presentation)
model
- the EMF Objectpresentation
- the presentation of the graphical element
|
Modelers | |||||||||
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.