Examples of IInformationPresenter


Examples of org.eclipse.jface.text.DefaultInformationControl.IInformationPresenter

    @Override
    public void createPartControl(Composite parent) {
        Assert.isTrue(!disposed);
        super.createPartControl(parent);
        IInformationPresenter presenter = new InformationPresenterWithLineTracker();
        final ToolTipPresenterHandler tooltip = new ToolTipPresenterHandler(parent.getShell(), presenter);

        GridLayout layout = new GridLayout();
        layout.numColumns = 1;
        layout.verticalSpacing = 2;
View Full Code Here

Examples of org.eclipse.jface.text.DefaultInformationControl.IInformationPresenter

    /**
     * Creates the editors
     */
    protected void createFieldEditors() {
        IInformationPresenter presenter = new AbstractTooltipInformationPresenter() {

            @Override
            protected void onUpdatePresentation(String hoverInfo, TextPresentation presentation) {
            }

View Full Code Here

Examples of org.eclipse.jface.text.information.IInformationPresenter

    addReconcilingListeners(getSourceViewerConfiguration(), getTextViewer());
    fPartListener = new PartListener(this);
    getSite().getWorkbenchWindow().getPartService().addPartListener(fPartListener);
    installSemanticHighlighting();
    if (fOutlineHandler != null) {
      IInformationPresenter presenter = configureOutlinePresenter(getSourceViewer(), getSourceViewerConfiguration());
      if (presenter != null) {
        presenter.install(getSourceViewer());
        fOutlineHandler.configure(presenter);
      }
    }
    installCharacterPairing();
    ISourceViewer viewer = getSourceViewer();
View Full Code Here

Examples of org.eclipse.jface.text.information.IInformationPresenter

    }

    fContentFormatter = configuration.getContentFormatter(this);

    // do not uninstall old information presenter if it's the same
    IInformationPresenter newInformationPresenter = configuration.getInformationPresenter(this);
    if (newInformationPresenter == null || fInformationPresenter == null || !(newInformationPresenter.equals(fInformationPresenter))) {
      if (fInformationPresenter != null)
        fInformationPresenter.uninstall();
      fInformationPresenter = newInformationPresenter;
      if (fInformationPresenter != null)
        fInformationPresenter.install(this);
View Full Code Here

Examples of org.eclipse.jface.text.information.IInformationPresenter

    addReconcilingListeners(getSourceViewerConfiguration(), getTextViewer());
    fPartListener = new PartListener(this);
    getSite().getWorkbenchWindow().getPartService().addPartListener(fPartListener);
    installSemanticHighlighting();
    if (fOutlineHandler != null) {
      IInformationPresenter presenter = configureOutlinePresenter(getSourceViewer(), getSourceViewerConfiguration());
      if (presenter != null) {
        presenter.install(getSourceViewer());
        fOutlineHandler.configure(presenter);
      }
    }
    installCharacterPairing();
    ISourceViewer viewer = getSourceViewer();
View Full Code Here

Examples of org.eclipse.jface.text.information.IInformationPresenter

    }

    fContentFormatter = configuration.getContentFormatter(this);

    // do not uninstall old information presenter if it's the same
    IInformationPresenter newInformationPresenter = configuration.getInformationPresenter(this);
    if (newInformationPresenter == null || fInformationPresenter == null || !(newInformationPresenter.equals(fInformationPresenter))) {
      if (fInformationPresenter != null)
        fInformationPresenter.uninstall();
      fInformationPresenter = newInformationPresenter;
      if (fInformationPresenter != null)
        fInformationPresenter.install(this);
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.