Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
*/
public class StrutsFilesTree extends CheckboxTreeBase {

@SuppressWarnings("deprecation") // TODO: CheckboxTreeBase constructor deprecated with no public replacement.
private static final CheckPolicy CHECK_POLICY =
new CheckPolicy(true, true, false, true);

public StrutsFilesTree() {
super(new CheckboxTreeCellRendererBase() {
@Override
Expand All @@ -45,7 +47,7 @@ public void customizeRenderer(final JTree tree,
final boolean expanded, final boolean leaf, final int row, final boolean hasFocus) {
ConfigFilesTreeBuilder.renderNode(value, expanded, getTextRenderer());
}
}, null);
}, null, CHECK_POLICY);

ConfigFilesTreeBuilder.installSearch(this);
}
Expand Down
Loading