Eclipse Platform
Release 3.1

org.eclipse.jface.text.contentassist
Interface ICompletionProposalComputer

All Known Implementing Classes:
HippieProposalComputer

public interface ICompletionProposalComputer

Computes completions and context information displayed by a content assistant.

XXX this API is provisional and may change anytime during the course of 3.2

Since:
3.2

Method Summary
 List computeCompletionProposals(TextContentAssistInvocationContext context, IProgressMonitor monitor)
          Returns a list of completion proposals valid at the given invocation context.
 List computeContextInformation(TextContentAssistInvocationContext context, IProgressMonitor monitor)
          Returns context information objects valid at the given invocation context.
 

Method Detail

computeCompletionProposals

public List computeCompletionProposals(TextContentAssistInvocationContext context,
                                       IProgressMonitor monitor)
Returns a list of completion proposals valid at the given invocation context.

Parameters:
context - the context of the content assist invocation
monitor - a progress monitor to report progress. The monitor is private to this invocation, i.e. there is no need for the receiver to spawn a sub monitor.
Returns:
an array of completion proposals (element type: ICompletionProposal)

computeContextInformation

public List computeContextInformation(TextContentAssistInvocationContext context,
                                      IProgressMonitor monitor)
Returns context information objects valid at the given invocation context.

Parameters:
context - the context of the content assist invocation
monitor - a progress monitor to report progress. The monitor is private to this invocation, i.e. there is no need for the receiver to spawn a sub monitor.
Returns:
an array of context information objects (element type: IContextInformation)

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.