Class ScalableLightweightSystem

java.lang.Object
org.eclipse.draw2d.LightweightSystem
org.eclipse.draw2d.ScalableLightweightSystem

public class ScalableLightweightSystem extends LightweightSystem
Custom lightweight-system that is used in combination with the draw2d.enableAutoscale environment variable. The root figure of this class implements the IScalablePane interface and is automatically scaled to match the monitor zoom.
Important: This class is only public so that it can be referencd in the other GEF plugins. This class must not be used together with a Viewport. Otherwise the scrollbar and content are always rendered as if at 100% zoom (at least on Windows}.
@noreference
This class is not intended to be referenced by clients.
  • Constructor Details

    • ScalableLightweightSystem

      public ScalableLightweightSystem()
  • Method Details