|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Edge'.
An edge is a view that represents a connection between two other views
The following features are supported:
NotationPackage.getEdge()
Method Summary | |
Bendpoints |
createBendpoints(EClass eClass)
A utility method to create a Bendpoints object from the given EClass
and then sets the edge's Bendpoints property to the new object.
|
Anchor |
createSourceAnchor(EClass eClass)
A utility method to create an Anchor object from the given EClass
and then sets the edge's SourceAnchor property to the new object.
|
Anchor |
createTargetAnchor(EClass eClass)
A utility method to create an Anchor object from the given EClass
and then sets the edge's TargetAnchor property to the new object.
|
Bendpoints |
getBendpoints()
Returns the value of the 'Bendpoints' containment reference |
View |
getSource()
Returns the value of the 'Source' reference. |
Anchor |
getSourceAnchor()
Returns the value of the 'Source Anchor' containment reference |
View |
getTarget()
Returns the value of the 'Target' reference. |
Anchor |
getTargetAnchor()
Returns the value of the 'Target Anchor' containment reference |
void |
setBendpoints(Bendpoints value)
Sets the value of the ' Bendpoints ' containment reference |
void |
setSource(View value)
Sets the value of the ' Source ' reference |
void |
setSourceAnchor(Anchor value)
Sets the value of the ' Source Anchor ' containment reference |
void |
setTarget(View value)
Sets the value of the ' Target ' reference |
void |
setTargetAnchor(Anchor value)
Sets the value of the ' Target Anchor ' containment reference |
Methods inherited from interface com.ibm.xtools.notation.View |
createChild, createStyle, getChildren, getDiagram, getElement, getSourceEdges, getStyle, getStyles, getTargetEdges, getType, isVisible, setElement, setType, setVisible |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
public View getSource()
Source Edges
'.
The edge's source is the view at the source of the edge
setSource(View)
,
NotationPackage.getEdge_Source()
,
View.getSourceEdges()
public void setSource(View value)
Source
' reference.
The edge's source is the view at the source of the edge
value
- the new value of the 'Source' reference.getSource()
public View getTarget()
Target Edges
'.
The edge's taregt is the view at the target of the edge
setTarget(View)
,
NotationPackage.getEdge_Target()
,
View.getTargetEdges()
public void setTarget(View value)
Target
' reference.
The edge's taregt is the view at the target of the edge
value
- the new value of the 'Target' reference.getTarget()
public Bendpoints getBendpoints()
A bendpoint is a routing constraint installed on edges to suggest that their routing pass through a specific collection of points.
setBendpoints(Bendpoints)
,
NotationPackage.getEdge_Bendpoints()
public void setBendpoints(Bendpoints value)
Bendpoints
' containment reference.
A bendpoint is a routing constraint installed on edges to suggest that their routing pass through a specific collection of points.
value
- the new value of the 'Bendpoints' containment reference.getBendpoints()
public Anchor getSourceAnchor()
A source anchor is a routing constraint installed on edges to identify where the source view should anchor that edge.
setSourceAnchor(Anchor)
,
NotationPackage.getEdge_SourceAnchor()
public void setSourceAnchor(Anchor value)
Source Anchor
' containment reference.
A source anchor is a routing constraint installed on edges to identify where the source view should anchor that edge.
value
- the new value of the 'Source Anchor' containment reference.getSourceAnchor()
public Anchor getTargetAnchor()
A target anchor is a routing constraint installed on edges to identify where the target view should anchor that edge.
setTargetAnchor(Anchor)
,
NotationPackage.getEdge_TargetAnchor()
public void setTargetAnchor(Anchor value)
Target Anchor
' containment reference.
A target anchor is a routing constraint installed on edges to identify where the target view should anchor that edge.
value
- the new value of the 'Target Anchor' containment reference.getTargetAnchor()
public Bendpoints createBendpoints(EClass eClass)
A utility method to create a Bendpoints
object from the given EClass
and then sets the edge's Bendpoints property to the new object.
eClass
- the EClass
to be used in creating the Bendpoints
object
public Anchor createSourceAnchor(EClass eClass)
A utility method to create an Anchor
object from the given EClass
and then sets the edge's SourceAnchor property to the new object.
eClass
- the EClass
to be used in creating the Anchor
object
public Anchor createTargetAnchor(EClass eClass)
A utility method to create an Anchor
object from the given EClass
and then sets the edge's TargetAnchor property to the new object.
eClass
- the EClass
to be used in creating the Anchor
object
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.