|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.swt.events.KeyAdapter
org.eclipse.jface.text.contentassist.ContentAssistant.AutoAssistListener
An implementation of IContentAssistListener
, this class is used to monitor
key events in support of automatic activation of the content assistant. If enabled, the
implementation utilizes a thread to watch for input characters matching the activation
characters specified by the content assist processor, and if detected, will wait the
indicated delay interval before activating the content assistant.
Constructor Summary | |
protected |
ContentAssistant.AutoAssistListener()
|
Method Summary | |
void |
keyPressed(KeyEvent e)
Sent when a key is pressed on the system keyboard. |
protected void |
reset(int showStyle)
|
void |
run()
|
protected void |
showAssist(int showStyle)
|
protected void |
start(int showStyle)
|
protected void |
stop()
|
void |
verifyKey(VerifyEvent event)
The following event fields are used: event.character is the character that was typed (input) event.keyCode is the key code that was typed (input) event.stateMask is the state of the keyboard (input) event.doit is processed or not (output) |
Methods inherited from class org.eclipse.swt.events.KeyAdapter |
keyReleased |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.swt.events.KeyListener |
keyReleased |
Constructor Detail |
protected ContentAssistant.AutoAssistListener()
Method Detail |
protected void start(int showStyle)
public void run()
run
in interface Runnable
protected void reset(int showStyle)
protected void stop()
public void keyPressed(KeyEvent e)
KeyListener
keyPressed
in interface KeyListener
keyPressed
in class KeyAdapter
e
- an event containing information about the key presspublic void verifyKey(VerifyEvent event)
VerifyKeyListener
verifyKey
in interface VerifyKeyListener
event
- the verify eventVerifyEvent
protected void showAssist(int showStyle)
|
Eclipse Platform Release 3.4 |
||||||||||
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, 2008. All rights reserved.