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

    Constructors
    Constructor
    Description
    PatchedConnectionLayerClippingStrategy(org.eclipse.draw2d.ConnectionLayer connectionLayer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class org.eclipse.draw2d.ViewportAwareConnectionLayerClippingStrategy