public interface ICompletionListener
Clients may implement this interface.
Modifier and Type | Method and Description |
---|---|
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.
|
void assistSessionStarted(ContentAssistEvent event)
event
- the content assist eventvoid assistSessionEnded(ContentAssistEvent event)
event
- the content assist eventvoid selectionChanged(ICompletionProposal proposal, boolean smartToggle)
proposal
- the newly selected proposal, possibly null
smartToggle
- true
if the insert-mode toggle is being pressed,
false
otherwiseGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.