Ghidra is a software reverse engineering (SRE) framework
Merge remote-tracking branch 'origin/GT-2971-dragonmacher-close-button-key-binding'
Ryan Kurtz479f595af896
diff --cc Ghidra/Framework/Docking/src/main/java/docking/DockableComponent.javaindex 9b569c4224,9b46732e7e..c8bd845222--- a/Ghidra/Framework/Docking/src/main/java/docking/DockableComponent.java+++ b/Ghidra/Framework/Docking/src/main/java/docking/DockableComponent.java@@@ -177,19 -187,42 +177,43 @@@ public class DockableComponent extends}/**- * Returns the info object associated with this DockableComponent.+ * Returns the placeholder object associated with this DockableComponent+ * @return the placeholder object associated with this DockableComponent*/public ComponentPlaceholder getComponentWindowingPlaceholder() {- return componentInfo;+ 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();+ }+@Overridepublic String toString() {- if (componentInfo == null) {+ if (placeholder == null) {return "";}- return componentInfo.getFullTitle();+ return placeholder.getFullTitle();}/**