Package org.eclipse.jface.text
Interface ITextPresentationListener
-
- All Known Implementing Classes:
AnnotationPainter,DefaultHyperlinkPresenter,MultipleHyperlinkPresenter
public interface ITextPresentationListenerText presentation listeners registered with anITextViewerare informed when aTextPresentationis about to be applied to the text viewer. The listener can apply changes to the text presentation and thus participate in the process of text presentation creation.- Since:
- 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapplyTextPresentation(TextPresentation textPresentation)This method is called when a text presentation is about to be applied to the text viewer.
-
-
-
Method Detail
-
applyTextPresentation
void applyTextPresentation(TextPresentation textPresentation)
This method is called when a text presentation is about to be applied to the text viewer. The receiver is allowed to change the text presentation during that call.- Parameters:
textPresentation- the current text presentation
-
-