|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.texteditor.KeyBindingSupportForAssistant
public final class KeyBindingSupportForAssistant
Helper class to make navigation key bindings work for the content assistant and the quick assist assistant while the editor has focus.
Clients normally don't need to use that class as the setup is done by the framework.
Constructor Summary | |
---|---|
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. |
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 |
dispose()
|
void |
selectionChanged(ICompletionProposal proposal,
boolean smartToggle)
Called when the selection in the proposal popup is changed or if the insert-mode changed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
public void assistSessionStarted(ContentAssistEvent event)
ICompletionListener
assistSessionStarted
in interface ICompletionListener
event
- the content assist eventpublic void assistSessionEnded(ContentAssistEvent event)
ICompletionListener
assistSessionEnded
in interface ICompletionListener
event
- the content assist eventpublic void selectionChanged(ICompletionProposal proposal, boolean smartToggle)
ICompletionListener
selectionChanged
in interface ICompletionListener
proposal
- the newly selected proposal, possibly null
smartToggle
- true
if the insert-mode toggle is being pressed,
false
otherwisepublic void dispose()
|
Eclipse Platform Release 3.6 |
|||||||||
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, 2010. All rights reserved.