|
Eclipse JDT Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to be implemented by contributors to the extension point
org.eclipse.jdt.ui.quickAssistProcessors
.
Method Summary | |
IJavaCompletionProposal[] |
getAssists(IInvocationContext context,
IProblemLocation[] locations)
Collects quick assists for the given context. |
boolean |
hasAssists(IInvocationContext context)
Evaluates if quick assists can be created for the given context. |
Method Detail |
public boolean hasAssists(IInvocationContext context) throws org.eclipse.core.runtime.CoreException
context
- The invocation context
true
if quick assists can be created
org.eclipse.core.runtime.CoreException
- CoreException can be thrown if the operation failspublic IJavaCompletionProposal[] getAssists(IInvocationContext context, IProblemLocation[] locations) throws org.eclipse.core.runtime.CoreException
context
- Defines current compilation unit, position and a shared ASTlocations
- The locations of problems at the invocation offset. The processor can decide to only
add assists when there are no errors at the selection offset.
null
if no proposals
can be offered.
org.eclipse.core.runtime.CoreException
- CoreException can be thrown if the operation fails
|
Eclipse JDT Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |