Class GlossaryAutoCompleterView

    • Constructor Detail

      • GlossaryAutoCompleterView

        public GlossaryAutoCompleterView()
    • Method Detail

      • shouldPopUp

        public boolean shouldPopUp()
        Description copied from class: AbstractAutoCompleterView
        Return true to indicate that the view has relevant contextual suggestions that merit displaying the AutoCompleter popup unprompted.
        Overrides:
        shouldPopUp in class AutoCompleterListView
        Returns:
        Whether or not the AutoCompleter should appear
      • computeListData

        public java.util.List<AutoCompleterItem> computeListData​(java.lang.String prevText,
                                                                 boolean contextualOnly)
        Description copied from class: AutoCompleterListView
        Compute the items visible in the auto-completer list
        Specified by:
        computeListData in class AutoCompleterListView
        Parameters:
        prevText - the text in the editing field up to the cursor location
        Returns:
        a list of AutoCompleterItems.