public void setCommandQueueEnabled(boolean selected) {
    myState.myCommandQueueEnabled = selected;
    if (!selected) {
      ApplicationManager.getApplication().getService(CommandQueueForPythonConsoleService.class).disableCommandQueue();
    }
  }
public void setCommandQueueEnabled(boolean selected)