|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.core.commands.common.EventManager org.eclipse.core.commands.AbstractHandler org.eclipse.xtext.ui.editor.handler.ContentAssistHandler
public class ContentAssistHandler
Constructor Summary | |
---|---|
ContentAssistHandler()
|
Method Summary | |
---|---|
java.lang.Object |
execute(org.eclipse.core.commands.ExecutionEvent event)
Executes with the map of parameter values by name. |
void |
setEnabled(java.lang.Object evaluationContext)
Called by the framework to allow the handler to update its enabled state by extracting the same information available at execution time. |
Methods inherited from class org.eclipse.core.commands.AbstractHandler |
---|
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled |
Methods inherited from class org.eclipse.core.commands.common.EventManager |
---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentAssistHandler()
Method Detail |
---|
public java.lang.Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException
org.eclipse.core.commands.IHandler
event
- An event containing all the information about the current
state of the application; must not be null
.
null
.
org.eclipse.core.commands.ExecutionException
- if an exception occurred during execution.public void setEnabled(java.lang.Object evaluationContext)
org.eclipse.core.commands.AbstractHandler
setEnabled
in interface org.eclipse.core.commands.IHandler2
setEnabled
in class org.eclipse.core.commands.AbstractHandler
evaluationContext
- the application context. May be null
AbstractHandler.setBaseEnabled(boolean)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |