mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
GT-2971 - Key Bindings - Added the ability to set a key binding for the
close button for all Component Providers
This commit is contained in:
parent
8739d8e750
commit
380d863c96
113 changed files with 612 additions and 477 deletions
|
@ -193,6 +193,30 @@ public class DockableComponent extends JPanel implements ContainerListener {
|
|||
return componentInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the component provider attached to this dockable component; null if this object
|
||||
* has been disposed
|
||||
*
|
||||
* @return the provider
|
||||
*/
|
||||
public ComponentProvider getComponentProvider() {
|
||||
if (componentInfo == null) {
|
||||
return null;
|
||||
}
|
||||
return componentInfo.getProvider();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the docking window manager that owns this component
|
||||
* @return the manager
|
||||
*/
|
||||
public DockingWindowManager getDockingWindowManager() {
|
||||
if (componentInfo == null) {
|
||||
return null;
|
||||
}
|
||||
return componentInfo.getNode().getDockingWindowManager();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
if (componentInfo == null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue