|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.texteditor.spelling.SpellingReconcileStrategy
Reconcile strategy used for spell checking.
Constructor Summary | |
---|---|
SpellingReconcileStrategy(ISourceViewer viewer,
SpellingService spellingService)
Creates a new comment reconcile strategy. |
Method Summary | |
---|---|
protected ISpellingProblemCollector |
createSpellingProblemCollector()
Creates a new spelling problem collector. |
protected IAnnotationModel |
getAnnotationModel()
Returns the annotation model to be used by this reconcile strategy. |
protected IContentType |
getContentType()
Returns the content type of the underlying editor input. |
protected IDocument |
getDocument()
Returns the document which is spell checked. |
void |
initialReconcile()
Called only once in the life time of this reconciling strategy. |
void |
reconcile(DirtyRegion dirtyRegion,
IRegion subRegion)
Activates incremental reconciling of the specified dirty region. |
void |
reconcile(IRegion region)
Activates non-incremental reconciling. |
void |
setDocument(IDocument document)
Tells this reconciling strategy on which document it will work. |
void |
setProgressMonitor(IProgressMonitor monitor)
Tells this reconciling strategy with which progress monitor it will work. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SpellingReconcileStrategy(ISourceViewer viewer, SpellingService spellingService)
viewer
- the source viewerspellingService
- the spelling service to useMethod Detail |
public void initialReconcile()
IReconcilingStrategyExtension
initialReconcile
in interface IReconcilingStrategyExtension
public void reconcile(DirtyRegion dirtyRegion, IRegion subRegion)
IReconcilingStrategy
IReconcilingStrategy.setDocument(IDocument)
.
reconcile
in interface IReconcilingStrategy
dirtyRegion
- the document region which has been changedsubRegion
- the sub region in the dirty region which should be reconciledpublic void reconcile(IRegion region)
IReconcilingStrategy
IReconcilingStrategy.setDocument(IDocument)
.
reconcile
in interface IReconcilingStrategy
region
- the document partition to be reconciledprotected IContentType getContentType()
null
if none could be determinedprotected final IDocument getDocument()
public void setDocument(IDocument document)
IReconcilingStrategy
setDocument
in interface IReconcilingStrategy
document
- the document on which this strategy will workprotected ISpellingProblemCollector createSpellingProblemCollector()
null
if none is availablepublic final void setProgressMonitor(IProgressMonitor monitor)
IReconcilingStrategyExtension
setProgressMonitor
in interface IReconcilingStrategyExtension
monitor
- the progress monitor with which this strategy will workprotected IAnnotationModel getAnnotationModel()
null
if none could be determined
|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.