Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.jface.text.contentassist
Interface IContentAssistantExtension

All Known Implementing Classes:
  ContentAssistant

public interface IContentAssistantExtension

Extends `IContentAssistant` with the following functions:

- handle documents with multiple partitions
- insertion of common completion prefixes

Since:
  3.0

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

Method Detail

### getDocumentPartitioning

    public String getDocumentPartitioning()

  Returns the document partitioning this content assistant is using.

  Returns:
    the document partitioning this content assistant is using

### completePrefix

    public 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Guidelines for using Eclipse APIs.

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