org.eclipse.cdt.internal.ui.text.c.hover
Class AbstractAnnotationHover

java.lang.Object
  extended by org.eclipse.cdt.internal.ui.text.c.hover.AbstractCEditorTextHover
      extended by 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.


Constructor Summary
AbstractAnnotationHover(boolean allAnnotations)
           
 
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 org.eclipse.cdt.internal.ui.text.c.hover.AbstractCEditorTextHover
getHoverControlCreator, getHoverRegion
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAnnotationHover

public AbstractAnnotationHover(boolean allAnnotations)
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
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