Package org.yamcs.studio.autocomplete.ui
Interface IAutoCompleteProposalProvider
- All Known Implementing Classes:
AutoCompleteProposalProvider
public interface IAutoCompleteProposalProvider
Provides auto-completion results to
ContentProposalAdapter
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
Cancel the current request.void
getProposals
(String contents, IContentProposalSearchHandler handler) Requests providers for proposals and notify the handler each time a provider answers.getType()
boolean
-
Method Details
-
getProposals
Requests providers for proposals and notify the handler each time a provider answers.- Parameters:
contents
- the content to complete.handler
- seeIContentProposalSearchHandler
.
-
hasProviders
boolean hasProviders()- Returns:
true
if at least one provider is defined.
-
cancel
void cancel()Cancel the current request. -
getType
String getType()- Returns:
- current type, see
AutoCompleteTypes
.
-