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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(ContentType type) voidcancel()Called byAutoCompleteServicewhen the task is canceled.listResult(ContentDescriptor desc, int limit)
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
AutoCompleteHistoryProvider
public AutoCompleteHistoryProvider()
-
-
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
-