Package com.puppycrawl.tools.checkstyle.gui
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... :-)
-
ClassDescriptionA base class for CellEditors, providing default implementations for all methods in the CellEditor interface and support for managing a series of listeners.Helper class to select a code.Presentation model for CodeSelector.ListToTreeSelectionModelWrapper extends DefaultTreeSelectionModel to listen for changes in the ListSelectionModel it maintains.Entry point for starting the checkstyle GUI.Displays information about a parse tree.Filter for Java files.Model for checkstyle frame.Parsing modes which available in GUI.The model that backs the parse tree in the GUI.The model that backs the parse tree in the GUI.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.A TreeCellRenderer that displays a JTree.This is a wrapper class takes a TreeTableModel and implements the table model interface.