Interface SuggestionProvider

All Known Implementing Classes:
BuiltinSuggestionProvider, ClassesSuggestionProvider, FieldsSuggestionProvider, MultiSuggestionProvider, PropertySuggestionProvider

public interface SuggestionProvider
The suggestion provider returns the list of suggestion given a context.
  • Method Summary

    Modifier and Type
    Method
    Description
    Given the context (prefix provided by the user) it returns available suggestions.
  • Method Details

    • getSuggestions

      List<ContentAssistElement> getSuggestions(String context)
      Given the context (prefix provided by the user) it returns available suggestions.
      Parameters:
      context - is the prefix to be searched from. It can be an empty String but must not be null.
      Returns:
      the list of suggestion proposals.