|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.draw2d.Figure
org.eclipse.draw2d.Shape
org.eclipse.draw2d.AbstractPointListShape
org.eclipse.draw2d.Polyline
org.eclipse.draw2d.PolylineConnection
org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx
de.cau.cs.kieler.core.ui.figures.SplineConnection
de.cau.cs.kieler.core.ui.figures.AttributeAwareConnection
public abstract class AttributeAwareConnection
An attribute aware polyline connection figure that is able to change its decoration according to attribute changes.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.cau.cs.kieler.core.ui.figures.SplineConnection |
---|
SplineConnection.ArrowLocatorEx |
Nested classes/interfaces inherited from class org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx |
---|
PolylineConnectionEx.JumpLink, PolylineConnectionEx.JumpLinkSet |
Nested classes/interfaces inherited from class org.eclipse.draw2d.Figure |
---|
Figure.FigureIterator, Figure.IdentitySearch |
Nested classes/interfaces inherited from interface org.eclipse.draw2d.IFigure |
---|
IFigure.NoInsets |
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
---|
Adapter.Internal |
Field Summary |
---|
Fields inherited from class de.cau.cs.kieler.core.ui.figures.SplineConnection |
---|
PREF_SPLINE_MODE, SPLINE_CUBIC, SPLINE_CUBIC_APPROX, SPLINE_OFF |
Fields inherited from class org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx |
---|
JUMPLINK_FLAG_ABOVE, JUMPLINK_FLAG_ALL, JUMPLINK_FLAG_BELOW, SMOOTH_LESS, SMOOTH_MORE, SMOOTH_NONE, SMOOTH_NORMAL |
Fields inherited from class org.eclipse.draw2d.Shape |
---|
lineStyle, lineWidth |
Fields inherited from class org.eclipse.draw2d.Figure |
---|
bgColor, border, bounds, fgColor, flags, font, MAX_FLAG, maxSize, minSize, NO_MANAGER, prefSize, toolTip |
Fields inherited from interface org.eclipse.draw2d.IFigure |
---|
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS |
Fields inherited from interface org.eclipse.draw2d.Connection |
---|
PROPERTY_CONNECTION_ROUTER, PROPERTY_POINTS |
Constructor Summary | |
---|---|
AttributeAwareConnection()
The constructor. |
Method Summary | |
---|---|
protected void |
addConditionalDecoration(RotatableDecoration sourceDeco,
RotatableDecoration targetDeco,
ICondition condition)
Adds a decoration with associated condition. |
Notifier |
getTarget()
|
void |
listenTo(EObject object)
Listen to changes in attributes of the given model element. |
void |
notifyChanged(Notification notification)
Adjust the look of the connection according to the changes recorded in the notification. |
void |
setDefaultDecoration(RotatableDecoration sourceDeco,
RotatableDecoration targetDeco)
Set the default decoration of the connection. |
void |
setTarget(Notifier newTarget)
|
Methods inherited from class de.cau.cs.kieler.core.ui.figures.SplineConnection |
---|
calculateTolerance, containsPoint, getSplineMode, isFeedbackLayer, lineContainsPoint, outlineShape, setSourceDecoration, setSplineMode, setTargetDecoration |
Methods inherited from class org.eclipse.draw2d.PolylineConnection |
---|
addNotify, addRoutingListener, anchorMoved, getConnectionRouter, getRoutingConstraint, getSourceAnchor, getTargetAnchor, layout, removeNotify, removeRoutingListener, revalidate, setConnectionRouter, setRoutingConstraint, setSourceAnchor, setTargetAnchor |
Methods inherited from class org.eclipse.draw2d.Polyline |
---|
fillShape, isOpaque, primTranslate, removeAllPoints, repaint, setTolerance, shapeContainsPoint |
Methods inherited from class org.eclipse.draw2d.AbstractPointListShape |
---|
childrenContainsPoint, getEnd, getPoints, getStart, removePoint, setEnd, setEndpoints, setPoint, setStart |
Methods inherited from class org.eclipse.draw2d.Shape |
---|
getAlpha, getAntialias, getLineAttributes, getLineCap, getLineDash, getLineDashOffset, getLineJoin, getLineMiterLimit, getLineStyle, getLineWidth, getLineWidthFloat, paintFigure, setAlpha, setAlpha, setAntialias, setAntialias, setFill, setFillXOR, setLineAttributes, setLineCap, setLineDash, setLineDashOffset, setLineJoin, setLineMiterLimit, setLineStyle, setLineWidthFloat, setOutline, setOutlineXOR, setXOR |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.common.notify.Adapter |
---|
isAdapterForType |
Methods inherited from interface org.eclipse.draw2d.Connection |
---|
getPoints |
Constructor Detail |
---|
public AttributeAwareConnection()
Method Detail |
---|
public void setDefaultDecoration(RotatableDecoration sourceDeco, RotatableDecoration targetDeco)
sourceDeco
- the default source decorationtargetDeco
- the default target decorationpublic void notifyChanged(Notification notification)
notifyChanged
in interface Adapter
notification
- The notification that contains the changes to the
model element.public Notifier getTarget()
getTarget
in interface Adapter
public void setTarget(Notifier newTarget)
setTarget
in interface Adapter
public void listenTo(EObject object)
listenTo
in interface IAttributeAwareFigure
object
- the model element that is watchedprotected void addConditionalDecoration(RotatableDecoration sourceDeco, RotatableDecoration targetDeco, ICondition condition)
sourceDeco
- the source decorationtargetDeco
- the target decorationcondition
- the condition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |