use of com.jetbrains.python.refactoring.classes.membersManager.MembersConflictDialog in project intellij-community by JetBrains.
the class MembersBasedViewSwingImpl method showConflictsDialog.
@Override
public boolean showConflictsDialog(@NotNull final MultiMap<PyClass, PyMemberInfo<?>> duplicatesConflict, @NotNull final Collection<PyMemberInfo<?>> dependenciesConflicts) {
Preconditions.checkArgument(!(duplicatesConflict.isEmpty() && dependenciesConflicts.isEmpty()), "Can't show dialog for empty conflicts");
final DialogWrapper conflictsDialog = new MembersConflictDialog(myProject, duplicatesConflict, dependenciesConflicts);
return conflictsDialog.showAndGet();
}
Aggregations