private PythonCommandQueuePanel getCommandPanelParent() {
    Container parent = myRootPanel;
    while (!(parent instanceof PythonCommandQueuePanel)) {
      parent = parent.getParent();
    }
    return (PythonCommandQueuePanel)parent;
  }
private PythonCommandQueuePanel getCommandPanelParent()