SUMMARY: 
java.lang.Object
  
oracle.javatools.compare.CompareContributor
      
oracle.javatools.compare.algorithm.sequence.SequenceCompareContributor
          
oracle.javatools.compare.algorithm.text.TextCompareContributor
              
oracle.jdeveloper.compare.IdeTextCompareContributor
                  
oracle.jdeveloper.compare.TextNodeContributor
- All Implemented Interfaces: 
 - oracle.javatools.compare.algorithm.EditableContributor, IdeCompareContributor, PatchCompareContributor
 
- Direct Known Subclasses: 
 - TextMergeNodeContributor
 
public class TextNodeContributor
- extends IdeTextCompareContributor
- implements oracle.javatools.compare.algorithm.EditableContributor, PatchCompareContributor
  
A TextCompareContributor based on the current contents of an editor
 buffer.
- Since:
 
  - 10.0.3
 
TextNodeContributor
public TextNodeContributor(TextNode node)
getTextBuffer
public TextBuffer getTextBuffer()
- Description copied from interface: 
PatchCompareContributor 
- Gets the text buffer for the comparison and patch contribution.
- Specified by:
 getTextBuffer in interface PatchCompareContributor- Specified by:
 getTextBuffer in class oracle.javatools.compare.algorithm.text.TextCompareContributor
 
- Returns:
 - the contributor text buffer.
 
 
 
getType
public java.lang.String getType()
- Description copied from class: 
CompareContributor 
- Get the extension of the file this contributor represents. This is
 currently only used to determine the syntax highlighting style for
 the text compare viewer, but it will almost certainly be used for
 other things in the future.
 
 By default, this method returns an empty string.
- Overrides:
 getType in class CompareContributor
 
- Returns:
 - an extension for this file without any period prefix. E.g. "java".
 
 
 
getShortLabel
public java.lang.String getShortLabel()
- Description copied from class: 
CompareContributor 
- Get a short label for this comparable element.
- Overrides:
 getShortLabel in class CompareContributor
 
- Returns:
 - a short label for this comparable element.
 
 
 
getLongLabel
public java.lang.String getLongLabel()
- Description copied from class: 
CompareContributor 
- Get a long label for this comparable element.
- Overrides:
 getLongLabel in class CompareContributor
 
- Returns:
 - a long label for this comparable element.
 
 
 
isEditable
public boolean isEditable()
- Specified by:
 isEditable in interface oracle.javatools.compare.algorithm.EditableContributor
 
 
isModified
public boolean isModified()
- Specified by:
 isModified in interface oracle.javatools.compare.algorithm.EditableContributor
 
 
getPatchDescriptor
public PatchCompareDescriptor getPatchDescriptor()
- Description copied from interface: 
PatchCompareContributor 
- Gets the patch descriptor object for the compare contributor, used in the
 creation of a patch.
- Specified by:
 getPatchDescriptor in interface PatchCompareContributor
 
- Returns:
 - the patch descriptor object.
 
 
 
getTextNode
public TextNode getTextNode()
 
 
getNode
public Node getNode()
- Description copied from interface: 
IdeCompareContributor 
- Gets the primary node instance associated with the compare contributor.
- Specified by:
 getNode in interface IdeCompareContributor- Overrides:
 getNode in class IdeTextCompareContributor
 
- Returns:
 - the node.