|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mylar.internal.tasks.ui.editors.TaskSpellingReconcileStrategy
public class TaskSpellingReconcileStrategy
Adapted from org.eclipse.jdt.internal.ui.text.spelling.PropertiesSpellingReconcileStrategy
Nested Class Summary | |
---|---|
private class |
TaskSpellingReconcileStrategy.SpellingProblemCollector
Spelling problem collector that forwards SpellingProblem s as
IProblem s to the IProblemRequestor . |
Field Summary | |
---|---|
private org.eclipse.jface.text.source.IAnnotationModel |
annotationModel
|
private org.eclipse.jface.text.IDocument |
fDocument
The document to operate on. |
private org.eclipse.core.runtime.IProgressMonitor |
fProgressMonitor
The progress monitor. |
private org.eclipse.ui.texteditor.spelling.SpellingContext |
fSpellingContext
The spelling context containing the Java properties content type. |
static int |
SPELLING_PROBLEM_ID
The id of the problem |
Constructor Summary | |
---|---|
TaskSpellingReconcileStrategy()
|
Method Summary | |
---|---|
java.lang.String |
getDocumentPartitioning()
|
void |
initialReconcile()
|
void |
reconcile(org.eclipse.jface.text.reconciler.DirtyRegion dirtyRegion,
org.eclipse.jface.text.IRegion subRegion)
|
void |
reconcile(org.eclipse.jface.text.IRegion region)
|
void |
setAnnotationModel(org.eclipse.jface.text.source.IAnnotationModel model)
|
void |
setDocument(org.eclipse.jface.text.IDocument document)
|
void |
setProgressMonitor(org.eclipse.core.runtime.IProgressMonitor monitor)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SPELLING_PROBLEM_ID
private org.eclipse.jface.text.IDocument fDocument
private org.eclipse.core.runtime.IProgressMonitor fProgressMonitor
private org.eclipse.ui.texteditor.spelling.SpellingContext fSpellingContext
Since his reconcile strategy is for the Properties File editor which normally edits Java properties files we always use the Java properties file content type for performance reasons.
private org.eclipse.jface.text.source.IAnnotationModel annotationModel
Constructor Detail |
---|
public TaskSpellingReconcileStrategy()
Method Detail |
---|
public void initialReconcile()
public void reconcile(org.eclipse.jface.text.reconciler.DirtyRegion dirtyRegion, org.eclipse.jface.text.IRegion subRegion)
reconcile
in interface org.eclipse.jface.text.reconciler.IReconcilingStrategy
public void reconcile(org.eclipse.jface.text.IRegion region)
reconcile
in interface org.eclipse.jface.text.reconciler.IReconcilingStrategy
public void setDocument(org.eclipse.jface.text.IDocument document)
setDocument
in interface org.eclipse.jface.text.reconciler.IReconcilingStrategy
public void setProgressMonitor(org.eclipse.core.runtime.IProgressMonitor monitor)
public java.lang.String getDocumentPartitioning()
getDocumentPartitioning
in interface org.eclipse.jface.text.reconciler.IReconcilerExtension
public void setAnnotationModel(org.eclipse.jface.text.source.IAnnotationModel model)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |