mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
inspection toolwindow: exclusion handler doesn't need to be disposable
This commit is contained in:
@@ -186,13 +186,7 @@ public class InspectionResultsView extends JPanel implements Disposable, Occuren
|
||||
myTree.queueUpdate();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void dispose() {
|
||||
|
||||
}
|
||||
};
|
||||
Disposer.register(this, myExclusionHandler);
|
||||
createActionsToolbar();
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
*/
|
||||
package com.intellij.ide.actions.exclusion;
|
||||
|
||||
import com.intellij.openapi.Disposable;
|
||||
import com.intellij.openapi.actionSystem.DataKey;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
@@ -24,7 +23,7 @@ import javax.swing.tree.MutableTreeNode;
|
||||
/**
|
||||
* @author Dmitry Batkovich
|
||||
*/
|
||||
public interface ExclusionHandler<T extends MutableTreeNode> extends Disposable {
|
||||
public interface ExclusionHandler<T extends MutableTreeNode> {
|
||||
DataKey<ExclusionHandler> EXCLUSION_HANDLER = DataKey.create("tree.exclusion.handler");
|
||||
|
||||
boolean isNodeExcluded(@NotNull T node);
|
||||
|
||||
Reference in New Issue
Block a user