org.eclipse.cdt.internal.ui.text
Class CPresentationReconciler

java.lang.Object
  extended by org.eclipse.jface.text.presentation.PresentationReconciler
      extended by org.eclipse.cdt.internal.ui.text.CPresentationReconciler
All Implemented Interfaces:
org.eclipse.jface.text.presentation.IPresentationReconciler, org.eclipse.jface.text.presentation.IPresentationReconcilerExtension

public class CPresentationReconciler
extends org.eclipse.jface.text.presentation.PresentationReconciler

Presentation reconciler, adding functionality for operation without a viewer. Cloned from JDT.

Since:
4.0

Constructor Summary
CPresentationReconciler()
           
 
Method Summary
 org.eclipse.jface.text.TextPresentation createRepairDescription(org.eclipse.jface.text.IRegion damage, org.eclipse.jface.text.IDocument document)
          Constructs a "repair description" for the given damage and returns this description as a text presentation.
 
Methods inherited from class org.eclipse.jface.text.presentation.PresentationReconciler
getDamager, getDocumentPartitioning, getRepairer, install, setDamager, setDocumentPartitioning, setRepairer, uninstall
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CPresentationReconciler

public CPresentationReconciler()
Method Detail

createRepairDescription

public org.eclipse.jface.text.TextPresentation createRepairDescription(org.eclipse.jface.text.IRegion damage,
                                                                       org.eclipse.jface.text.IDocument document)
Constructs a "repair description" for the given damage and returns this description as a text presentation.

NOTE: Should not be used if this reconciler is installed on a viewer.

Parameters:
damage - the damage to be repaired
document - the document whose presentation must be repaired
Returns:
the presentation repair description as text presentation