|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
com.borland.primetime.actions.UpdateAction
com.borland.primetime.ide.BrowserAction
com.henri.jbcs.CheckStyleContextAction
public class CheckStyleContextAction
A BrowserAction to check multiple files.
The action spawns a thread for the checking, so that the message view can be updated during a lengthy checking process.
BrowserAction
,
ContextActionProvider
,
Serialized FormField Summary |
---|
Fields inherited from class com.borland.primetime.actions.UpdateAction |
---|
ACCELERATOR, ALT_SHORT_DESCRIPTION, CLICK_FOR_DROPDOWN, disabledReason, EMPTY_ARRAY, HELP_TOPIC, LARGE_ICON, MNEMONIC, personalities, SHOW_BUTTON_TEXT, SUBMENU_DELEGATE |
Fields inherited from class javax.swing.AbstractAction |
---|
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
---|---|
CheckStyleContextAction()
|
Method Summary | |
---|---|
void |
actionPerformed(com.borland.primetime.ide.Browser browser)
Runs Checkstyle on all the JavaFileNode entries in the
m_Nodes array. |
javax.swing.Action |
getContextAction(com.borland.primetime.ide.Browser browser,
com.borland.primetime.node.Node[] nodes)
Sets the internal Node[] and return the Action if the first
entry is a source file, package node or project. |
Methods inherited from class com.borland.primetime.ide.BrowserAction |
---|
actionPerformed, update, update |
Methods inherited from class com.borland.primetime.actions.UpdateAction |
---|
getAltShortText, getDisabledReason, getHelpTopic, getLargeIcon, getLongText, getMnemonic, getPersonalities, getShortText, getSmallIcon, makeIdeKeymapBindable, setAltShortText, setConfigured, setConfigured, setDisabledReason, setHelpTopic, setLargeIcon, setLongText, setMnemonic, setPersonalities, setShortText, setSmallIcon |
Methods inherited from class javax.swing.AbstractAction |
---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.Action |
---|
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Constructor Detail |
---|
public CheckStyleContextAction()
BrowserAction
Method Detail |
---|
public void actionPerformed(com.borland.primetime.ide.Browser browser)
JavaFileNode
entries in the
m_Nodes array. If the array is null, get the active Node from the
browser.
actionPerformed
in class com.borland.primetime.ide.BrowserAction
browser
- The active browser.public javax.swing.Action getContextAction(com.borland.primetime.ide.Browser browser, com.borland.primetime.node.Node[] nodes)
Node[]
and return the Action if the first
entry is a source file, package node or project.
getContextAction
in interface com.borland.primetime.ide.ContextActionProvider
browser
- The active browser.nodes
- The active nodes.
CheckStyleOpenTool.ACTION_CheckStyleProject
action if the node is a source file, package node or project.ContextActionProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |