olean isTabNavigationAvailable(@NotNull AnAction navigationAction) {
    if (getTabCount() > 1) {
      Component focusOwner = FocusManager.getCurrentManager().getFocusOwner();
      if (focusOwner instanceof EditorComponentImpl) {
        return getIndexOf(getSelectedInfo()) >= 0 &&
               (navigationAction instanceof PreviousTabAction || navigationAction instanceof NextTabAction);
      }
    }
    return false;
  }


olean isTabNavigationAvailable(@NotNull AnAction navigationAction) {