Eclipse Platform
Release 3.1

org.eclipse.jface.text
Interface ITextPresentationListener

All Known Implementing Classes:
AnnotationPainter, DefaultHyperlinkPresenter

public interface ITextPresentationListener

Text presentation listeners registered with an ITextViewer are informed when a TextPresentation is 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
 void applyTextPresentation(TextPresentation textPresentation)
          This method is called when a text presentation is about to be applied to the text viewer.
 

Method Detail

applyTextPresentation

public 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

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.