|
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.SpellingCorrectionProcessor
public final class SpellingCorrectionProcessor
Spelling correction processor used to show quick fixes for spelling problems.
| Constructor Summary | |
|---|---|
SpellingCorrectionProcessor()
|
|
| Method Summary | |
|---|---|
boolean |
canAssist(IQuickAssistInvocationContext invocationContext)
Tells whether this assistant has assists for the given invocation context. |
boolean |
canFix(Annotation annotation)
Tells whether this processor has a fix for the given annotation. |
ICompletionProposal[] |
computeQuickAssistProposals(IQuickAssistInvocationContext quickAssistContext)
Returns a list of quick assist and quick fix proposals for the given invocation context. |
java.lang.String |
getErrorMessage()
Returns the reason why this quick assist processor was unable to produce any completion proposals. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpellingCorrectionProcessor()
| Method Detail |
|---|
public ICompletionProposal[] computeQuickAssistProposals(IQuickAssistInvocationContext quickAssistContext)
IQuickAssistProcessor
computeQuickAssistProposals in interface IQuickAssistProcessorquickAssistContext - the invocation context
null if no proposals are availablepublic java.lang.String getErrorMessage()
IQuickAssistProcessor
getErrorMessage in interface IQuickAssistProcessornull if no error occurredpublic boolean canFix(Annotation annotation)
IQuickAssistProcessor
Note: This test must be fast and optimistic i.e. it is OK to return
true even though there might be no quick fix.
canFix in interface IQuickAssistProcessorannotation - the annotation
true if the assistant has a fix for the given annotationpublic boolean canAssist(IQuickAssistInvocationContext invocationContext)
IQuickAssistProcessor
canAssist in interface IQuickAssistProcessorinvocationContext - the invocation context
true if the assistant has a fix for the given annotation
|
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.