mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
find usages view: check exclusion is available for node not only in actionPerformed() method too
This commit is contained in:
+1
@@ -93,6 +93,7 @@ abstract class TreeNodeExclusionAction<T extends MutableTreeNode> extends AnActi
|
||||
for (TreePath path : paths) {
|
||||
final T node = (T)path.getLastPathComponent();
|
||||
TreeUtil.traverse(node, n -> {
|
||||
if (!exclusionProcessor.isNodeExclusionAvailable((T)n)) return true;
|
||||
if (Boolean.valueOf(myIsExclude) != exclusionProcessor.isNodeExcluded((T)n)) {
|
||||
if (myIsExclude) {
|
||||
exclusionProcessor.excludeNode(node);
|
||||
|
||||
Reference in New Issue
Block a user