Class ParameterContentProvider

java.lang.Object
org.yamcs.studio.autocomplete.para.ParameterContentProvider
All Implemented Interfaces:
IAutoCompleteProvider
Direct Known Subclasses:
RawContentProvider

public class ParameterContentProvider extends Object implements IAutoCompleteProvider
PV Name lookup for Yamcs Parameters

AutoCompleteService will re-use one instance of this class for all lookups, calling listResult whenever the user types a new character, using a new thread for each lookup. Before starting a new lookup, however, cancel() is invoked. This means there are never multiple concurrent lookups started on purpose, but a previously started lookup may still continue in its thread in case cancel() has no immediate effect.