|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Edge
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(org.eclipse.emf.ecore.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(org.eclipse.emf.ecore.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(org.eclipse.emf.ecore.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 org.eclipse.gmf.runtime.notation.View |
---|
createChild, createStyle, getChildren, getDiagram, getElement, getNamedStyle, getPersistedChildren, getSourceEdges, getStyle, getStyles, getTargetEdges, getTransientChildren, getType, getVisibleChildren, insertChild, insertChild, insertChildAt, isMutable, isSetElement, isVisible, persist, persistChildren, removeChild, setElement, setMutable, setType, setVisible, unsetElement |
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 |
---|
View getSource()
Source Edges
'.
The edge's source is the view at the source of the edge
setSource(View)
,
NotationPackage.getEdge_Source()
,
View.getSourceEdges()
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()
View getTarget()
Target Edges
'.
The edge's taregt is the view at the target of the edge
setTarget(View)
,
NotationPackage.getEdge_Target()
,
View.getTargetEdges()
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()
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()
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()
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()
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()
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()
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()
Bendpoints createBendpoints(org.eclipse.emf.ecore.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
Anchor createSourceAnchor(org.eclipse.emf.ecore.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
Anchor createTargetAnchor(org.eclipse.emf.ecore.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
|
Runtime | |||||||||
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., Borland Software Corp., and others 2005,2006. All rights reserved.