SelectMergeItemsResult (@NotNull List<SvnChangeList> lists, @NotNull MergeChecker mergeChecker, boolean allStatusesCalculated, boolean allListsLoaded) { ToBeMergedDialog dialog = new ToBeMergedDialog(myMergeContext, lists, mergeChecker, allStatusesCalculated, allListsLoaded); dialog.show(); QuickMergeContentsVariants resultCode = toMergeVariant(dialog.getExitCode()); List<SvnChangeList> selectedLists = resultCode == QuickMergeContentsVariants.select ? dialog.getSelected() : emptyList(); return new SelectMergeItemsResult(resultCode, selectedLists); }