Package org.eclipse.ui.internal.texteditor

Examples of org.eclipse.ui.internal.texteditor.FocusedInformationPresenter.showInformation()


        informationPresenter.setOffset(offset);
        informationPresenter.setAnchor(AbstractInformationControlManager.ANCHOR_BOTTOM);
        informationPresenter.setMargins(6, 6); // default values from AbstractInformationControlManager
        String contentType= TextUtilities.getContentType(sourceViewer.getDocument(), getSourceViewerConfiguration().getConfiguredDocumentPartitioning(getSourceViewer()), offset, true);
        informationPresenter.setInformationProvider(informationProvider, contentType);
        informationPresenter.showInformation();

        return true;

      } catch (BadLocationException e) {
        return false;
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.