Make overriden call() in SuggestionProvider non-final

#687 Merged at b8d2f37
Repository
abhinayagarwal
Branch
default
Repository
controlsfx
Branch
default
Author
  1. Abhinay Agarwal
Reviewers
Description

This is helpful in case a user wants to add custom filters to the search. For example, let us consider an complex object:

class Invoice {
   String invoiceNo;
   String customerName;
}

I would want to show search result depending on the first character:

  • '#' - Match invoice no
  • '@' - Match customer name

Overriding the call() makes it easy to achieve this. I wasn't able to find any other way to do the same.

Comments (0)