void () { boolean showDetails = !myIsStaticAndEmbedded && VcsConfiguration.getInstance(myVcs.getProject()).SHOW_FILE_HISTORY_DETAILS; myDualView.setViewBorder(IdeBorderFactory.createBorder(SideBorder.LEFT)); mySplitter.setSecondComponent(showDetails ? myDetailsSplitter : null); }