com.pnp.xfeature.actions
Class CollapseNodeAction

java.lang.Object
  extended by SelectionAction
      extended by com.pnp.xfeature.actions.CollapseNodeAction

public class CollapseNodeAction
extends SelectionAction

The visual represenation of the ExpandCollapseCommand

Author:
Ondrej Rohlik 22.4.2005

Field Summary
static java.lang.String ID
          unique ID of the class
 
Constructor Summary
CollapseNodeAction(IWorkbenchPart part)
           
 
Method Summary
 void init()
          initialize the unique ID
 void run()
          creates and executes the ExpandCollapseCommand using GEF command stack; applies the action on each item of the selection
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final java.lang.String ID
unique ID of the class

See Also:
Constant Field Values
Constructor Detail

CollapseNodeAction

public CollapseNodeAction(IWorkbenchPart part)
Method Detail

init

public void init()
initialize the unique ID

See Also:
org.eclipse.gef.ui.actions.WorkbenchPartAction#init()

run

public void run()
creates and executes the ExpandCollapseCommand using GEF command stack; applies the action on each item of the selection

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


Copyright © 2004 - 2008 ETH Zurich and P&P Software GmbH, All Rights Reserved.