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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(ContentType type) voidcancel()Called byAutoCompleteServicewhen the task is canceled.listResult(ContentDescriptor desc, int limit)
-
Constructor Details
-
LocalContentProvider
public LocalContentProvider()
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceIAutoCompleteProvider- Returns:
trueif provider handles this type of content
-
listResult
- Specified by:
listResultin interfaceIAutoCompleteProvider- Returns:
AutoCompleteResultmatching the providedContentDescriptor
-
cancel
public void cancel()Description copied from interface:IAutoCompleteProviderCalled byAutoCompleteServicewhen the task is canceled.- Specified by:
cancelin interfaceIAutoCompleteProvider
-