Class LocalContentProvider
java.lang.Object
org.yamcs.studio.autocomplete.loc.LocalContentProvider
- All Implemented Interfaces:
IAutoCompleteProvider
Local Data Source content provider. Provides all available VType & content syntax assistance.
-
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
-
LocalContentProvider
public LocalContentProvider()
-
-
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
-