mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-01 07:35:16 +08:00
GT-2869 - Key Bindings - review fixes
This commit is contained in:
-6
@@ -834,12 +834,6 @@ public class CallTreeProvider extends ComponentProviderAdapter implements Domain
|
||||
currentProgram = null;
|
||||
}
|
||||
|
||||
tool.removeLocalAction(this, recurseDepthAction);
|
||||
tool.removeLocalAction(this, refreshAction);
|
||||
tool.removeLocalAction(this, filterDuplicates);
|
||||
tool.removeLocalAction(this, navigationOutgoingAction);
|
||||
tool.removeLocalAction(this, navigateIncomingToggleAction);
|
||||
|
||||
recurseDepthAction.dispose();
|
||||
refreshAction.dispose();
|
||||
filterDuplicates.dispose();
|
||||
|
||||
-5
@@ -206,11 +206,6 @@ public abstract class CompositeEditorProvider extends ComponentProviderAdapter
|
||||
|
||||
@Override
|
||||
public void dispose() {
|
||||
CompositeEditorTableAction[] allActions = actionMgr.getAllActions();
|
||||
for (CompositeEditorTableAction allAction : allActions) {
|
||||
tool.removeLocalAction(this, allAction);
|
||||
}
|
||||
tool.showComponentProvider(this, false);
|
||||
tool.removeComponentProvider(this);
|
||||
for (EditorListener el : listeners) {
|
||||
el.closed(this);
|
||||
|
||||
+2
-6
@@ -38,7 +38,8 @@ import ghidra.program.model.address.AddressSet;
|
||||
import ghidra.program.model.listing.Program;
|
||||
import ghidra.program.util.ProgramLocation;
|
||||
import ghidra.util.HelpLocation;
|
||||
import ghidra.util.table.*;
|
||||
import ghidra.util.table.GhidraTable;
|
||||
import ghidra.util.table.SelectionNavigationAction;
|
||||
import ghidra.util.table.actions.DeleteTableRowAction;
|
||||
import ghidra.util.task.SwingUpdateManager;
|
||||
import resources.Icons;
|
||||
@@ -208,11 +209,6 @@ public class LocationReferencesProvider extends ComponentProviderAdapter
|
||||
|
||||
tool.removeComponentProvider(this);
|
||||
|
||||
tool.removeLocalAction(this, homeAction);
|
||||
tool.removeLocalAction(this, refreshAction);
|
||||
tool.removeLocalAction(this, selectionAction);
|
||||
tool.removeLocalAction(this, highlightAction);
|
||||
|
||||
homeAction.dispose();
|
||||
refreshAction.dispose();
|
||||
highlightAction.dispose();
|
||||
|
||||
-1
@@ -93,7 +93,6 @@ public class PropertyManagerProvider extends ComponentProviderAdapter {
|
||||
}
|
||||
|
||||
void dispose() {
|
||||
tool.removeLocalAction(this, deleteAction);
|
||||
tool.removeComponentProvider(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user