mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
Merge remote-tracking branch 'origin/GT-2971-dragonmacher-close-button-key-binding'
This commit is contained in:
commit
479f595af8
116 changed files with 632 additions and 496 deletions
|
@ -184,6 +184,30 @@ public class DockableComponent extends JPanel implements ContainerListener {
|
|||
return placeholder;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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 (placeholder == null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue