Class AutoCompleteHistory
java.lang.Object
org.yamcs.studio.autocomplete.ui.history.AutoCompleteHistory
Handles history of auto-completed fields.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add an entry to the history.void
installListener
(Control control) Install listeners on specified control to add an entry in the history when aSelectionEvent
is raised.
-
Constructor Details
-
AutoCompleteHistory
-
-
Method Details
-
installListener
Install listeners on specified control to add an entry in the history when aSelectionEvent
is raised.- Parameters:
control
-
-
addEntry
Add an entry to the history. History contains unique values. If a value is already in the history, this value is bring to the first place in the file. The maximum number of entries in the history is defined by preferences.- Parameters:
newEntry
-
-