| org.eclipse.jdt.ui.text.java.IJavaCompletionProposalComputer
All known Subclasses: org.eclipse.jdt.internal.ui.text.java.JavaCompletionProposalComputer, org.eclipse.jdt.internal.ui.text.javadoc.LegacyJavadocCompletionProposalComputer, org.eclipse.jdt.internal.ui.text.javadoc.HTMLTagCompletionProposalComputer, org.eclipse.jdt.internal.ui.text.java.HippieProposalComputer, org.eclipse.jdt.internal.ui.text.spelling.WordCompletionProposalComputer, org.eclipse.jdt.internal.ui.text.java.AbstractTemplateCompletionProposalComputer,
IJavaCompletionProposalComputer | public interface IJavaCompletionProposalComputer (Code) | | Computes completions and context information displayed by the Java editor content assistant.
Contributions to the org.eclipse.jdt.ui.javaCompletionProposalComputer extension point
must implement this interface.
since: 3.2 |
Method Summary | |
List | computeCompletionProposals(ContentAssistInvocationContext context, IProgressMonitor monitor) Returns a list of completion proposals valid at the given invocation context.
Parameters: context - the context of the content assist invocation Parameters: monitor - a progress monitor to report progress. | List | computeContextInformation(ContentAssistInvocationContext context, IProgressMonitor monitor) Returns context information objects valid at the given invocation context.
Parameters: context - the context of the content assist invocation Parameters: monitor - a progress monitor to report progress. | String | getErrorMessage() Returns the reason why this computer was unable to produce any completion proposals or
context information. | void | sessionEnded() Informs the computer that a content assist session has ended. | void | sessionStarted() Informs the computer that a content assist session has started. |
computeCompletionProposals | List computeCompletionProposals(ContentAssistInvocationContext context, IProgressMonitor monitor)(Code) | | Returns a list of completion proposals valid at the given invocation context.
Parameters: context - the context of the content assist invocation Parameters: monitor - a progress monitor to report progress. The monitor is private to thisinvocation, i.e. there is no need for the receiver to spawn a sub monitor. a list of completion proposals (element type: ICompletionProposal) |
computeContextInformation | List computeContextInformation(ContentAssistInvocationContext context, IProgressMonitor monitor)(Code) | | Returns context information objects valid at the given invocation context.
Parameters: context - the context of the content assist invocation Parameters: monitor - a progress monitor to report progress. The monitor is private to thisinvocation, i.e. there is no need for the receiver to spawn a sub monitor. a list of context information objects (element type: IContextInformation) |
getErrorMessage | String getErrorMessage()(Code) | | Returns the reason why this computer was unable to produce any completion proposals or
context information.
an error message or null if no error occurred |
sessionEnded | void sessionEnded()(Code) | | Informs the computer that a content assist session has ended. This call will always be after
any calls to
and
.
|
|
|