Class PartZoomInAction

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

public class PartZoomInAction extends Action
Tweak ZoomInAction.
  • Field Details

    • zoomManager

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

    • PartZoomInAction

      public PartZoomInAction()
  • 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