Eclipse Platform
Release 3.2

org.eclipse.jface.text.contentassist
Interface IContentAssistantExtension

All Known Implementing Classes:
ContentAssistant, SubjectControlContentAssistant

public interface IContentAssistantExtension

Extends IContentAssistant with the following functions:

Since:
3.0

Method Summary
 java.lang.String completePrefix()
          Inserts the common prefix of the available completions.
 java.lang.String getDocumentPartitioning()
          Returns the document partitioning this content assistant is using.
 

Method Detail

getDocumentPartitioning

java.lang.String getDocumentPartitioning()
Returns the document partitioning this content assistant is using.

Returns:
the document partitioning this content assistant is using

completePrefix

java.lang.String completePrefix()
Inserts the common prefix of the available completions. If no common prefix can be computed it is identical to IContentAssistant.showPossibleCompletions().

Returns:
an optional error message if no proposals can be computed

Eclipse Platform
Release 3.2

Guidelines for using Eclipse APIs.

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