org.sintef.mofscript.editor
Class MofScriptTextHover
java.lang.Object
org.sintef.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
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 |
MofScriptTextHover
public MofScriptTextHover()
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