Mylyn WikiText

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

java.lang.Object
  extended by org.eclipse.mylyn.wikitext.ui.viewer.HtmlTextPresenter
      extended by org.eclipse.mylyn.wikitext.ui.viewer.MarkupTextPresenter

public class MarkupTextPresenter
extends HtmlTextPresenter

An information presenter that supports markup. Uses the MarkupParser to parse the markup to HTML, and passes the HTML to the superclass.

Since:
1.0
Author:
David Green

Constructor Summary
MarkupTextPresenter()
           
 
Method Summary
 MarkupLanguage getMarkupLanguage()
          the markup language used by this presenter
 void setMarkupLanguage(MarkupLanguage markupLanguage)
          the markup language used by this presenter
 String updatePresentation(Drawable drawable, String hoverInfo, TextPresentation presentation, int maxWidth, int maxHeight)
           
 
Methods inherited from class org.eclipse.mylyn.wikitext.ui.viewer.HtmlTextPresenter
exceptionToHoverInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarkupTextPresenter

public MarkupTextPresenter()
Method Detail

getMarkupLanguage

public MarkupLanguage getMarkupLanguage()
the markup language used by this presenter


setMarkupLanguage

public void setMarkupLanguage(MarkupLanguage markupLanguage)
the markup language used by this presenter


updatePresentation

public String updatePresentation(Drawable drawable,
                                 String hoverInfo,
                                 TextPresentation presentation,
                                 int maxWidth,
                                 int maxHeight)
Overrides:
updatePresentation in class HtmlTextPresenter

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