Mylyn WikiText

org.eclipse.mylyn.wikitext.ui.viewer
Class HtmlTextPresenter

java.lang.Object
  extended by org.eclipse.mylyn.wikitext.ui.viewer.HtmlTextPresenter
Direct Known Subclasses:
MarkupTextPresenter

public class HtmlTextPresenter
extends Object

An information presenter that supports HTML markup. Uses the HTML parser to parse the HTML to readable text, and creates the appropriate corresponding text presentation.

Since:
1.0
Author:
David Green

Constructor Summary
HtmlTextPresenter()
           
 
Method Summary
protected  String exceptionToHoverInfo(String hoverInfo, TextPresentation presentation, Exception e)
           
 String updatePresentation(Display display, String hoverInfo, TextPresentation presentation, int maxWidth, int maxHeight)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlTextPresenter

public HtmlTextPresenter()
Method Detail

updatePresentation

public String updatePresentation(Display display,
                                 String hoverInfo,
                                 TextPresentation presentation,
                                 int maxWidth,
                                 int maxHeight)

exceptionToHoverInfo

protected String exceptionToHoverInfo(String hoverInfo,
                                      TextPresentation presentation,
                                      Exception e)

Mylyn WikiText

Copyright © 2007, 2009 David Green and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html