mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 08:45:34 +07:00
More proper "show tree handle" fix for the project view. Let's assume only directory and package node show their handle by default until open even if they in fact don't have any child nodes.
This commit is contained in:
@@ -211,4 +211,9 @@ public class PackageElementNode extends ProjectViewNode<PackageElement> {
|
||||
public int getTypeSortWeight(final boolean sortByType) {
|
||||
return 4;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAlwaysShowPlus() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user