Search in sources :

Example 1 with MembersConflictDialog

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();
}
Also used : DialogWrapper(com.intellij.openapi.ui.DialogWrapper) MembersConflictDialog(com.jetbrains.python.refactoring.classes.membersManager.MembersConflictDialog)

Aggregations

DialogWrapper (com.intellij.openapi.ui.DialogWrapper)1 MembersConflictDialog (com.jetbrains.python.refactoring.classes.membersManager.MembersConflictDialog)1