Package org.eclipse.jface.text.information

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


    }

    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

    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

    }

    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

Related Classes of org.eclipse.jface.text.information.IInformationPresenter

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.