Package org.yamcs.studio.autocomplete.ui
Class AutoCompleteWidget
java.lang.Object
org.yamcs.studio.autocomplete.ui.AutoCompleteWidget
Enable auto-completed content on the specified
Control
.-
Constructor Summary
ConstructorDescriptionAutoCompleteWidget
(CellEditor cellEditor, String type) Enable auto-completed content on the specified widget.AutoCompleteWidget
(CellEditor cellEditor, String type, List<Control> historyHandlers) Enable auto-completed content on the specified widget.AutoCompleteWidget
(Control control, String type) Enable auto-completed content on the specified widget.AutoCompleteWidget
(Control control, String type, List<Control> historyHandlers) Enable auto-completed content on the specified widget. -
Method Summary
Modifier and TypeMethodDescriptionprotected static KeyStroke
Returns KeyStroke object which when pressed will fire the ContentProposalAdapter.protected static char[]
Return a character array representing the keyboard input triggers used for firing the ContentProposalAdapter.
-
Constructor Details
-
AutoCompleteWidget
Enable auto-completed content on the specified widget.- Parameters:
control
-Combo
orText
type
- seeAutoCompleteTypes
-
AutoCompleteWidget
Enable auto-completed content on the specified widget.- Parameters:
control
-Combo
orText
type
- seeAutoCompleteTypes
historyHandlers
- control which trigger add entry event on history
-
AutoCompleteWidget
Enable auto-completed content on the specified widget. -
AutoCompleteWidget
Enable auto-completed content on the specified widget.- Parameters:
type
- seeAutoCompleteTypes
historyHandlers
- control which trigger add entry event on history
-
-
Method Details
-
getAutoactivationChars
protected static char[] getAutoactivationChars()Return a character array representing the keyboard input triggers used for firing the ContentProposalAdapter.- Returns:
- - character array of trigger chars
-
getActivationKeystroke
Returns KeyStroke object which when pressed will fire the ContentProposalAdapter.- Returns:
- - the activation keystroke
-
getContentProposalAdapter
-
getHistory
-