public abstract class RTFileCommandImpl extends Object implements RTFileCommand
RTFileCommand.MergeCompletionCallback, RTFileCommand.Mode| Constructor and Description |
|---|
RTFileCommandImpl() |
| Modifier and Type | Method and Description |
|---|---|
static com.ibm.xtools.comparemerge.core.utils.IInputOutputDescriptor |
createDescriptor(Object obj,
String lbl,
String descr) |
static String |
getFileExtension(File file) |
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 |
setRight(File file)
Set right version
|
RTFileCommand |
setRight(org.eclipse.compare.IStreamContentAccessor stream)
Set right version via
IStreamContentAccessor |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetOutput, setOutputcallpublic RTFileCommand setCompletionCallback(RTFileCommand.MergeCompletionCallback callback)
RTFileCommandsetCompletionCallback in interface RTFileCommandcallback - - RTFileCommand.MergeCompletionCallbackpublic RTFileCommand setMode(RTFileCommand.Mode mode)
RTFileCommandsetMode in interface RTFileCommandmode - RTFileCommand.Modepublic RTFileCommand setFileExtension(String ext)
RTFileCommandsetFileExtension in interface RTFileCommandext - - file extension (without '.')public RTFileCommand setAncestor(File file)
RTFileCommandsetAncestor in interface RTFileCommandfile - - Filepublic RTFileCommand setAncestor(org.eclipse.compare.IStreamContentAccessor stream)
RTFileCommandIStreamContentAccessorsetAncestor in interface RTFileCommandstream - - IStreamContentAccessorpublic RTFileCommand setLeft(File file)
RTFileCommandsetLeft in interface RTFileCommandfile - - Filepublic RTFileCommand setLeft(org.eclipse.compare.IStreamContentAccessor stream)
RTFileCommandIStreamContentAccessorsetLeft in interface RTFileCommandstream - - IStreamContentAccessorpublic RTFileCommand setRight(File file)
RTFileCommandsetRight in interface RTFileCommandfile - - Filepublic RTFileCommand setRight(org.eclipse.compare.IStreamContentAccessor stream)
RTFileCommandIStreamContentAccessorsetRight in interface RTFileCommandstream - - IStreamContentAccessorpublic RTFileCommand setLabels(String ancestor, String left, String right)
RTFileCommandsetLabels in interface RTFileCommandancestor - - label for ancestorleft - - label for left versionright - - label for right versionpublic RTFileCommand setDescriptions(String ancestor, String left, String right)
RTFileCommandsetDescriptions in interface RTFileCommandancestor - - description for ancestorleft - - description for left versionright - - description for right versionpublic static com.ibm.xtools.comparemerge.core.utils.IInputOutputDescriptor createDescriptor(Object obj, String lbl, String descr)