GT-2869 - Key Bindings - review fixes

This commit is contained in:
dragonmacher 2019-06-11 13:30:42 -04:00
parent 2de5c40cd6
commit f8bd49b4be
12 changed files with 84 additions and 204 deletions

View file

@ -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();

View file

@ -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);

View file

@ -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();

View file

@ -93,7 +93,6 @@ public class PropertyManagerProvider extends ComponentProviderAdapter {
}
void dispose() {
tool.removeLocalAction(this, deleteAction);
tool.removeComponentProvider(this);
}