|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IContentAssistantExtension2
Extends IContentAssistant
with the following
functions:
Method Summary | |
---|---|
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(java.lang.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(java.lang.String message)
Sets the caption message displayed at the bottom of the completion proposal popup. |
Method Detail |
---|
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(java.lang.String message)
message
- the messagevoid setEmptyMessage(java.lang.String message)
empty lists
are displayed.
message
- the text for the empty list
|
Eclipse Platform Release 3.2 |
|||||||||
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, 2006. All rights reserved.