org.acm.seguin.ide.netbeans
Class CSCheckBufferAction_1

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

public class CSCheckBufferAction_1
extends CookieAction

Checks the buffer (if it is Java source) for coding standards.

Since:
2.9.19
Author:
Mike Atkinson

Constructor Summary
CSCheckBufferAction_1()
           
 
Method Summary
protected  boolean asynchronous()
          this means that performAction is expecting to be run in the event 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 CSCheckBufferAction_1 object
 javax.swing.JMenuItem getMenuPresenter()
           
 java.lang.String getName()
          Gets the name attribute of the CPDCheckBufferAction object
 javax.swing.JMenuItem getPopupPresenter()
           
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

CSCheckBufferAction_1

public CSCheckBufferAction_1()
Method Detail

getHelpCtx

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

Returns:
The helpCtx value

getName

public java.lang.String getName()
Gets the name attribute of the CPDCheckBufferAction 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.

getMenuPresenter

public javax.swing.JMenuItem getMenuPresenter()

getPopupPresenter

public javax.swing.JMenuItem getPopupPresenter()

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 the event thread


performAction

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

Parameters:
nodes - Description of the Parameter