void (Content content) { ChangesViewContentI contentManager = ChangesViewContentManager.getInstance(myProject); contentManager.removeContent(content); contentManager.selectContent(ChangesViewContentManager.LOCAL_CHANGES); }