Class FileSuggestModel

    • Constructor Detail

      • FileSuggestModel

        public FileSuggestModel​(java.io.File startDirectory,
                                java.util.function.Predicate<java.io.File> filePredicate)
    • Method Detail

      • updateSuggestions

        public java.io.File updateSuggestions​(java.lang.String editorText)
        Description copied from interface: SuggestModel
        Update the elements in this model and return the selected item.
        Specified by:
        updateSuggestions in interface SuggestModel<java.io.File>
        Parameters:
        editorText - the current editor text
        Returns:
        the selected item based on the editor text