org.eclipse.mylyn.wikitext.ui.viewer
Class HtmlTextPresenter
java.lang.Object
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
Method Summary |
protected String |
exceptionToHoverInfo(String hoverInfo,
TextPresentation presentation,
Exception e)
|
String |
updatePresentation(Display display,
String hoverInfo,
TextPresentation presentation,
int maxWidth,
int maxHeight)
|
String |
updatePresentation(Drawable drawable,
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 |
HtmlTextPresenter
public HtmlTextPresenter()
updatePresentation
public String updatePresentation(Display display,
String hoverInfo,
TextPresentation presentation,
int maxWidth,
int maxHeight)
updatePresentation
public String updatePresentation(Drawable drawable,
String hoverInfo,
TextPresentation presentation,
int maxWidth,
int maxHeight)
exceptionToHoverInfo
protected String exceptionToHoverInfo(String hoverInfo,
TextPresentation presentation,
Exception e)
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