public interface IContentAssistantExtension2
IContentAssistant with the following
functions:
| Modifier and Type | Method and Description |
|---|---|
void |
addCompletionListener(ICompletionListener listener)
Adds a completion listener that will be informed before proposals are computed.
|
void |
removeCompletionListener(ICompletionListener listener)
Removes a completion listener.
|
void |
setEmptyMessage(String message)
Sets the text to be shown if no proposals are available and
empty lists are displayed. |
void |
setRepeatedInvocationMode(boolean cycling)
Enables repeated invocation mode, which will trigger re-computation of the proposals when
code assist is executed repeatedly.
|
void |
setShowEmptyList(boolean showEmpty)
Enables displaying an empty completion proposal pop-up.
|
void |
setStatusLineVisible(boolean show)
Enables displaying a status line below the proposal popup.
|
void |
setStatusMessage(String message)
Sets the caption message displayed at the bottom of the completion proposal popup.
|
void addCompletionListener(ICompletionListener listener)
listener - the listenervoid removeCompletionListener(ICompletionListener listener)
listener - the listener to removevoid setRepeatedInvocationMode(boolean cycling)
false.cycling - true to enable repetition mode, false to disablevoid setShowEmptyList(boolean showEmpty)
showEmpty - true to show empty listsvoid setStatusLineVisible(boolean show)
setStatusMessage(String).show - true to show a message line, false to not show one.void setStatusMessage(String message)
message - the messagevoid setEmptyMessage(String message)
empty lists are displayed.message - the text for the empty listGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.