public class ContentAssistHandler extends Object
ContentAssistant
and its subject adapter.Modifier and Type | Method and Description |
---|---|
static ContentAssistHandler |
createHandlerForCombo(Combo combo,
SubjectControlContentAssistant contentAssistant)
Deprecated.
Creates a new
ContentAssistHandler for the given Combo . |
static ContentAssistHandler |
createHandlerForText(Text text,
SubjectControlContentAssistant contentAssistant)
Deprecated.
Creates a new
ContentAssistHandler for the given Text . |
boolean |
isEnabled()
Deprecated.
|
void |
setEnabled(boolean enable)
Deprecated.
Controls enablement of content assist.
|
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 assistantContentAssistHandler
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 assistantContentAssistHandler
public boolean isEnabled()
true
iff content assist is enabledpublic void setEnabled(boolean enable)
enable
- enable content assist iff true
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.