|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.henri.jbcs.CheckStyleOpenTool
public class CheckStyleOpenTool
The main class for the OpenTool.
Field Summary | |
---|---|
static javax.swing.Icon |
ICON
The toolbar icon |
static java.lang.String |
JBPROP_FILE
|
Constructor Summary | |
---|---|
CheckStyleOpenTool()
|
Method Summary | |
---|---|
static void |
checkNodes(com.borland.primetime.ide.Browser browser,
com.borland.jbuilder.node.JavaFileNode[] nodes)
Runs Checkstyle on 1 or many files in a CheckerThread . |
static java.lang.String |
getBasedir()
|
static com.puppycrawl.tools.checkstyle.Checker |
getChecker()
|
static java.lang.String |
getOpenToolInfo(java.lang.Object infoType)
Retrieves information about this opentool. |
static CSPreference |
getPreference()
|
static void |
initOpenTool(byte major,
byte minor)
The entry point of OpenTool. |
static boolean |
isRunning()
Tells if the plugin is currently running. |
static void |
setPreference(CSPreference pref)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final javax.swing.Icon ICON
public static final java.lang.String JBPROP_FILE
Constructor Detail |
---|
public CheckStyleOpenTool()
Method Detail |
---|
public static void initOpenTool(byte major, byte minor)
major
- Major version numberminor
- Minor version numberpublic static java.lang.String getOpenToolInfo(java.lang.Object infoType)
infoType
- Type of information to retrieve.
public static CSPreference getPreference()
public static void setPreference(CSPreference pref)
public static com.puppycrawl.tools.checkstyle.Checker getChecker()
public static java.lang.String getBasedir()
public static boolean isRunning()
public static void checkNodes(com.borland.primetime.ide.Browser browser, com.borland.jbuilder.node.JavaFileNode[] nodes)
CheckerThread
.
browser
- The Jbuilder browser where Checkstyle is launchednodes
- The files to check.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |