Package org.csstudio.opibuilder.runmode
Class PatchedConnectionLayerClippingStrategy
java.lang.Object
org.eclipse.draw2d.ViewportAwareConnectionLayerClippingStrategy
org.csstudio.opibuilder.runmode.PatchedConnectionLayerClippingStrategy
- All Implemented Interfaces:
org.eclipse.draw2d.IClippingStrategy
public class PatchedConnectionLayerClippingStrategy
extends org.eclipse.draw2d.ViewportAwareConnectionLayerClippingStrategy
A patched connection layer clipping strategy that will hide the connection when either one of the source or target is
not showing.
-
Constructor Summary
ConstructorDescriptionPatchedConnectionLayerClippingStrategy
(org.eclipse.draw2d.ConnectionLayer connectionLayer) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.draw2d.geometry.Rectangle[]
getEdgeClippingRectangle
(org.eclipse.draw2d.Connection connection) Methods inherited from class org.eclipse.draw2d.ViewportAwareConnectionLayerClippingStrategy
clipAtViewports, getAbsoluteBoundsAsCopy, getAbsoluteClientAreaAsCopy, getAbsolutePointsAsCopy, getAbsoluteViewportAreaAsCopy, getClip, getNodeClippingRectangle, getRootViewport
-
Constructor Details
-
PatchedConnectionLayerClippingStrategy
public PatchedConnectionLayerClippingStrategy(org.eclipse.draw2d.ConnectionLayer connectionLayer)
-
-
Method Details
-
getEdgeClippingRectangle
protected org.eclipse.draw2d.geometry.Rectangle[] getEdgeClippingRectangle(org.eclipse.draw2d.Connection connection) - Overrides:
getEdgeClippingRectangle
in classorg.eclipse.draw2d.ViewportAwareConnectionLayerClippingStrategy
-