|
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.jface.text.source.ContentAssistantFacade
public final class ContentAssistantFacade
Facade to allow minimal access to the given content assistant.
The offered API access can grow over time.
| Constructor Summary | |
|---|---|
ContentAssistantFacade(IContentAssistant contentAssistant)
Creates a new facade. |
|
| Method Summary | |
|---|---|
void |
addCompletionListener(ICompletionListener listener)
Adds a completion listener that will be informed before proposals are computed. |
IHandler |
getHandler(java.lang.String commandId)
Returns the handler for the given command identifier. |
void |
removeCompletionListener(ICompletionListener listener)
Removes a completion listener. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentAssistantFacade(IContentAssistant contentAssistant)
contentAssistant - the content assistant which implements IContentAssistantExtension2 and IContentAssistantExtension4| Method Detail |
|---|
public IHandler getHandler(java.lang.String commandId)
The same handler instance will be returned when called a more than once with the same command identifier.
commandId - the command identifier
java.lang.IllegalArgumentException - if the command is not supported by this
content assistant
java.lang.IllegalStateException - if called when the content assistant is
uninstalledpublic void addCompletionListener(ICompletionListener listener)
listener - the listener
java.lang.IllegalStateException - if called when the content assistant is
uninstalledpublic void removeCompletionListener(ICompletionListener listener)
listener - the listener to remove
java.lang.IllegalStateException - if called when the content assistant is
uninstalled
|
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.