public interface IPresentationDamager
This interface must either be implemented by clients or clients use the
rule-based default implementation
DefaultDamagerRepairer
. Implementers
should be registered with a presentation reconciler in order get involved in
the reconciling process.
Modifier and Type | Method and Description |
---|---|
IRegion |
getDamageRegion(ITypedRegion partition,
DocumentEvent event,
boolean documentPartitioningChanged)
Returns the damage in the document's presentation caused by the given document change.
|
void |
setDocument(IDocument document)
Tells the presentation damager on which document it will work.
|
void setDocument(IDocument document)
document
- the damager's working documentIRegion getDamageRegion(ITypedRegion partition, DocumentEvent event, boolean documentPartitioningChanged)
partition
- the partition inside which the damage must be determinedevent
- the event describing the change whose damage must be determineddocumentPartitioningChanged
- indicates whether the given change changed the document's partitioning
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.