Package org.eclipse.jdt.internal.ui.text.java.hover

Examples of org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy


    public ITextHover getTextHover(ISourceViewer sourceViewer, String contentType, int stateMask) {
        JavaEditorTextHoverDescriptor[] hoverDescs = JavaPlugin.getDefault().getJavaEditorTextHoverDescriptors();
        int i = 0;
        while (i < hoverDescs.length) {
            if (hoverDescs[i].isEnabled() && hoverDescs[i].getStateMask() == stateMask)
                return new JavaEditorTextHoverProxy(hoverDescs[i], fTextEditor);
            i++;
        }

        return null;
    }
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy

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.