mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not show |> on target (leaf) nodes
This commit is contained in:
@@ -53,6 +53,11 @@ final class AntExplorerTreeStructure extends AbstractTreeStructure {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAlwaysLeaf(Object element) {
|
||||
return element != myRoot && !(element instanceof AntBuildFile);
|
||||
}
|
||||
|
||||
@Override
|
||||
@NotNull
|
||||
public AntNodeDescriptor createDescriptor(Object element, NodeDescriptor parentDescriptor) {
|
||||
|
||||
Reference in New Issue
Block a user