org.eclipse.xtext.ui.editor.hover
Class AnnotationWithQuickFixesHover

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.hover.AbstractHover
      extended by org.eclipse.xtext.ui.editor.hover.AbstractProblemHover
          extended by org.eclipse.xtext.ui.editor.hover.AnnotationWithQuickFixesHover
All Implemented Interfaces:
org.eclipse.jface.text.ITextHover, org.eclipse.jface.text.ITextHoverExtension, org.eclipse.jface.text.ITextHoverExtension2, ISourceViewerAware

public class AnnotationWithQuickFixesHover
extends AbstractProblemHover

Hover which shows annotation and quick fixes. Clone from JDTs org.eclipse.jdt.internal.ui.text.java.hover.AbstractAnnotationHover.

Author:
Christoph Kulla

Nested Class Summary
static class AnnotationWithQuickFixesHover.AnnotationInfo
           
 
Field Summary
 
Fields inherited from class org.eclipse.xtext.ui.editor.hover.AbstractHover
sourceViewer
 
Constructor Summary
AnnotationWithQuickFixesHover()
           
 
Method Summary
 org.eclipse.jface.text.IInformationControlCreator getHoverControlCreator()
           
protected  java.lang.Object getHoverInfoInternal(org.eclipse.jface.text.ITextViewer textViewer, int lineNumber, int offset)
           
protected  org.eclipse.jface.text.Region getHoverRegionInternal(int lineNumber, int offset)
           
 org.eclipse.jface.text.IInformationControlCreator getInformationPresenterControlCreator()
           
 
Methods inherited from class org.eclipse.xtext.ui.editor.hover.AbstractProblemHover
getAnnotationModel, getAnnotations, getHoverInfo2, getHoverRegion, isHandled, isLineDiffInfo
 
Methods inherited from class org.eclipse.xtext.ui.editor.hover.AbstractHover
getDocument, getHoverInfo, getLineNumber, setSourceViewer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationWithQuickFixesHover

public AnnotationWithQuickFixesHover()
Method Detail

getHoverRegionInternal

protected org.eclipse.jface.text.Region getHoverRegionInternal(int lineNumber,
                                                               int offset)
Specified by:
getHoverRegionInternal in class AbstractProblemHover

getHoverInfoInternal

protected java.lang.Object getHoverInfoInternal(org.eclipse.jface.text.ITextViewer textViewer,
                                                int lineNumber,
                                                int offset)
Specified by:
getHoverInfoInternal in class AbstractProblemHover

getHoverControlCreator

public org.eclipse.jface.text.IInformationControlCreator getHoverControlCreator()
Specified by:
getHoverControlCreator in interface org.eclipse.jface.text.ITextHoverExtension
Overrides:
getHoverControlCreator in class AbstractHover

getInformationPresenterControlCreator

public org.eclipse.jface.text.IInformationControlCreator getInformationPresenterControlCreator()