@Override
    public void update(@NotNull AnActionEvent e) {
      Collection<? extends IdeaPluginDescriptorImpl> descriptors = getAllDescriptors();

      if (myDynamicTitle) {
        e.getPresentation().setText(IdeBundle.message(
          descriptors.size() == 1 && MyPluginModel.isBundledUpdate(descriptors.iterator().next())
          ? "plugins.configurable.uninstall.bundled.update"
          : "plugins.configurable.uninstall"));
      }

      boolean disabled = descriptors.isEmpty() ||
                         exists(descriptors, IdeaPluginDescriptor::isBundled) ||
                         exists(descriptors, myPluginModel::isUninstalled);
      e.getPresentation().setEnabledAndVisible(!disabled);

      setShortcutSet(SHORTCUT_SET, myShowShortcut);
    }
@Override
    public void update(@NotNull AnActionEvent e)