Package org.eclipse.jface.internal.text.html

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


   * @param parent the parent shell
   * @param toolBarManager the manager or <code>null</code> if toolbar is not desired
   * @since 3.4
   */
  public DefaultInformationControl(Shell parent, ToolBarManager toolBarManager) {
    this(parent, toolBarManager, new HTMLTextPresenter(false));
  }
View Full Code Here


  }

  private IInformationControlCreator getInformationControlCreator() {
    return new IInformationControlCreator() {
      public IInformationControl createInformationControl(Shell parent) {
        return new DefaultInformationControl(parent, new HTMLTextPresenter());
      }
    };
  }
View Full Code Here

  public IInformationControlCreator getInformationControlCreator(
      ISourceViewer sourceViewer) {
    return new IInformationControlCreator() {
      public IInformationControl createInformationControl(Shell parent) {
        return new DefaultInformationControl(parent,
            new HTMLTextPresenter());
      }
    };
  }
View Full Code Here

    @Override
    public IInformationControlCreator getInformationControlCreator(ISourceViewer sourceViewer) {
        return new IInformationControlCreator() {
            public IInformationControl createInformationControl(Shell parent) {
                return new DefaultInformationControl(parent, SWT.NONE, new HTMLTextPresenter(true));
            }
        };
    }
View Full Code Here

         * #doCreateInformationControl(org.eclipse.swt.widgets.Shell)
         */
        public IInformationControl doCreateInformationControl(
            Shell parent) {
          return new DefaultInformationControl(parent,
              new HTMLTextPresenter(false));
        }
      };
    }
    return fPresenterControlCreator;
  }
View Full Code Here

         */
        public IInformationControl doCreateInformationControl(
            Shell parent) {
          return new DefaultInformationControl(parent, EditorsUI
              .getTooltipAffordanceString(),
              new HTMLTextPresenter(true));
        }
      };
    }
    return fHoverControlCreator;
  }
View Full Code Here

   * @since 3.4
   */
  public DefaultInformationControl(Shell parent, boolean isResizeable) {
    super(parent, isResizeable);
    fAdditionalTextStyles= isResizeable ? SWT.V_SCROLL | SWT.H_SCROLL : SWT.NONE;
    fPresenter= new HTMLTextPresenter(!isResizeable);
    create();
  }
View Full Code Here

   * @param parent the parent shell
   * @param statusFieldText the text to be used in the status field or <code>null</code> to hide the status field
   * @since 3.4
   */
  public DefaultInformationControl(Shell parent, String statusFieldText) {
    this(parent, statusFieldText, new HTMLTextPresenter(true));
  }
View Full Code Here

   * @param parent the parent shell
   * @param toolBarManager the manager or <code>null</code> if toolbar is not desired
   * @since 3.4
   */
  public DefaultInformationControl(Shell parent, ToolBarManager toolBarManager) {
    this(parent, toolBarManager, new HTMLTextPresenter(false));
  }
View Full Code Here

    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

TOP

Related Classes of org.eclipse.jface.internal.text.html.HTMLTextPresenter

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.