Class PartZoomOutAction

All Implemented Interfaces:
org.eclipse.draw2d.zoom.ZoomListener, org.eclipse.gef.Disposable, org.eclipse.gef.editparts.ZoomListener, IAction

public class PartZoomOutAction extends Action
Tweak ZoomOutAction
  • Field Details

    • zoomManager

      protected org.eclipse.gef.editparts.ZoomManager zoomManager
      The ZoomManager used to zoom in or out
  • Constructor Details

    • PartZoomOutAction

      public PartZoomOutAction()
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface IAction
      Overrides:
      run in class Action
    • zoomChanged

      public void zoomChanged(double zoom)
    • setPart

      public void setPart(IWorkbenchPart part)
      Parameters:
      part - a part which must have a ZoomManager Adapter.
    • dispose

      public void dispose()
      Specified by:
      dispose in interface org.eclipse.gef.Disposable