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:
dragonmacher 2019-07-19 11:00:43 -04:00
parent 8739d8e750
commit 380d863c96
113 changed files with 612 additions and 477 deletions

View file

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