void () { DiffUtil.runPreservingFocus(myContext, () -> { if (!mySettings.isHideProperties()) { mySplitter.setSecondComponent(myPropertiesViewer.getComponent()); myNotificationPanel.setContent(null); } else { mySplitter.setSecondComponent(null); myNotificationPanel.setContent(createNotification()); } }); }