org.acm.seguin.ide.netbeans
Class CPDCheckDirRecursiveAction

java.lang.Object
  extended by CookieAction
      extended by org.acm.seguin.ide.netbeans.CPDCheckDirRecursiveAction

public class CPDCheckDirRecursiveAction
extends CookieAction

Checks for Cut and paste in Java Source in the selected directory and all sub-directories

Author:
Mike Atkinson

Constructor Summary
CPDCheckDirRecursiveAction()
           
 
Method Summary
protected  boolean asynchronous()
          this means that performAction is expecting to be run in its own thread
protected  java.lang.Class[] cookieClasses()
          Description of the Method
protected  boolean enable(Node[] nodes)
          Perform special enablement check in addition to the normal one.
 HelpCtx getHelpCtx()
          Gets the helpCtx attribute of the CPDCheckDirRecursiveAction object
 java.lang.String getName()
          Gets the name attribute of the CPDCheckDirRecursiveAction object
protected  java.lang.String iconResource()
          Get the path to the icon to be displayed in menus, etc
protected  void initialize()
          Perform extra initialization of this action's singleton.
protected  int mode()
           
protected  void performAction(Node[] nodes)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CPDCheckDirRecursiveAction

public CPDCheckDirRecursiveAction()
Method Detail

getHelpCtx

public HelpCtx getHelpCtx()
Gets the helpCtx attribute of the CPDCheckDirRecursiveAction object

Returns:
The helpCtx value

getName

public java.lang.String getName()
Gets the name attribute of the CPDCheckDirRecursiveAction object

Returns:
The name value

cookieClasses

protected java.lang.Class[] cookieClasses()
Description of the Method

Returns:
Description of the Return Value

enable

protected boolean enable(Node[] nodes)
Perform special enablement check in addition to the normal one.

Parameters:
nodes - Description of the Parameter
Returns:
Description of the Return Value

iconResource

protected java.lang.String iconResource()
Get the path to the icon to be displayed in menus, etc

Returns:
Icon to be displayed in menus, etc.

initialize

protected void initialize()
Perform extra initialization of this action's singleton. PLEASE do not use constructors for this purpose!


mode

protected int mode()
Returns:
MODE_EXACTLY_ONE

asynchronous

protected boolean asynchronous()
this means that performAction is expecting to be run in its own thread


performAction

protected void performAction(Node[] nodes)
Description of the Method

Parameters:
nodes - Description of the Parameter