com.pnp.xfeature.actions
Class AntAction

java.lang.Object
  extended by com.pnp.xfeature.actions.AntAction
Direct Known Subclasses:
GenerateAction, ValidateAction

public class AntAction
extends java.lang.Object

Runs the feature model validation.

Author:
Ondrej Rohlik, created on 3.5.2004, generated be Eclipse
See Also:
IWorkbenchWindowActionDelegate

Constructor Summary
AntAction()
          The constructor.
 
Method Summary
 void dispose()
          We can use this method to dispose of any system resources we previously allocated.
 void init(IWorkbenchWindow window)
          We will cache window object in order to be able to provide parent shell for the message dialog.
 void run(IAction action)
          The action has been activated.
 void selectionChanged(IAction action, ISelection selection)
          Selection in the workbench has been changed.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntAction

public AntAction()
The constructor.

Method Detail

run

public void run(IAction action)
The action has been activated. The argument of the method represents the 'real' action sitting in the workbench UI http://eclipsewiki.editme.com/ANTFaq

See Also:
IWorkbenchWindowActionDelegate#run

selectionChanged

public void selectionChanged(IAction action,
                             ISelection selection)
Selection in the workbench has been changed. We can change the state of the 'real' action here if we want, but this can only happen after the delegate has been created.

See Also:
IWorkbenchWindowActionDelegate#selectionChanged

dispose

public void dispose()
We can use this method to dispose of any system resources we previously allocated.

See Also:
IWorkbenchWindowActionDelegate#dispose

init

public void init(IWorkbenchWindow window)
We will cache window object in order to be able to provide parent shell for the message dialog.

See Also:
IWorkbenchWindowActionDelegate#init


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