public interface RTFileCommand extends RTAbstractCommand
Modifier and Type | Interface and Description |
---|---|
static interface |
RTFileCommand.MergeCompletionCallback
Callback for file compare/merge operations.
|
static class |
RTFileCommand.Mode
Defines mode kind for compare/merge command
|
Modifier and Type | Method and Description |
---|---|
RTFileCommand |
setAncestor(File file)
Set ancestor version.
|
RTFileCommand |
setAncestor(org.eclipse.compare.IStreamContentAccessor stream)
Set ancestor version via
IStreamContentAccessor |
RTFileCommand |
setCompletionCallback(RTFileCommand.MergeCompletionCallback callback)
Set callback which will be notified when compare/merge operation is completed
|
RTFileCommand |
setDescriptions(String ancestor,
String left,
String right)
Set detailed descriptions for ancestor/left/right versions
|
RTFileCommand |
setFileExtension(String ext)
Set common file extension.
|
RTFileCommand |
setLabels(String ancestor,
String left,
String right)
Set labels for ancestor/left/right versions
|
RTFileCommand |
setLeft(File file)
Set left version
|
RTFileCommand |
setLeft(org.eclipse.compare.IStreamContentAccessor stream)
Set left version via
IStreamContentAccessor |
RTFileCommand |
setMode(RTFileCommand.Mode mode)
Set mode for compare/merge command
|
RTFileCommand |
setOutput(File file)
Set output for the merge operation.
|
RTFileCommand |
setOutput(OutputStream out)
Set output for the merge operation via
OutputStream |
RTFileCommand |
setRight(File file)
Set right version
|
RTFileCommand |
setRight(org.eclipse.compare.IStreamContentAccessor stream)
Set right version via
IStreamContentAccessor |
call
RTFileCommand setFileExtension(String ext)
ext
- - file extension (without '.')RTFileCommand setAncestor(File file)
file
- - File
RTFileCommand setAncestor(org.eclipse.compare.IStreamContentAccessor stream)
IStreamContentAccessor
stream
- - IStreamContentAccessor
RTFileCommand setLeft(File file)
file
- - File
RTFileCommand setLeft(org.eclipse.compare.IStreamContentAccessor stream)
IStreamContentAccessor
stream
- - IStreamContentAccessor
RTFileCommand setRight(File file)
file
- - File
RTFileCommand setRight(org.eclipse.compare.IStreamContentAccessor stream)
IStreamContentAccessor
stream
- - IStreamContentAccessor
RTFileCommand setOutput(File file)
file
- - File
RTFileCommand setOutput(OutputStream out)
OutputStream
out
- - OutputStream
RTFileCommand setLabels(String ancestor, String left, String right)
ancestor
- - label for ancestorleft
- - label for left versionright
- - label for right versionRTFileCommand setDescriptions(String ancestor, String left, String right)
ancestor
- - description for ancestorleft
- - description for left versionright
- - description for right versionRTFileCommand setMode(RTFileCommand.Mode mode)
mode
- RTFileCommand.Mode
RTFileCommand setCompletionCallback(RTFileCommand.MergeCompletionCallback callback)
callback
- - RTFileCommand.MergeCompletionCallback