@Override
      protected boolean isPreviewOnDoubleClick() {
        return isCommitToolWindowShown(myProject) ?
               VcsApplicationSettings.getInstance().SHOW_EDITOR_PREVIEW_ON_DOUBLE_CLICK :
               VcsApplicationSettings.getInstance().SHOW_DIFF_ON_DOUBLE_CLICK;
      }
@Override
      protected boolean isPreviewOnDoubleClick()