Class AutoCompleteHistoryProvider
java.lang.Object
org.yamcs.studio.autocomplete.ui.history.AutoCompleteHistoryProvider
- All Implemented Interfaces:
IAutoCompleteProvider
History proposal provider. Retrieves matching proposals from history. Always handles the full auto-completed content
by using
ContentDescriptor
originalValue and ignore wildcards.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(ContentType type) void
cancel()
Called byAutoCompleteService
when the task is canceled.listResult
(ContentDescriptor desc, int limit)
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
AutoCompleteHistoryProvider
public AutoCompleteHistoryProvider()
-
-
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
-