IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.notation
Interface Edge

All Superinterfaces:
EModelElement, EObject, Notifier, View

public interface Edge
extends View

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:

See Also:
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

getSource

public View getSource()
Returns the value of the 'Source' reference. It is bidirectional and its opposite is 'Source Edges'.

The edge's source is the view at the source of the edge

Returns:
the value of the 'Source' reference.
See Also:
setSource(View), NotationPackage.getEdge_Source(), View.getSourceEdges()

setSource

public void setSource(View value)
Sets the value of the 'Source' reference.

The edge's source is the view at the source of the edge

Parameters:
value - the new value of the 'Source' reference.
See Also:
getSource()

getTarget

public View getTarget()
Returns the value of the 'Target' reference. It is bidirectional and its opposite is 'Target Edges'.

The edge's taregt is the view at the target of the edge

Returns:
the value of the 'Target' reference.
See Also:
setTarget(View), NotationPackage.getEdge_Target(), View.getTargetEdges()

setTarget

public void setTarget(View value)
Sets the value of the 'Target' reference.

The edge's taregt is the view at the target of the edge

Parameters:
value - the new value of the 'Target' reference.
See Also:
getTarget()

getBendpoints

public Bendpoints getBendpoints()
Returns the value of the 'Bendpoints' containment reference.

A bendpoint is a routing constraint installed on edges to suggest that their routing pass through a specific collection of points.

Returns:
the value of the 'Bendpoints' containment reference.
See Also:
setBendpoints(Bendpoints), NotationPackage.getEdge_Bendpoints()

setBendpoints

public void setBendpoints(Bendpoints value)
Sets the value of the 'Bendpoints' containment reference.

A bendpoint is a routing constraint installed on edges to suggest that their routing pass through a specific collection of points.

Parameters:
value - the new value of the 'Bendpoints' containment reference.
See Also:
getBendpoints()

getSourceAnchor

public Anchor getSourceAnchor()
Returns the value of the 'Source Anchor' containment reference.

A source anchor is a routing constraint installed on edges to identify where the source view should anchor that edge.

Returns:
the value of the 'Source Anchor' containment reference.
See Also:
setSourceAnchor(Anchor), NotationPackage.getEdge_SourceAnchor()

setSourceAnchor

public void setSourceAnchor(Anchor value)
Sets the value of the 'Source Anchor' containment reference.

A source anchor is a routing constraint installed on edges to identify where the source view should anchor that edge.

Parameters:
value - the new value of the 'Source Anchor' containment reference.
See Also:
getSourceAnchor()

getTargetAnchor

public Anchor getTargetAnchor()
Returns the value of the 'Target Anchor' containment reference.

A target anchor is a routing constraint installed on edges to identify where the target view should anchor that edge.

Returns:
the value of the 'Target Anchor' containment reference.
See Also:
setTargetAnchor(Anchor), NotationPackage.getEdge_TargetAnchor()

setTargetAnchor

public void setTargetAnchor(Anchor value)
Sets the value of the 'Target Anchor' containment reference.

A target anchor is a routing constraint installed on edges to identify where the target view should anchor that edge.

Parameters:
value - the new value of the 'Target Anchor' containment reference.
See Also:
getTargetAnchor()

createBendpoints

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.

Parameters:
eClass - the EClass to be used in creating the Bendpoints object

createSourceAnchor

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.

Parameters:
eClass - the EClass to be used in creating the Anchor object

createTargetAnchor

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.

Parameters:
eClass - the EClass to be used in creating the Anchor object

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.