Package org.eclipse.php.internal.ui.editor.hover

Examples of org.eclipse.php.internal.ui.editor.hover.PHPSourceViewerInformationControl


   * @see
   * org.eclipse.jface.text.IInformationControlCreator#createInformationControl
   * (org.eclipse.swt.widgets.Shell)
   */
  public IInformationControl createInformationControl(Shell parent) {
    fControl = new PHPSourceViewerInformationControl(parent, fOrientation) {
      public void setInformation(String content) {
        TextPresentation presentation = new TextPresentation();
        HTML2TextReader reader = new HTML2TextReader(new StringReader(
            content), presentation);
        try {
View Full Code Here


            public IInformationControl createInformationControl(
                final Shell shell) {
              final int shellStyle = SWT.RESIZE | SWT.TOOL
                  | getOrientation();
              final int style = SWT.V_SCROLL | SWT.H_SCROLL;
              return new PHPSourceViewerInformationControl(shell,
                  shellStyle, style);
            }
          };
        else if (annotationHover instanceof IInformationProviderExtension2)
          controlCreator = ((IInformationProviderExtension2) annotationHover)
View Full Code Here

   */
  public IInformationControlCreator getHoverControlCreator() {
    if (fInformationControlCreator == null) {
      fInformationControlCreator = new IInformationControlCreator() {
        public IInformationControl createInformationControl(Shell parent) {
          return new PHPSourceViewerInformationControl(parent);
        }
      };
    }
    return fInformationControlCreator;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.ui.editor.hover.PHPSourceViewerInformationControl

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.