public interface IPresentationRepairer
createPresentation.
This interface may be implemented by clients. Alternatively, clients may use
the rule-based default implementation
DefaultDamagerRepairer. Implementers
should be registered with a presentation reconciler in order get involved in
the reconciling process.
IPresentationReconciler,
IDocument,
StyleRange,
TextPresentation| Modifier and Type | Method and Description |
|---|---|
void |
createPresentation(TextPresentation presentation,
ITypedRegion damage)
Fills the given presentation with the style ranges which when applied to the
presentation reconciler's text viewer repair the presentation damage described by
the given region.
|
void |
setDocument(IDocument document)
Tells the presentation repairer on which document it will work.
|
void setDocument(IDocument document)
document - the damager's working documentvoid createPresentation(TextPresentation presentation, ITypedRegion damage)
presentation - the text presentation to be filled by this repairerdamage - the damage to be repairedGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.