@Override
  public void apply() throws ConfigurationException {
    if (myPluginModel.apply(myCardPanel)) return;

    if (myPluginModel.createShutdownCallback) {
      InstalledPluginsState.getInstance().setShutdownCallback(() -> {
        ApplicationManager.getApplication().invokeLater(() -> {
          if (ApplicationManager.getApplication().isExitInProgress()) return; // already shutting down
          shutdownOrRestartApp();
        });
      });
    }
  }
@Override
  public void apply()