Class PinDrawerAction

All Implemented Interfaces:
IAction

public class PinDrawerAction extends Action
An action that can be used to pin the given pinnable palette editpart (drawer or stack) open.
  • Constructor Details

    • PinDrawerAction

      public PinDrawerAction(org.eclipse.gef.internal.ui.palette.editparts.DrawerEditPart drawer)
      Constructor
      Parameters:
      drawer - The EditPart for the drawer that this action pins/unpins
    • PinDrawerAction

      public PinDrawerAction(org.eclipse.gef.ui.palette.editparts.IPinnableEditPart pinnableEditPart)
      Constructor
      Parameters:
      pinnableEditPart - the pinnable palette editpart
      Since:
      3.4
  • Method Details

    • run

      public void run()
      Toggles the pinned open status of the pinnable palette editpart.
      Specified by:
      run in interface IAction
      Overrides:
      run in class Action
      See Also: