Eclipse GEF
3.3

org.eclipse.gef.ui.palette
Class PinDrawerAction

java.lang.Object
  extended byAction
      extended byorg.eclipse.gef.ui.palette.PinDrawerAction

public class PinDrawerAction
extends Action

An action that can be used to pin the given drawer open.

See Also:
Serialized Form

Constructor Summary
PinDrawerAction(org.eclipse.gef.internal.ui.palette.editparts.DrawerEditPart drawer)
          Constructor
 
Method Summary
 void run()
          Toggles the pinned open status of the drawer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

run

public void run()
Toggles the pinned open status of the drawer.

See Also:
org.eclipse.jface.action.Action#run()

Eclipse GEF
3.3

Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.