void () { ChangesViewContentI contentManager = ChangesViewContentManager.getInstance(myProject); contentManager.selectContent(SHELF); ToolWindow window = getToolWindowFor(myProject, SHELF); if (window != null && !window.isVisible()) { window.activate(null); } }