|
Modelers | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of GraphElement in org.topcased.modeler.commands |
|---|
| Methods in org.topcased.modeler.commands that return GraphElement | |
|---|---|
GraphElement |
CreateGraphEdgeCommand.getContainer()
Get the container GraphElement |
protected GraphElement |
AbstractRestoreConnectionCommand.getGraphElement()
|
GraphElement |
ReconnectGraphEdgeCommand.getNewElement()
Get the target GraphNode |
GraphElement |
ReconnectGraphEdgeCommand.getOldElement()
Get the source GraphNode |
protected GraphElement |
ReconnectEdgeToSourceCommand.getOldGraphElement(org.eclipse.gef.ConnectionEditPart connection)
|
protected GraphElement |
ReconnectEdgeToTargetCommand.getOldGraphElement(org.eclipse.gef.ConnectionEditPart connection)
|
protected GraphElement |
ReconnectTargetToEdgeCommand.getOldGraphElement(org.eclipse.gef.ConnectionEditPart connection)
|
protected GraphElement |
ReconnectNodeToNodeCommand.getOldGraphElement(org.eclipse.gef.ConnectionEditPart connection)
|
protected abstract GraphElement |
ReconnectGraphEdgeCommand.getOldGraphElement(org.eclipse.gef.ConnectionEditPart connection)
|
protected GraphElement |
ReconnectSourceToEdgeCommand.getOldGraphElement(org.eclipse.gef.ConnectionEditPart connection)
|
GraphElement |
CreateGraphEdgeCommand.getSource()
Get the source GraphNode |
GraphElement |
CreateGraphEdgeCommand.getTarget()
Get the target GraphNode |
| Methods in org.topcased.modeler.commands with parameters of type GraphElement | |
|---|---|
protected java.util.List<GraphEdge> |
AbstractRestoreConnectionCommand.getExistingEdges(GraphElement src,
GraphElement tgt,
java.lang.Class edgeClass)
|
protected java.util.List |
AbstractRestoreConnectionCommand.getExistingEdges(GraphElement src,
GraphElement tgt,
java.lang.String type)
|
void |
ReconnectGraphEdgeCommand.setNewElement(GraphElement newElement)
Set the target node |
void |
CreateGraphEdgeCommand.setTarget(GraphElement target)
Set the target node |
| Method parameters in org.topcased.modeler.commands with type arguments of type GraphElement | |
|---|---|
protected org.eclipse.gef.commands.Command |
DeleteModelCommand.createRemoveGraphCommand(java.util.List<GraphElement> deletedGraphElts)
Create the CompoundCommand that remove the GraphElement objects |
| Constructors in org.topcased.modeler.commands with parameters of type GraphElement | |
|---|---|
AbstractMoveCommand(GraphElement element)
Constructor. Cannot be instantiated since it is an abstract class. |
|
ChangeGraphElementPresentationCommand(GraphElement graphElt,
java.lang.String newPres)
Constructor |
|
ChangeMultiPortStateCommand(GraphElement element,
java.lang.String state)
Deprecated. Constructor |
|
CreateGraphEdgeCommand(org.eclipse.gef.EditDomain domain,
GraphEdge newObj,
GraphElement src,
boolean needModelUpdate)
Constructor. |
|
CreateGraphEdgeCommand(org.eclipse.gef.EditDomain domain,
GraphEdge newObj,
GraphElement src,
java.util.List featuresList,
boolean needModelUpdate)
Constructor |
|
CreateTypedEdgeCommand(org.eclipse.gef.EditDomain domain,
GraphEdge newObj,
GraphElement src,
boolean needModelUpdate)
The constructor |
|
DeleteGraphElementCommand(GraphElement elt,
boolean deleteEdge)
Build the command |
|
MoveBackwardCommand(GraphElement element)
|
|
MoveForwardCommand(GraphElement element)
|
|
MoveToBackCommand(GraphElement element)
|
|
MoveToFrontCommand(GraphElement element)
|
|
ReplaceNodeContainerCommand(GraphElement currentObject,
GraphElement hostNode,
org.eclipse.draw2d.geometry.Point position)
Node ContainerCommand Constructor. |
|
| Uses of GraphElement in org.topcased.modeler.di.model |
|---|
| Subinterfaces of GraphElement in org.topcased.modeler.di.model | |
|---|---|
interface |
Diagram
A representation of the model object 'Diagram'. |
interface |
GraphEdge
A representation of the model object 'Graph Edge'. |
interface |
GraphNode
A representation of the model object 'Graph Node'. |
| Methods in org.topcased.modeler.di.model that return GraphElement | |
|---|---|
GraphElement |
DiagramElement.getContainer()
Returns the value of the 'Container' container reference. |
GraphElement |
SemanticModelBridge.getGraphElement()
Returns the value of the 'Graph Element' container reference. |
GraphElement |
GraphConnector.getGraphElement()
Returns the value of the 'Graph Element' container reference. |
GraphElement |
DiagramLink.getGraphElement()
Returns the value of the 'Graph Element' container reference. |
| Methods in org.topcased.modeler.di.model with parameters of type GraphElement | |
|---|---|
void |
DiagramElement.setContainer(GraphElement value)
Sets the value of the ' Container' container reference. |
void |
SemanticModelBridge.setGraphElement(GraphElement value)
Sets the value of the ' Graph Element' container reference. |
void |
GraphConnector.setGraphElement(GraphElement value)
Sets the value of the ' Graph Element' container reference. |
void |
DiagramLink.setGraphElement(GraphElement value)
Sets the value of the ' Graph Element' container reference. |
| Uses of GraphElement in org.topcased.modeler.di.model.util |
|---|
| Methods in org.topcased.modeler.di.model.util with parameters of type GraphElement | |
|---|---|
T |
DiagramInterchangeSwitch.caseGraphElement(GraphElement object)
Returns the result of interpretting the object as an instance of 'Graph Element'. |
| Uses of GraphElement in org.topcased.modeler.diagrams.model.util |
|---|
| Methods in org.topcased.modeler.diagrams.model.util that return GraphElement | |
|---|---|
static GraphElement |
DiagramsUtils.getNearestCommonParentGraphElement(GraphElement elt1,
GraphElement elt2)
This method is used to retrieve the first GraphElement that both contains (directly or not) the two passed GraphElements. |
| Methods in org.topcased.modeler.diagrams.model.util with parameters of type GraphElement | |
|---|---|
static GraphElement |
DiagramsUtils.getNearestCommonParentGraphElement(GraphElement elt1,
GraphElement elt2)
This method is used to retrieve the first GraphElement that both contains (directly or not) the two passed GraphElements. |
| Uses of GraphElement in org.topcased.modeler.dialogs |
|---|
| Constructors in org.topcased.modeler.dialogs with parameters of type GraphElement | |
|---|---|
ChooseGraphElementDialog(org.eclipse.swt.widgets.Shell parentShell,
org.eclipse.gef.EditDomain editDomain,
GraphElement[] elements)
Constructor |
|
| Uses of GraphElement in org.topcased.modeler.edit.policies |
|---|
| Methods in org.topcased.modeler.edit.policies with parameters of type GraphElement | |
|---|---|
protected abstract boolean |
AbstractEdgeCreationEditPolicy.checkSource(GraphElement source)
Check that source object supports the current edge |
protected abstract boolean |
AbstractEdgeCreationEditPolicy.checkTargetForSource(GraphElement source,
GraphElement target)
Check that source and target are available for this type of edge |
protected abstract CreateTypedEdgeCommand |
AbstractEdgeCreationEditPolicy.createCommand(org.eclipse.gef.EditDomain domain,
GraphEdge edge,
GraphElement source)
Get new edge creation command |
protected EObject |
MultiPortLayoutEditPolicy.getParentContainerEObject(GraphElement parent)
By default, it is the model object associated with the parent node that should contain the child |
protected EObject |
ModelerLayoutEditPolicy.getParentContainerEObject(GraphElement parent,
DiagramElement child)
By default, it is the model object associated with the parent node that should contain the child |
protected EObject |
EListLayoutEditPolicy.getParentContainerEObject(GraphElement parent,
DiagramElement child)
By default, it is the model object associated with the parent node that should contain the child |
protected abstract SourceTargetData |
AbstractEdgeCreationEditPolicy.getSourceTargetData(GraphElement source,
GraphElement target)
Build a SourceTargetData structure for a given source and a given target |
| Uses of GraphElement in org.topcased.modeler.editor |
|---|
| Methods in org.topcased.modeler.editor that return GraphElement | |
|---|---|
GraphElement |
AbstractCreationUtils.createGraphElement(EObject model)
|
GraphElement |
ICreationUtils.createGraphElement(EObject obj)
Create the GraphElement with its initial children and a given presentation |
GraphElement |
ICreationUtils.createGraphElement(EObject obj,
java.lang.String presentation)
Create the GraphElement with its initial children and a given presentation |
| Uses of GraphElement in org.topcased.modeler.editor.properties.sections.graphics |
|---|
| Methods in org.topcased.modeler.editor.properties.sections.graphics that return GraphElement | |
|---|---|
GraphElement |
PositionPropertySection.getElement()
Get the element. |
| Uses of GraphElement in org.topcased.modeler.utils |
|---|
| Methods in org.topcased.modeler.utils that return GraphElement | |
|---|---|
static GraphElement |
Utils.getGraphElement(GraphElement container,
EObject model)
Returns the GraphElement child associated with the given model object |
static GraphElement |
Utils.getGraphElement(GraphElement container,
EObject model,
boolean deepSearch)
Returns the GraphElement child associated with the given model object |
static GraphElement[] |
Utils.getGraphElements(Diagrams diagrams,
EObject model)
Returns the graphElements associated with the given EObject in all the diagrams |
static GraphElement |
Utils.getSource(GraphEdge gEdge)
Get the source GraphElement for the given connection |
static GraphElement |
Utils.getTarget(GraphEdge gEdge)
Get the target GraphElement for the given connection |
| Methods in org.topcased.modeler.utils with parameters of type GraphElement | |
|---|---|
static org.eclipse.swt.graphics.Color |
Utils.getBackgroundColor(GraphElement graphElement)
Returns the background Color of the Figure |
static Diagram |
Utils.getDiagram(GraphElement graphElement)
Used to get the Diagram node of a given graphElement |
static EObject |
Utils.getDiagramModelObject(GraphElement graphElement)
Used to get the model object that is the root of the current diagram |
static Diagram[] |
Utils.getDiagrams(GraphElement[] graphElements)
Used to get the Diagrams of GraphElements |
static java.util.List |
Utils.getEdges(GraphElement gElt)
Get the list of the incoming/outgoing connections |
static EObject |
Utils.getElement(GraphElement graphElt)
Returns the model object linked with the given graph element (If the bridge is an EMFSemanticModelBridge) |
static org.eclipse.swt.graphics.Color |
Utils.getForegroundColor(GraphElement graphElement)
Returns the foreground Color of the Figure |
static GraphElement |
Utils.getGraphElement(GraphElement container,
EObject model)
Returns the GraphElement child associated with the given model object |
static GraphElement |
Utils.getGraphElement(GraphElement container,
EObject model,
boolean deepSearch)
Returns the GraphElement child associated with the given model object |
static java.util.List |
Utils.getGraphElements(GraphElement container,
EObject model,
boolean deepSearch)
Returns the GraphElement children associated with the given model object |
static java.util.List<GraphEdge> |
Utils.getSourceEdges(GraphElement gElt)
Get the list of the outgoing connection |
static java.util.List |
Utils.getTargetEdges(GraphElement gElt)
Get the list of the incoming connection |
static java.lang.String |
Utils.getTypeInfo(GraphElement graphElt)
Returns the type info associated with the given graph element (If the bridge is a SimpleSemanticModelBridge) |
static boolean |
Utils.isChild(GraphElement parent,
GraphElement child)
Check if an object is a child of an other object |
|
Modelers | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.