Package com.puppycrawl.tools.checkstyle.gui
User interface classes for CheckStyle. Currently this is mainly a gui to aid
Check developers.
This is definitely work in progress. Here are some ideas where you could help:
- Add a read only editor field that highlights the selected AST node.
- Clicking in the editor field could open the corresponding tree path.
- Add a configuration GUI that can be used in all IDE plugins (well, err.., except Eclipse).
- Add ability to execute individual Checks and display the violation messages.
-
Add a GUI for the
FileContents
. - Add ability to define a Check by example (another one of those crazy ideas... :-)
-
Class Summary Class Description BaseCellEditor A base class for CellEditors, providing default implementations for all methods in the CellEditor interface and support for managing a series of listeners.CodeSelector Helper class to select a code.CodeSelectorPresentation Presentation model for CodeSelector.Main Entry point for starting the checkstyle GUI.MainFrame Displays information about a parse tree.MainFrameModel Model for checkstyle frame.ParseTreeTableModel The model that backs the parse tree in the GUI.ParseTreeTablePresentation The model that backs the parse tree in the GUI.TreeTable This example shows how to create a simple TreeTable component, by using a JTree as a renderer (and editor) for the cells in a particular column in the JTable.TreeTableModelAdapter This is a wrapper class takes a TreeTableModel and implements the table model interface. -
Enum Summary Enum Description MainFrameModel.ParseMode Parsing modes which available in GUI.