void (@NotNull AnActionEvent e) { super.update(e); String layoutName = getLayoutNameSupplier().invoke(); e.getPresentation().setEnabled(!ToolWindowDefaultLayoutManager.FACTORY_DEFAULT_LAYOUT_NAME.equals(layoutName)); e.getPresentation().setDescription(ActionsBundle.message("action.StoreDefaultLayout.named.description", layoutName)); }