Eclipse Platform
Release 3.0

org.eclipse.jface.text
Interface ITextPresentationListener

All Known Implementing Classes:
AnnotationPainter

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 changed 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.0

Guidelines for using Eclipse APIs.

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