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

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

public class DefaultCompositeHover
extends AbstractCompositeHover

The default implementation of a composite hover. Configured with the AnnotationWithQuickFixesHover and XtextHtmlHover.

Author:
Christoph Kulla - Initial contribution and API

Field Summary
protected  AnnotationWithQuickFixesHover annotationHover
           
protected  DispatchingEObjectTextHover htmlHover
           
 
Constructor Summary
DefaultCompositeHover()
           
 
Method Summary
protected  java.util.List<org.eclipse.jface.text.ITextHover> createHovers()
           
 
Methods inherited from class org.eclipse.xtext.ui.editor.hover.AbstractCompositeHover
getHoverControlCreator, getHoverInfo, getHoverInfo2, getHoverRegion, getHovers, setSourceViewer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

annotationHover

@Inject
protected AnnotationWithQuickFixesHover annotationHover

htmlHover

@Inject
protected DispatchingEObjectTextHover htmlHover
Constructor Detail

DefaultCompositeHover

public DefaultCompositeHover()
Method Detail

createHovers

protected java.util.List<org.eclipse.jface.text.ITextHover> createHovers()
Specified by:
createHovers in class AbstractCompositeHover