public class TextMergeContributor
extends oracle.javatools.compare.algorithm.text.TextCompareContributor
TextBuffer.| Constructor and Description |
|---|
TextMergeContributor(TextBuffer textBuffer,
java.lang.String type,
java.lang.String title)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLongLabel()
Get a long label for this comparable element.
|
java.lang.String |
getShortLabel()
Get a short label for this comparable element.
|
TextBuffer |
getTextBuffer()
Get the TextBuffer to display in compare for this contributor.
|
java.lang.String |
getType()
Get the extension of the file this contributor represents.
|
_equal, addChangeListener, addHighLite, addHighLiteListener, addTextBufferListeners, deleteElement, deleteHighLite, equal, fireChangeEvent, getDocumentModel, getElement, getHighLite, getIgnoreWhitespace, getLength, insertElement, isHighLite, newHighLite, removeChangeListener, removeHighLiteListener, replaceElement, reset, selected, setDocumentModel, setIgnoreWhitespaceaddPropertyChangeListener, addPropertyChangeListener, getProperty, getPropertyChangeSupport, removePropertyChangeListener, setLongLabel, setProperty, setShortLabel, setTypepublic TextMergeContributor(TextBuffer textBuffer, java.lang.String type, java.lang.String title)
textBuffer - the text buffer on which the contributor is based.type - the type (a file suffix, used for view syntax highlighting).title - the user-visible title of the contributor.public TextBuffer getTextBuffer()
getTextBuffer in class oracle.javatools.compare.algorithm.text.TextCompareContributorpublic java.lang.String getType()
getType in class CompareContributorpublic java.lang.String getLongLabel()
getLongLabel in class CompareContributorpublic java.lang.String getShortLabel()
getShortLabel in class CompareContributor