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

java.lang.Object
  extended by 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

Constructor Summary
PartitionDamager()
           
 
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
 

Constructor Detail

PartitionDamager

public PartitionDamager()
Method Detail

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