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

Examples of org.eclipse.jdt.internal.ui.text.java.IProblemRequestorExtension


    protected void enableHandlingTemporaryProblems() {
        boolean enable = isHandlingTemporaryProblems();
        for (Iterator iter = getFileInfosIterator(); iter.hasNext();) {
            FileInfo info = (FileInfo) iter.next();
            if (info.fModel instanceof IProblemRequestorExtension) {
                IProblemRequestorExtension extension = (IProblemRequestorExtension) info.fModel;
                extension.setIsHandlingTemporaryProblems(enable);
            }
        }
    }
View Full Code Here


    protected FileInfo createFileInfo(Object element) throws CoreException {
        FileInfo info = super.createFileInfo(element);

        IAnnotationModel requestor = info.fModel;
        if (requestor instanceof IProblemRequestorExtension) {
            IProblemRequestorExtension extension = (IProblemRequestorExtension) requestor;
            extension.setIsActive(false);
            extension.setIsHandlingTemporaryProblems(isHandlingTemporaryProblems());
        }

        return info;
    }
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.ui.text.java.IProblemRequestorExtension

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.