public static boolean showCommittedChangesAsTab() {
    return Registry.is("vcs.show.affected.files.as.tab") &&
           ModalityState.current() == ModalityState.nonModal();
  }
public static boolean showCommittedChangesAsTab()