org.eclipse.cdt.internal.ui.text
Class PartitionDamager
java.lang.Object
org.eclipse.cdt.internal.ui.text.PartitionDamager
- All Implemented Interfaces:
- org.eclipse.jface.text.presentation.IPresentationDamager
public class PartitionDamager
- extends java.lang.Object
- implements org.eclipse.jface.text.presentation.IPresentationDamager
A simple presentation damager always damaging the whole partition.
This is necessary if the partition contains multiline highlight regions.
- Since:
- 4.0
Method Summary |
org.eclipse.jface.text.IRegion |
getDamageRegion(org.eclipse.jface.text.ITypedRegion partition,
org.eclipse.jface.text.DocumentEvent event,
boolean documentPartitioningChanged)
|
void |
setDocument(org.eclipse.jface.text.IDocument document)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartitionDamager
public PartitionDamager()
getDamageRegion
public org.eclipse.jface.text.IRegion getDamageRegion(org.eclipse.jface.text.ITypedRegion partition,
org.eclipse.jface.text.DocumentEvent event,
boolean documentPartitioningChanged)
- Specified by:
getDamageRegion
in interface org.eclipse.jface.text.presentation.IPresentationDamager
setDocument
public void setDocument(org.eclipse.jface.text.IDocument document)
- Specified by:
setDocument
in interface org.eclipse.jface.text.presentation.IPresentationDamager