void (boolean isSelected, int exitCode) { if (isSelected) { if (exitCode == DialogWrapper.OK_EXIT_CODE) { myConfirmationOption.setValue(VcsShowConfirmationOption.Value.DO_ACTION_SILENTLY); } if (exitCode == DialogWrapper.CANCEL_EXIT_CODE) { myConfirmationOption.setValue(VcsShowConfirmationOption.Value.DO_NOTHING_SILENTLY); } } }