Examples of HTMLTextPresenter


Examples of org.eclipse.jface.internal.text.html.HTMLTextPresenter

    final IInformationControlCreator informationControlCreator = new IInformationControlCreator() {
      public IInformationControl createInformationControl(Shell shell) {
        boolean cutDown = false;
        int style = cutDown ? SWT.NONE : SWT.V_SCROLL | SWT.H_SCROLL;
        return new DefaultInformationControl(shell, SWT.RESIZE
            | SWT.TOOL, style, new HTMLTextPresenter(cutDown));
      }
    };

    fInformationPresenter = new InformationPresenter(
        informationControlCreator);
View Full Code Here

Examples of org.eclipse.jface.internal.text.html.HTMLTextPresenter

      @Override
      public void controlResized(ControlEvent e) {
        setJavadocInput(mainViewer.getSelection());
      }
    });
    htmlPresenter = new HTMLTextPresenter(false);
    textPresentation = new TextPresentation();
  }
View Full Code Here

Examples of org.eclipse.wst.sse.ui.internal.derived.HTMLTextPresenter

   */
  final public IInformationControlCreator getInformationControlCreator(ISourceViewer sourceViewer) {
    // used by hover help
    return new IInformationControlCreator() {
      public IInformationControl createInformationControl(Shell parent) {
        return new DefaultInformationControl(parent, new HTMLTextPresenter(true));
      }
    };
  }
View Full Code Here

Examples of org.eclipse.wst.sse.ui.internal.derived.HTMLTextPresenter

  private IInformationControlCreator getInformationPresenterControlCreator(ISourceViewer sourceViewer) {
    return new IInformationControlCreator() {
      public IInformationControl createInformationControl(Shell parent) {
        int shellStyle = SWT.RESIZE | SWT.TOOL;
        int style = SWT.V_SCROLL | SWT.H_SCROLL;
        return new DefaultInformationControl(parent, shellStyle, style, new HTMLTextPresenter(false));
      }
    };
  }
View Full Code Here

Examples of org.eclipse.wst.sse.ui.internal.derived.HTMLTextPresenter

   * @return the information control creator
   */
  private IInformationControlCreator getQuickAssistAssistantInformationControlCreator() {
    return new IInformationControlCreator() {
      public IInformationControl createInformationControl(Shell parent) {
        return new DefaultInformationControl(parent, new HTMLTextPresenter(true));
      }
    };
  }
View Full Code Here

Examples of org.eclipse.wst.sse.ui.internal.derived.HTMLTextPresenter

   */
  final public IInformationControlCreator getInformationControlCreator(ISourceViewer sourceViewer) {
    // used by hover help
    return new IInformationControlCreator() {
      public IInformationControl createInformationControl(Shell parent) {
        return new DefaultInformationControl(parent, new HTMLTextPresenter(true));
      }
    };
  }
View Full Code Here

Examples of org.eclipse.wst.sse.ui.internal.derived.HTMLTextPresenter

  private IInformationControlCreator getInformationPresenterControlCreator(ISourceViewer sourceViewer) {
    return new IInformationControlCreator() {
      public IInformationControl createInformationControl(Shell parent) {
        int shellStyle = SWT.RESIZE | SWT.TOOL;
        int style = SWT.V_SCROLL | SWT.H_SCROLL;
        return new DefaultInformationControl(parent, shellStyle, style, new HTMLTextPresenter(false));
      }
    };
  }
View Full Code Here

Examples of org.eclipse.wst.sse.ui.internal.derived.HTMLTextPresenter

   * @return the information control creator
   */
  private IInformationControlCreator getQuickAssistAssistantInformationControlCreator() {
    return new IInformationControlCreator() {
      public IInformationControl createInformationControl(Shell parent) {
        return new DefaultInformationControl(parent, new HTMLTextPresenter(true));
      }
    };
  }
View Full Code Here

Examples of org.eclipse.wst.sse.ui.internal.derived.HTMLTextPresenter

    // used for Show Tooltip Description
    IInformationControlCreator informationControlCreator = new IInformationControlCreator() {
      public IInformationControl createInformationControl(Shell shell) {
        boolean cutDown = false;
        int style = cutDown ? SWT.NONE : (SWT.V_SCROLL | SWT.H_SCROLL);
        return new DefaultInformationControl(shell, SWT.RESIZE | SWT.TOOL, style, new HTMLTextPresenter(cutDown));
      }
    };

    fInformationPresenter = new InformationPresenter(informationControlCreator);
    fInformationPresenter.setSizeConstraints(60, 10, true, true);
View Full Code Here

Examples of org.eclipse.wst.sse.ui.internal.derived.HTMLTextPresenter

    // used for Show Tooltip Description
    IInformationControlCreator informationControlCreator = new IInformationControlCreator() {
      public IInformationControl createInformationControl(Shell shell) {
        boolean cutDown = false;
        int style = cutDown ? SWT.NONE : (SWT.V_SCROLL | SWT.H_SCROLL);
        return new DefaultInformationControl(shell, SWT.RESIZE | SWT.TOOL, style, new HTMLTextPresenter(cutDown));
      }
    };

    fInformationPresenter = new InformationPresenter(informationControlCreator);
    fInformationPresenter.setSizeConstraints(60, 10, true, true);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.