org.eclipse.cdt.internal.ui.text
Class CPresentationReconciler
java.lang.Object
org.eclipse.jface.text.presentation.PresentationReconciler
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
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 |
CPresentationReconciler
public CPresentationReconciler()
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 repaireddocument
- the document whose presentation must be repaired
- Returns:
- the presentation repair description as text presentation