modesteditor.core
Class ModestTextHover

java.lang.Object
  extended by modesteditor.core.ModestTextHover
All Implemented Interfaces:
org.eclipse.jface.text.ITextHover

public class ModestTextHover
extends java.lang.Object
implements org.eclipse.jface.text.ITextHover

Implementation for an ITextHover which hovers over MoDeST code.


Constructor Summary
ModestTextHover()
           
 
Method Summary
 java.lang.String getHoverInfo(org.eclipse.jface.text.ITextViewer textViewer, org.eclipse.jface.text.IRegion hoverRegion)
           
 org.eclipse.jface.text.IRegion getHoverRegion(org.eclipse.jface.text.ITextViewer textViewer, int offset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModestTextHover

public ModestTextHover()
Method Detail

getHoverInfo

public java.lang.String getHoverInfo(org.eclipse.jface.text.ITextViewer textViewer,
                                     org.eclipse.jface.text.IRegion hoverRegion)
Specified by:
getHoverInfo in interface org.eclipse.jface.text.ITextHover

getHoverRegion

public org.eclipse.jface.text.IRegion getHoverRegion(org.eclipse.jface.text.ITextViewer textViewer,
                                                     int offset)
Specified by:
getHoverRegion in interface org.eclipse.jface.text.ITextHover