mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GT-3495 - Refactor tool hierarchy to remove old 'Tool'
GT-3495 - GT-3495 - Refactor tool hierarchy to rename DockingTool to Tool
This commit is contained in:
parent
5dc7df71b3
commit
0ff6578d2c
92 changed files with 966 additions and 1228 deletions
|
@ -74,7 +74,7 @@ class DockableToolBarManager {
|
|||
String owner = provider.getOwner();
|
||||
ToolBarCloseAction closeAction = new ToolBarCloseAction(owner);
|
||||
closeButtonManager = new ToolBarItemManager(closeAction, winMgr);
|
||||
DockingTool tool = winMgr.getTool();
|
||||
Tool tool = winMgr.getTool();
|
||||
|
||||
// we need to add this action to the tool in order to use key bindings
|
||||
tool.addLocalAction(provider, closeAction);
|
||||
|
@ -166,7 +166,7 @@ class DockableToolBarManager {
|
|||
// this will be null for non-standard use cases
|
||||
if (dockableComponent != null) {
|
||||
DockingWindowManager dwm = dockableComponent.getDockingWindowManager();
|
||||
DockingTool tool = dwm.getTool();
|
||||
Tool tool = dwm.getTool();
|
||||
ComponentProvider provider = dockableComponent.getComponentProvider();
|
||||
tool.removeLocalAction(provider, closeButtonManager.getAction());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue