Package org.eclipse.jdt.internal.ui.javaeditor

Examples of org.eclipse.jdt.internal.ui.javaeditor.JavaMarkerAnnotation


            if (isCanceled) {
                fCurrentlyOverlaid.addAll(fPreviouslyOverlaid);
            } else if (fPreviouslyOverlaid != null) {
                Iterator<Annotation> e = fPreviouslyOverlaid.iterator();
                while (e.hasNext()) {
                    JavaMarkerAnnotation annotation = (JavaMarkerAnnotation) e.next();
                    annotation.setOverlay(null);
                }
            }
        }
View Full Code Here


         *            the value
         * @param problemAnnotation
         */
        private void setOverlay(Object value, ProblemAnnotation problemAnnotation) {
            if (value instanceof JavaMarkerAnnotation) {
                JavaMarkerAnnotation annotation = (JavaMarkerAnnotation) value;
                if (annotation.isProblem()) {
                    annotation.setOverlay(problemAnnotation);
                    fPreviouslyOverlaid.remove(annotation);
                    fCurrentlyOverlaid.add(annotation);
                }
            } else {}
        }
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.ui.javaeditor.JavaMarkerAnnotation

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.