void (String description) { switch (description) { case PluginManagerCore.DISABLE -> PluginManagerCore.onEnable(false); case PluginManagerCore.ENABLE -> { if (PluginManagerCore.onEnable(true)) { notifyPluginsUpdated(null); } } case PluginManagerCore.EDIT -> { IdeFrame frame = WindowManagerEx.getInstanceEx().findFrameFor(null); PluginManagerConfigurable.showPluginConfigurable(frame != null ? frame.getComponent() : null, null, List.of()); } } }