|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ui.texteditor.spelling.SpellingReconcileStrategy
public class 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 use| Method Detail |
|---|
public void initialReconcile()
IReconcilingStrategyExtension
initialReconcile in interface IReconcilingStrategyExtension
public void reconcile(DirtyRegion dirtyRegion,
IRegion subRegion)
IReconcilingStrategyIReconcilingStrategy.setDocument(IDocument).
reconcile in interface IReconcilingStrategydirtyRegion - the document region which has been changedsubRegion - the sub region in the dirty region which should be reconciledpublic void reconcile(IRegion region)
IReconcilingStrategyIReconcilingStrategy.setDocument(IDocument).
reconcile in interface IReconcilingStrategyregion - 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 IReconcilingStrategydocument - the document on which this strategy will workprotected ISpellingProblemCollector createSpellingProblemCollector()
null if none is availablepublic final void setProgressMonitor(IProgressMonitor monitor)
IReconcilingStrategyExtension
setProgressMonitor in interface IReconcilingStrategyExtensionmonitor - the progress monitor with which this strategy will workprotected IAnnotationModel getAnnotationModel()
null if none could be determined
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.