org.eclipse.cdt.internal.ui.text.c.hover
Class AbstractAnnotationHover
java.lang.Object
org.eclipse.cdt.internal.ui.text.c.hover.AbstractCEditorTextHover
org.eclipse.cdt.internal.ui.text.c.hover.AbstractAnnotationHover
- All Implemented Interfaces:
- ICEditorTextHover, org.eclipse.jface.text.ITextHover, org.eclipse.jface.text.ITextHoverExtension
- Direct Known Subclasses:
- AnnotationHover
public class AbstractAnnotationHover
- extends AbstractCEditorTextHover
AbstractAnnotationHover
Abstract super class for annotation hovers.
Method Summary |
java.lang.String |
getHoverInfo(org.eclipse.jface.text.ITextViewer textViewer,
org.eclipse.jface.text.IRegion hoverRegion)
|
void |
setEditor(org.eclipse.ui.IEditorPart editor)
Sets the editor on which the hover is shown. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAnnotationHover
public AbstractAnnotationHover(boolean allAnnotations)
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
- Specified by:
getHoverInfo
in class AbstractCEditorTextHover
setEditor
public void setEditor(org.eclipse.ui.IEditorPart editor)
- Description copied from interface:
ICEditorTextHover
- Sets the editor on which the hover is shown.
- Specified by:
setEditor
in interface ICEditorTextHover
- Overrides:
setEditor
in class AbstractCEditorTextHover
- Parameters:
editor
- the editor on which the hover popup should be shown