Eclipse Platform
Release 3.1

org.eclipse.ui.texteditor
Class HippieProposalComputer

java.lang.Object
  extended byorg.eclipse.ui.texteditor.HippieProposalComputer
All Implemented Interfaces:
ICompletionProposalComputer

public final class HippieProposalComputer
extends Object
implements ICompletionProposalComputer

A completion proposal computer for hippie word completions.

Clients may instantiate.

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

Since:
3.2

Constructor Summary
HippieProposalComputer()
          Creates a new hippie completion proposal computer.
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HippieProposalComputer

public HippieProposalComputer()
Creates a new hippie completion proposal computer.

Method Detail

computeCompletionProposals

public List computeCompletionProposals(TextContentAssistInvocationContext context,
                                       IProgressMonitor monitor)
Description copied from interface: ICompletionProposalComputer
Returns a list of completion proposals valid at the given invocation context.

Specified by:
computeCompletionProposals in interface ICompletionProposalComputer
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)
Description copied from interface: ICompletionProposalComputer
Returns context information objects valid at the given invocation context.

Specified by:
computeContextInformation in interface ICompletionProposalComputer
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.