Class CodeSelector
- java.lang.Object
-
- com.puppycrawl.tools.checkstyle.gui.CodeSelector
-
public class CodeSelector extends Object
Helper class to select a code.
-
-
Field Summary
Fields Modifier and Type Field Description private JTextArea
editor
Editor.private CodeSelectorPresentation
pModel
Presentation model.
-
Constructor Summary
Constructors Constructor Description CodeSelector(Object node, JTextArea editor, Collection<Integer> lines2position)
Constructor.
-
-
-
Field Detail
-
pModel
private final CodeSelectorPresentation pModel
Presentation model.
-
-
Constructor Detail
-
CodeSelector
public CodeSelector(Object node, JTextArea editor, Collection<Integer> lines2position)
Constructor.- Parameters:
node
- ast node.editor
- text area editor.lines2position
- positions of lines.
-
-
Method Detail
-
select
public void select()
Set selection.
-
-