Merge remote-tracking branch 'origin/GT-2971-dragonmacher-close-button-key-binding'

This commit is contained in:
Ryan Kurtz 2019-07-19 13:53:37 -04:00
commit 479f595af8
116 changed files with 632 additions and 496 deletions

View file

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