|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.contentassist.ContentAssistHandler
A content assistant handler which handles the key binding and
the cue for a ContentAssistant
and its subject adapter.
Method Summary | |
---|---|
static ContentAssistHandler |
createHandlerForCombo(Combo combo,
SubjectControlContentAssistant contentAssistant)
Creates a new ContentAssistHandler for the given Combo .
|
static ContentAssistHandler |
createHandlerForText(Text text,
SubjectControlContentAssistant contentAssistant)
Creates a new ContentAssistHandler for the given Text .
|
boolean |
isEnabled()
|
void |
setEnabled(boolean enable)
Controls enablement of content assist. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static ContentAssistHandler createHandlerForCombo(Combo combo, SubjectControlContentAssistant contentAssistant)
ContentAssistHandler
for the given Combo
.
Only a single ContentAssistHandler
may be installed on a Combo
instance.
Content Assist is enabled by default.
combo
- target combocontentAssistant
- a configured content assistant
ContentAssistHandler
public static ContentAssistHandler createHandlerForText(Text text, SubjectControlContentAssistant contentAssistant)
ContentAssistHandler
for the given Text
.
Only a single ContentAssistHandler
may be installed on a Text
instance.
Content Assist is enabled by default.
text
- target textcontentAssistant
- a configured content assistant
ContentAssistHandler
public boolean isEnabled()
true
iff content assist is enabledpublic void setEnabled(boolean enable)
enable
- enable content assist iff true
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.