Package org.eclipse.wst.sse.ui.internal.taginfo

Examples of org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover


   *             <code>documentationTextHover</code> element in the
   *             <code>org.eclipse.wst.sse.ui.editorConfiguration</code>
   *             extension point
   */
  protected IInformationProvider getInformationProvider(ISourceViewer sourceViewer, String partitionType) {
    ITextHover bestMatchHover = new BestMatchHover(createDocumentationHovers(partitionType));
    return new TextHoverInformationProvider(bestMatchHover);
  }
View Full Code Here


        if (TextHoverManager.PROBLEM_HOVER.equalsIgnoreCase(hoverType))
          textHover = new ProblemAnnotationHoverProcessor();
        else if (TextHoverManager.ANNOTATION_HOVER.equalsIgnoreCase(hoverType))
          textHover = new AnnotationHoverProcessor();
        else if (TextHoverManager.COMBINATION_HOVER.equalsIgnoreCase(hoverType))
          textHover = new BestMatchHover(createDocumentationHovers(contentType));
        else if (TextHoverManager.DOCUMENTATION_HOVER.equalsIgnoreCase(hoverType)) {
          ITextHover[] hovers = createDocumentationHovers(contentType);
          if (hovers.length > 0) {
            textHover = hovers[0];
          }
View Full Code Here

   *             <code>documentationTextHover</code> element in the
   *             <code>org.eclipse.wst.sse.ui.editorConfiguration</code>
   *             extension point
   */
  protected IInformationProvider getInformationProvider(ISourceViewer sourceViewer, String partitionType) {
    ITextHover bestMatchHover = new BestMatchHover(partitionType);
    return new TextHoverInformationProvider(bestMatchHover);
  }
View Full Code Here

        if (TextHoverManager.PROBLEM_HOVER.equalsIgnoreCase(hoverType))
          textHover = new ProblemAnnotationHoverProcessor();
        else if (TextHoverManager.ANNOTATION_HOVER.equalsIgnoreCase(hoverType))
          textHover = new AnnotationHoverProcessor();
        else if (TextHoverManager.COMBINATION_HOVER.equalsIgnoreCase(hoverType))
          textHover = new BestMatchHover(contentType);
        else if (TextHoverManager.DOCUMENTATION_HOVER.equalsIgnoreCase(hoverType)) {
          ITextHover[] hovers = createDocumentationHovers(contentType);
          if (hovers.length > 0) {
            textHover = hovers[0];
          }
View Full Code Here

TOP

Related Classes of org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.