org.eclipse.mylar.internal.tasks.ui.editors
Class TaskSpellingReconcileStrategy.SpellingProblemCollector

java.lang.Object
  extended by org.eclipse.mylar.internal.tasks.ui.editors.TaskSpellingReconcileStrategy.SpellingProblemCollector
All Implemented Interfaces:
org.eclipse.ui.texteditor.spelling.ISpellingProblemCollector
Enclosing class:
TaskSpellingReconcileStrategy

private class TaskSpellingReconcileStrategy.SpellingProblemCollector
extends java.lang.Object
implements org.eclipse.ui.texteditor.spelling.ISpellingProblemCollector

Spelling problem collector that forwards SpellingProblems as IProblems to the IProblemRequestor.


Field Summary
private  java.util.Map<TaskFormPage.ErrorAnnotation,org.eclipse.jface.text.Position> fAddAnnotations
          Annotations to add
private  org.eclipse.jface.text.source.IAnnotationModel fAnnotationModel
          Annotation model
 
Constructor Summary
TaskSpellingReconcileStrategy.SpellingProblemCollector(org.eclipse.jface.text.source.IAnnotationModel annotationModel)
          Initializes this collector with the given annotation model.
 
Method Summary
 void accept(org.eclipse.ui.texteditor.spelling.SpellingProblem problem)
           
 void beginCollecting()
           
 void endCollecting()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fAnnotationModel

private org.eclipse.jface.text.source.IAnnotationModel fAnnotationModel
Annotation model


fAddAnnotations

private java.util.Map<TaskFormPage.ErrorAnnotation,org.eclipse.jface.text.Position> fAddAnnotations
Annotations to add

Constructor Detail

TaskSpellingReconcileStrategy.SpellingProblemCollector

public TaskSpellingReconcileStrategy.SpellingProblemCollector(org.eclipse.jface.text.source.IAnnotationModel annotationModel)
Initializes this collector with the given annotation model.

Parameters:
annotationModel - the annotation model
Method Detail

accept

public void accept(org.eclipse.ui.texteditor.spelling.SpellingProblem problem)
Specified by:
accept in interface org.eclipse.ui.texteditor.spelling.ISpellingProblemCollector

beginCollecting

public void beginCollecting()
Specified by:
beginCollecting in interface org.eclipse.ui.texteditor.spelling.ISpellingProblemCollector

endCollecting

public void endCollecting()
Specified by:
endCollecting in interface org.eclipse.ui.texteditor.spelling.ISpellingProblemCollector