@Override
    public int getDefaultIndex() {
      final TreePath selectionPath = myTree.getSelectionPath();
      if (selectionPath != null &&
          ((MyNode)selectionPath.getLastPathComponent()).getConfigurable() instanceof CopyrightConfigurable c) {
        return c.isShareProfile() ? 1 : 0;
      }
      return 1;
    }
@Override
    public int getDefaultIndex()