Eclipse Platform
Release 3.1

Package org.eclipse.jface.text.contentassist

Provides a content assist add-on for an ITextViewer.

See:
          Description

Interface Summary
ICompletionProposal The interface of completion proposals generated by content assist processors.
ICompletionProposalExtension Extends ICompletionProposal with the following functions: handling of trigger characters other than ENTER completion proposal validation for a given offset context information can be freely positioned
ICompletionProposalExtension2 Extends ICompletionProposal with the following functions: handling of trigger characters with modifiers visual indication for selection of a proposal
ICompletionProposalExtension3 Extends ICompletionProposal with the following functions: provision of a custom information control creator provide a custom completion text and offset for prefix completion
ICompletionProposalExtension4 Extends ICompletionProposal with the following functions: specify whether a proposal is automatically insertable
IContentAssistant An IContentAssistant provides support on interactive content completion.
IContentAssistantExtension Extends IContentAssistant with the following functions: handle documents with multiple partitions insertion of common completion prefixes
IContentAssistProcessor A content assist processor proposes completions and computes context information for a particular content type.
IContextInformation The interface of context information presented to the user and generated by content assist processors.
IContextInformationExtension Extends IContextInformation with the ability to freely position the context information.
IContextInformationPresenter A context information presenter determines the presentation of context information depending on a given document position.
IContextInformationValidator A context information validator is used to determine if a displayed context information is still valid or should be dismissed.
 

Class Summary
CompletionProposal The standard implementation of the ICompletionProposal interface.
ContentAssistant The standard implementation of the IContentAssistant interface.
ContextInformation A default implementation of the IContextInformation interface.
ContextInformationValidator A default implementation of the IContextInfomationValidator interface.
 

Package org.eclipse.jface.text.contentassist Description

Provides a content assist add-on for an ITextViewer. Content assist supports the user in writing  by proposing context sensitive completions at a given document position. A completion can also be a incomplete in itself and content assist provides means to deal with nested completions.

Package Specification

IContentAssistant defines the concept of the content assist add-on. It collaborates with content type specific completion processors (IContentAssistProcessor) in order to generate completion proposals (ICompletionProposal) valid at the current document position. The package provides a default implementation ContentAssistant which completely defines and implements the UI and the control flow for content assist.
 


Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

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