void (@NotNull AnActionEvent e) { IdeFrameImpl tabFrame = getPopupFrame(e); Foundation.executeOnMainThread(true, false, () -> { ID window = MacUtil.getWindowFromJavaWindow(tabFrame); ID tabs = Foundation.invoke(window, "tabbedWindows"); int count = Foundation.invoke(tabs, "count").intValue(); for (int i = 0; i < count; i++) { ID tab = Foundation.invoke(tabs, "objectAtIndex:", i); Foundation.invoke(tab, "setTabOverviewVisible:", 1); } }); }