org.eclipse.mofscript.editor
Class MofScriptTextHover

java.lang.Object
  extended by org.eclipse.mofscript.editor.MofScriptTextHover
All Implemented Interfaces:
org.eclipse.jface.text.ITextHover

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

Provides hover information for text

Author:
jol

Constructor Summary
MofScriptTextHover()
           
 
Method Summary
 java.lang.String getHoverInfo(org.eclipse.jface.text.ITextViewer textViewer, org.eclipse.jface.text.IRegion hoverRegion)
          Gets the hover info from the function description in the MofScriptEditorMessages class
 org.eclipse.jface.text.IRegion getHoverRegion(org.eclipse.jface.text.ITextViewer textViewer, int offset)
          Gets a region
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MofScriptTextHover

public MofScriptTextHover()
Method Detail

getHoverInfo

public java.lang.String getHoverInfo(org.eclipse.jface.text.ITextViewer textViewer,
                                     org.eclipse.jface.text.IRegion hoverRegion)
Gets the hover info from the function description in the MofScriptEditorMessages class

Specified by:
getHoverInfo in interface org.eclipse.jface.text.ITextHover
See Also:
MofScriptEditorMessages

getHoverRegion

public org.eclipse.jface.text.IRegion getHoverRegion(org.eclipse.jface.text.ITextViewer textViewer,
                                                     int offset)
Gets a region

Specified by:
getHoverRegion in interface org.eclipse.jface.text.ITextHover
Parameters:
textViewer -
offset -