org.eclipse.cdt.internal.ui.editor
Class CAnnotationIterator

java.lang.Object
  extended by org.eclipse.cdt.internal.ui.editor.CAnnotationIterator
All Implemented Interfaces:
java.util.Iterator

public class CAnnotationIterator
extends java.lang.Object
implements java.util.Iterator

Filters problems based on their types.


Constructor Summary
CAnnotationIterator(org.eclipse.jface.text.source.IAnnotationModel model, boolean skipIrrelevants)
          Equivalent to CAnnotationIterator(model, skipIrrelevants, false).
CAnnotationIterator(org.eclipse.jface.text.source.IAnnotationModel model, boolean skipIrrelevants, boolean returnAllAnnotations)
          Returns a new CAnnotationIterator.
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CAnnotationIterator

public CAnnotationIterator(org.eclipse.jface.text.source.IAnnotationModel model,
                           boolean skipIrrelevants)
Equivalent to CAnnotationIterator(model, skipIrrelevants, false).


CAnnotationIterator

public CAnnotationIterator(org.eclipse.jface.text.source.IAnnotationModel model,
                           boolean skipIrrelevants,
                           boolean returnAllAnnotations)
Returns a new CAnnotationIterator.

Parameters:
model - the annotation model
skipIrrelevants - whether to skip irrelevant annotations
returnAllAnnotations - Whether to return non IJavaAnnotations as well
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator

remove

public void remove()
Specified by:
remove in interface java.util.Iterator