mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
GT-2869 - Key Bindings - review fixes
This commit is contained in:
parent
2de5c40cd6
commit
f8bd49b4be
12 changed files with 84 additions and 204 deletions
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -93,7 +93,6 @@ public class PropertyManagerProvider extends ComponentProviderAdapter {
|
|||
}
|
||||
|
||||
void dispose() {
|
||||
tool.removeLocalAction(this, deleteAction);
|
||||
tool.removeComponentProvider(this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue