public class MergeUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MergeUtil.ProxyDiffContext |
Constructor and Description |
---|
MergeUtil() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.Action |
createSimpleResolveAction(MergeResult result,
MergeRequest request,
MergeContext context,
MergeTool.MergeViewer viewer,
boolean contentWasModified) |
static java.lang.String |
getResolveActionTitle(MergeResult result,
MergeRequest request,
MergeContext context) |
static java.util.List<java.lang.String> |
notNullizeContentTitles(java.util.List<java.lang.String> mergeContentTitles) |
static void |
putRevisionInfos(DiffRequest request,
MergeData data) |
static void |
putRevisionInfos(MergeRequest request,
MergeData data) |
static void |
reportProjectFileChangeIfNeeded(Project project,
VirtualFile file) |
static boolean |
shouldRestoreOriginalContentOnCancel(MergeRequest request) |
static boolean |
showConfirmDiscardChangesDialog(javax.swing.JComponent parent,
java.lang.String actionName,
boolean contentWasModified) |
static boolean |
showExitWithoutApplyingChangesDialog(javax.swing.JComponent component,
MergeRequest request,
MergeContext context) |
static boolean |
showExitWithoutApplyingChangesDialog(MergeTool.MergeViewer viewer,
MergeRequest request,
MergeContext context,
boolean contentWasModified) |
public static javax.swing.Action createSimpleResolveAction(MergeResult result, MergeRequest request, MergeContext context, MergeTool.MergeViewer viewer, boolean contentWasModified)
public static java.lang.String getResolveActionTitle(MergeResult result, MergeRequest request, MergeContext context)
public static java.util.List<java.lang.String> notNullizeContentTitles(java.util.List<java.lang.String> mergeContentTitles)
public static boolean showExitWithoutApplyingChangesDialog(MergeTool.MergeViewer viewer, MergeRequest request, MergeContext context, boolean contentWasModified)
public static boolean showExitWithoutApplyingChangesDialog(javax.swing.JComponent component, MergeRequest request, MergeContext context)
public static boolean showConfirmDiscardChangesDialog(javax.swing.JComponent parent, java.lang.String actionName, boolean contentWasModified)
public static boolean shouldRestoreOriginalContentOnCancel(MergeRequest request)
public static void putRevisionInfos(MergeRequest request, MergeData data)
public static void putRevisionInfos(DiffRequest request, MergeData data)
public static void reportProjectFileChangeIfNeeded(Project project, VirtualFile file)