public static void installShowNotifyListener(@NotNull JComponent component, @NotNull Activatable activatable) {
    if (ApplicationManager.getApplication().isHeadlessEnvironment()) {
      activatable.showNotify();
    }
    else {
      UiNotifyConnector.installOn(component, activatable);
    }
  }
public static void installShowNotifyListener(@NotNull JComponent component, @NotNull Activatable activatable)