|
Eclipse Platform Release 3.4 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A completion listener is informed before the content assistant computes completion proposals.
In order to provide backward compatibility for clients of ICompletionListener, extension
interfaces are used to provide a means of evolution. The following extension interfaces exist:
ICompletionListenerExtension since version 3.4 introducing
the following functions:
Clients may implement this interface.
| Method Summary | |
void |
assistSessionEnded(ContentAssistEvent event)
Called when a code assist session ends (for example, the proposal popup is closed). |
void |
assistSessionStarted(ContentAssistEvent event)
Called when code assist is invoked when there is no current code assist session. |
void |
selectionChanged(ICompletionProposal proposal,
boolean smartToggle)
Called when the selection in the proposal popup is changed or if the insert-mode changed. |
| Method Detail |
public void assistSessionStarted(ContentAssistEvent event)
event - the content assist eventpublic void assistSessionEnded(ContentAssistEvent event)
event - the content assist event
public void selectionChanged(ICompletionProposal proposal,
boolean smartToggle)
proposal - the newly selected proposal, possibly nullsmartToggle - true if the insert-mode toggle is being pressed,
false otherwise
|
Eclipse Platform Release 3.4 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.