void (@NotNull AnActionEvent e) { @Nullable Component component = e.getData(PlatformCoreDataKeys.CONTEXT_COMPONENT); Window window = Objects.requireNonNull(ComponentUtil.getWindow(component)); mergeAllWindows(window, true); }