Package org.yamcs.studio.autocomplete
Interface IAutoCompleteProvider
- All Known Implementing Classes:
AutoCompleteHistoryProvider
,FormulaFunctionProvider
,LocalContentProvider
,OpsContentProvider
,ParameterContentProvider
,RawContentProvider
,SimContentProvider
,StateContentProvider
,SysContentProvider
public interface IAutoCompleteProvider
Interface for auto-complete providers. Each parser is provided via OSGI services. The listResult method is executed
by
AutoCompleteService
in a dedicated thread.-
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(ContentType type) void
cancel()
Called byAutoCompleteService
when the task is canceled.listResult
(ContentDescriptor desc, int limit)
-
Method Details
-
accept
- Returns:
true
if provider handles this type of content
-
listResult
- Returns:
AutoCompleteResult
matching the providedContentDescriptor
-
cancel
void cancel()Called byAutoCompleteService
when the task is canceled.
-