Class StateContentProvider
java.lang.Object
org.yamcs.studio.autocomplete.state.StateContentProvider
- All Implemented Interfaces:
IAutoCompleteProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(ContentType type) void
cancel()
Called byAutoCompleteService
when the task is canceled.listResult
(ContentDescriptor desc, int limit)
-
Constructor Details
-
StateContentProvider
public StateContentProvider()
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceIAutoCompleteProvider
- Returns:
true
if provider handles this type of content
-
listResult
- Specified by:
listResult
in interfaceIAutoCompleteProvider
- Returns:
AutoCompleteResult
matching the providedContentDescriptor
-
cancel
public void cancel()Description copied from interface:IAutoCompleteProvider
Called byAutoCompleteService
when the task is canceled.- Specified by:
cancel
in interfaceIAutoCompleteProvider
-