boolean () { LOG.info("Noop situation while rebasing " + myRoot); Ref<Boolean> result = Ref.create(false); ApplicationManager.getApplication().invokeAndWait(() -> result.set( Messages.OK == showOkCancelDialog( myProject, GitBundle.message("rebase.interactive.noop.dialog.text"), GitBundle.message("rebase.interactive.noop.dialog.title"), getOkButtonText(), getCancelButtonText(), getQuestionIcon() ) )); return result.get(); }