DiffRequestFactory
instead@Deprecated
public abstract class DiffRequestFactory
extends java.lang.Object
Constructor and Description |
---|
DiffRequestFactory()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
abstract MergeRequest |
create3WayDiffRequest(java.lang.String leftText,
java.lang.String rightText,
java.lang.String originalContent,
FileType type,
Project project,
ActionButtonPresentation okButtonPresentation,
ActionButtonPresentation cancelButtonPresentation)
Deprecated.
|
abstract MergeRequest |
create3WayDiffRequest(java.lang.String leftText,
java.lang.String rightText,
java.lang.String originalContent,
Project project,
ActionButtonPresentation okButtonPresentation,
ActionButtonPresentation cancelButtonPresentation)
Deprecated.
|
abstract MergeRequest |
createMergeRequest(java.lang.String leftText,
java.lang.String rightText,
java.lang.String originalContent,
VirtualFile file,
Project project,
ActionButtonPresentation okButtonPresentation,
ActionButtonPresentation cancelButtonPresentation)
Deprecated.
Creates a request for a merge operation.
|
static DiffRequestFactory |
getInstance()
Deprecated.
|
public static DiffRequestFactory getInstance()
public abstract MergeRequest createMergeRequest(java.lang.String leftText, java.lang.String rightText, java.lang.String originalContent, VirtualFile file, Project project, ActionButtonPresentation okButtonPresentation, ActionButtonPresentation cancelButtonPresentation)
DiffManager.getDiffTool()
and then call DiffTool.show(DiffRequest)
.leftText
- First of the changed versions of the content (to be displayed in the left pane).rightText
- Second of the changed versions of the content (to be displayed in the right pane).originalContent
- The version of the content before changes.file
- The file which is being merged.project
- The project in the context of which the operation is executed.okButtonPresentation
- Parameter ignored.cancelButtonPresentation
- Parameter ignored.public abstract MergeRequest create3WayDiffRequest(java.lang.String leftText, java.lang.String rightText, java.lang.String originalContent, Project project, ActionButtonPresentation okButtonPresentation, ActionButtonPresentation cancelButtonPresentation)
public abstract MergeRequest create3WayDiffRequest(java.lang.String leftText, java.lang.String rightText, java.lang.String originalContent, FileType type, Project project, ActionButtonPresentation okButtonPresentation, ActionButtonPresentation cancelButtonPresentation)