private boolean isAutoscrollFromSourceEnabled(String paneId) {
    if (project.isDisposed()) return false;
    if (!myAutoscrollFromSource.isSelected()) return false;
    if (!myAutoscrollFromSource.isEnabled(paneId)) return false;
    return true;
  }
private boolean isAutoscrollFromSourceEnabled(String paneId)