|
Modelers | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of GraphNode in org.topcased.modeler.commands |
---|
Methods in org.topcased.modeler.commands that return GraphNode | |
---|---|
protected GraphNode |
AddGraphNodeCommand.getChildNode()
Deprecated. Return the childNode to create |
protected GraphNode |
CreateGraphNodeCommand.getChildNode()
Return the childNode to create |
protected GraphNode |
CreateGraphNodeCommand.getParentNode()
Return the parentNode that will contain the childNode |
Constructors in org.topcased.modeler.commands with parameters of type GraphNode | |
---|---|
AddGraphNodeCommand(GraphNode newParent,
GraphNode child,
java.lang.Object constraint)
Deprecated. Constructor |
|
AddPortToMultiPortCommand(GraphNode parent,
GraphNode child)
Constructor |
|
ChangeBoundsCommand(GraphNode node,
PortConstraint constraint)
Constructor |
|
ChangeBoundsCommand(GraphNode node,
PortConstraint constraint,
boolean childAttach)
Constructor |
|
ChangeBoundsCommand(GraphNode node,
org.eclipse.draw2d.geometry.Rectangle constraint)
Constructor |
|
ChangeBoundsCommand(GraphNode node,
org.eclipse.draw2d.geometry.Rectangle constraint,
boolean childAttach)
Constructor |
|
CreateGraphNodeCommand(org.eclipse.gef.EditDomain domain,
GraphNode newObject,
GraphNode newParent,
EObject newContainerParent,
org.eclipse.draw2d.geometry.Point location,
org.eclipse.draw2d.geometry.Dimension dimension,
int attach,
java.util.List featuresList,
boolean needModelUpdate)
Constructor |
|
CreateGraphNodeCommand(org.eclipse.gef.EditDomain domain,
GraphNode newObject,
GraphNode newParent,
org.eclipse.draw2d.geometry.Point location,
org.eclipse.draw2d.geometry.Dimension dimension,
int attach)
Constructor - Add simply a graphNode to its container Node without updating the model |
|
CreateGraphNodeCommand(org.eclipse.gef.EditDomain domain,
GraphNode newObject,
GraphNode newParent,
org.eclipse.draw2d.geometry.Point location,
org.eclipse.draw2d.geometry.Dimension dimension,
java.util.List featuresList,
boolean needModelUpdate)
Constructor |
Uses of GraphNode in org.topcased.modeler.di.model |
---|
Subinterfaces of GraphNode in org.topcased.modeler.di.model | |
---|---|
interface |
Diagram
A representation of the model object 'Diagram'. |
Methods in org.topcased.modeler.di.model that return GraphNode | |
---|---|
GraphNode |
DiagramInterchangeFactory.createGraphNode()
Returns a new object of class 'Graph Node'. |
Uses of GraphNode in org.topcased.modeler.di.model.util |
---|
Methods in org.topcased.modeler.di.model.util with parameters of type GraphNode | |
---|---|
T |
DiagramInterchangeSwitch.caseGraphNode(GraphNode object)
Returns the result of interpretting the object as an instance of 'Graph Node'. |
Uses of GraphNode in org.topcased.modeler.edit |
---|
Methods in org.topcased.modeler.edit that return GraphNode | |
---|---|
protected GraphNode |
EListEditPart.getGraphNode()
Get the graphNode model object (DI) associated with the EditPart |
protected GraphNode |
GraphNodeEditPart.getGraphNode()
Get the graphNode model object (DI) associated with the EditPart |
Constructors in org.topcased.modeler.edit with parameters of type GraphNode | |
---|---|
EListEditPart(GraphNode obj,
EStructuralFeature feature)
Constructor |
|
EMFGraphNodeEditPart(GraphNode obj)
Constructor |
|
GraphNodeEditPart(GraphNode obj)
Constructor |
|
MultiPortEditPart(GraphNode obj)
|
|
PortEditPart(GraphNode obj)
The Constructor |
Uses of GraphNode in org.topcased.modeler.edit.policies |
---|
Methods in org.topcased.modeler.edit.policies with parameters of type GraphNode | |
---|---|
protected int |
ModelerLayoutEditPolicy.borderToAttach(GraphNode node)
Gives the border to attach to. |
protected int |
ModelerLayoutEditPolicy.calculateChildAttachment(GraphNode node,
org.eclipse.draw2d.geometry.Point loc,
org.eclipse.draw2d.geometry.Rectangle container)
Calculate the nearest border where the graphNode should be attached at the creation depending on its location ( Point ) and its container (Rectangle ) |
protected org.eclipse.draw2d.geometry.Point |
MultiPortLayoutEditPolicy.calculateChildPosition(org.eclipse.draw2d.geometry.Rectangle constraint,
GraphNode childGraphNode)
Calculate the Point where to create the child node |
protected org.eclipse.gef.commands.Command |
ModelerLayoutEditPolicy.getCreateCommand(org.eclipse.gef.EditDomain domain,
GraphNode newObject,
GraphNode newParent,
EObject newContainerParent,
org.eclipse.draw2d.geometry.Point location,
org.eclipse.draw2d.geometry.Dimension dimension,
int attach,
java.util.List featuresList,
boolean needModelUpdate)
Generate the command. |
protected org.eclipse.gef.commands.Command |
EListLayoutEditPolicy.getCreateCommand(org.eclipse.gef.EditDomain domain,
GraphNode newObject,
GraphNode newParent,
EObject newContainerParent,
org.eclipse.draw2d.geometry.Point location,
org.eclipse.draw2d.geometry.Dimension dimension,
java.util.List featuresList,
boolean needModelUpdate)
Generate the command. |
protected org.eclipse.gef.commands.Command |
MultiPortLayoutEditPolicy.getCreateCommand(GraphNode parent,
GraphNode child,
org.eclipse.draw2d.geometry.Point loc,
org.eclipse.draw2d.geometry.Dimension dim,
boolean needModelUpdate)
Returns the command for the GraphElement creation |
protected org.eclipse.gef.commands.Command |
ModelerLayoutEditPolicy.getCreateCommand(GraphNode parent,
GraphNode child,
org.eclipse.draw2d.geometry.Point loc,
org.eclipse.draw2d.geometry.Dimension dim,
int pos,
boolean needModelUpdate)
Returns the command for the GraphElement creation |
protected org.eclipse.gef.commands.Command |
EListLayoutEditPolicy.getCreateCommand(GraphNode parent,
GraphNode child,
org.eclipse.draw2d.geometry.Point loc,
org.eclipse.draw2d.geometry.Dimension dim,
java.util.List featuresList,
boolean needModelUpdate)
Returns the command for the GraphElement creation |
protected boolean |
ModelerLayoutEditPolicy.isAttachedToBorder(GraphNode node)
Determine if the object must be attached to the nearest border. |
protected boolean |
MultiPortLayoutEditPolicy.isExternalObjectAllowed(GraphNode parent,
GraphNode child)
Returns true if an external object can be displayed in
this container. |
protected boolean |
EListLayoutEditPolicy.isExternalObjectAllowed(GraphNode parent,
GraphNode child)
Returns true if an external object can be displayed in
this container. |
protected boolean |
ModelerLayoutEditPolicy.isExternalObjectAllowed(GraphNode parent,
GraphNode child)
Returns true if an external object can be displayed in this container. |
protected boolean |
MultiPortLayoutEditPolicy.isSeveralDisplayAllowed(GraphNode parent,
GraphNode child,
boolean needModelUpdate)
Returns true if an model object can be displayed several
time in the same diagram.This method can be overridden by subclasses to fit with diagram requirement. Default behavior is only one representation of an object is allowed. |
protected boolean |
EListLayoutEditPolicy.isSeveralDisplayAllowed(GraphNode parent,
GraphNode child,
boolean needModelUpdate)
Returns true if a model object can be displayed several
time in the same list.This method can be overridden by subclasses to fit with diagram requirement. Default behavior is only one representation of an object is allowed. |
protected boolean |
ModelerLayoutEditPolicy.isSeveralDisplayAllowed(GraphNode parent,
GraphNode child,
boolean needModelUpdate)
Returns true if an model object can be displayed several time in the same diagram.This method can be overridden by subclasses to fit with diagram requirement. Default behavior is only one representation of an object is allowed. |
Uses of GraphNode in org.topcased.modeler.editor |
---|
Methods in org.topcased.modeler.editor that return GraphNode | |
---|---|
protected GraphNode |
AbstractCreationUtils.createGraphNode(EObject model)
Creates a graph node for an EMF object |
protected GraphNode |
AbstractCreationUtils.createGraphNode(EObject model,
int featureID)
Creates a graph node for the EStructuralFeature of an EMF object |
protected GraphNode |
AbstractCreationUtils.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 |
AbstractCreationUtils.createGraphNode(EObject model,
java.lang.String presentation)
Creates a graph node for an EMF object with a given presentation |
Uses of GraphNode in org.topcased.modeler.editor.properties.sections.graphics |
---|
Methods in org.topcased.modeler.editor.properties.sections.graphics that return GraphNode | |
---|---|
GraphNode |
SizePropertySection.getElement()
Get the element. |
Uses of GraphNode in org.topcased.modeler.utils |
---|
Methods in org.topcased.modeler.utils that return GraphNode | |
---|---|
static GraphNode |
Utils.createGraphNode(java.lang.String type)
Creates a graph node NOT linked with a model object |
static GraphNode |
Utils.createGraphNode(java.lang.String type,
java.lang.String presentation)
Creates a graph node NOT linked with a model object |
|
Modelers | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.