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 |
callRTFileCommand setFileExtension(String ext)
ext - - file extension (without '.')RTFileCommand setAncestor(File file)
file - - FileRTFileCommand setAncestor(org.eclipse.compare.IStreamContentAccessor stream)
IStreamContentAccessorstream - - IStreamContentAccessorRTFileCommand setLeft(File file)
file - - FileRTFileCommand setLeft(org.eclipse.compare.IStreamContentAccessor stream)
IStreamContentAccessorstream - - IStreamContentAccessorRTFileCommand setRight(File file)
file - - FileRTFileCommand setRight(org.eclipse.compare.IStreamContentAccessor stream)
IStreamContentAccessorstream - - IStreamContentAccessorRTFileCommand setOutput(File file)
file - - FileRTFileCommand setOutput(OutputStream out)
OutputStreamout - - OutputStreamRTFileCommand 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.ModeRTFileCommand setCompletionCallback(RTFileCommand.MergeCompletionCallback callback)
callback - - RTFileCommand.MergeCompletionCallback