|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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(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. |
Method Detail |
public void addCompletionListener(ICompletionListener listener)
listener
- the listenerpublic void removeCompletionListener(ICompletionListener listener)
listener
- the listener to removepublic void setRepeatedInvocationMode(boolean cycling)
false
.
cycling
- true
to enable repetition mode, false
to disablepublic void setShowEmptyList(boolean showEmpty)
showEmpty
- true
to show empty listspublic void setStatusLineVisible(boolean show)
setStatusMessage(String)
.
show
- true
to show a message line, false
to not show one.public void setStatusMessage(String message)
message
- the messagepublic void setEmptyMessage(String message)
empty lists
are displayed.
message
- the text for the empty list
|
Eclipse Platform Release 3.3 |
|||||||||||
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, 2007. All rights reserved.