public final class KeyBindingSupportForAssistant extends Object implements ICompletionListener
Clients normally don't need to use that class as the setup is done by the framework.
| Constructor and Description |
|---|
KeyBindingSupportForAssistant(ContentAssistant contentAssistant)
Deprecated.
As of 3.5, this is a NOP since the framework installs this now
|
KeyBindingSupportForAssistant(ContentAssistantFacade contentAssistFacade)
Deprecated.
As of 3.5, this is a NOP since the framework installs this now
|
KeyBindingSupportForAssistant(IQuickAssistAssistant quickAssistAssistant)
Creates the support for a quick assist assistant.
|
KeyBindingSupportForAssistant(ISourceViewerExtension4 sourceViewerExtension)
Creates the support for a content assistant facade.
|
| 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 |
dispose() |
void |
selectionChanged(ICompletionProposal proposal,
boolean smartToggle)
Called when the selection in the proposal popup is changed or if the insert-mode changed.
|
public KeyBindingSupportForAssistant(ContentAssistantFacade contentAssistFacade)
contentAssistFacade - the content assist facadepublic KeyBindingSupportForAssistant(ISourceViewerExtension4 sourceViewerExtension)
sourceViewerExtension - the source viewer extensionpublic KeyBindingSupportForAssistant(ContentAssistant contentAssistant)
contentAssistant - the content assist facadepublic KeyBindingSupportForAssistant(IQuickAssistAssistant quickAssistAssistant)
quickAssistAssistant - the quick assist assistant.public void assistSessionStarted(ContentAssistEvent event)
ICompletionListenerassistSessionStarted in interface ICompletionListenerevent - the content assist eventpublic void assistSessionEnded(ContentAssistEvent event)
ICompletionListenerassistSessionEnded in interface ICompletionListenerevent - the content assist eventpublic void selectionChanged(ICompletionProposal proposal, boolean smartToggle)
ICompletionListenerselectionChanged in interface ICompletionListenerproposal - the newly selected proposal, possibly nullsmartToggle - true if the insert-mode toggle is being pressed,
false otherwisepublic void dispose()
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.