Package org.eclipse.ui.contentassist
Class ContentAssistHandler
- java.lang.Object
-
- org.eclipse.ui.contentassist.ContentAssistHandler
-
@Deprecated public class ContentAssistHandler extends java.lang.ObjectDeprecated.As of 3.2, replaced by JFace field assist supportA content assistant handler which handles the key binding and the cue for aContentAssistantand its subject adapter.- Since:
- 3.0
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ContentAssistHandlercreateHandlerForCombo(Combo combo, SubjectControlContentAssistant contentAssistant)Deprecated.Creates a newContentAssistHandlerfor the givenCombo.static ContentAssistHandlercreateHandlerForText(Text text, SubjectControlContentAssistant contentAssistant)Deprecated.Creates a newContentAssistHandlerfor the givenText.booleanisEnabled()Deprecated.voidsetEnabled(boolean enable)Deprecated.Controls enablement of content assist.
-
-
-
Method Detail
-
createHandlerForCombo
public static ContentAssistHandler createHandlerForCombo(Combo combo, SubjectControlContentAssistant contentAssistant)
Deprecated.Creates a newContentAssistHandlerfor the givenCombo. Only a singleContentAssistHandlermay be installed on aComboinstance. Content Assist is enabled by default.- Parameters:
combo- target combocontentAssistant- a configured content assistant- Returns:
- a new
ContentAssistHandler
-
createHandlerForText
public static ContentAssistHandler createHandlerForText(Text text, SubjectControlContentAssistant contentAssistant)
Deprecated.Creates a newContentAssistHandlerfor the givenText. Only a singleContentAssistHandlermay be installed on aTextinstance. Content Assist is enabled by default.- Parameters:
text- target textcontentAssistant- a configured content assistant- Returns:
- a new
ContentAssistHandler
-
isEnabled
public boolean isEnabled()
Deprecated.- Returns:
trueiff content assist is enabled
-
setEnabled
public void setEnabled(boolean enable)
Deprecated.Controls enablement of content assist. When enabled, a cue is shown next to the focused field and the affordance hover shows the shortcut.- Parameters:
enable- enable content assist iff true
-
-