Class SelectTypeDialogFilter


  • public class SelectTypeDialogFilter
    extends ViewerFilter
    Creates filter that is able to filter types list by English and Russian names using symbols '?' and '*' as placeholders. Case insensitive. The pattern is matched as a substring.
    • Constructor Detail

      • SelectTypeDialogFilter

        public SelectTypeDialogFilter​(String searchPatternText)
        Creates filter that is able to filter types list by English and Russian names using symbols '?' and '*' as placeholders. Case insensitive. The pattern is matched as a substring.
        Parameters:
        searchPatternText - Pattern for matching. It can contain a special symbols ('?' or '*').
    • Method Detail

      • createMatchers

        public Matcher createMatchers​(TypeInfoTreeItem typeInfoTreeItem)
        Returns matcher that can be used for applying regular expression with early specified pattern to caption of typeInfoTreeItem. The pattern to be applied was set through constructor.
        Parameters:
        typeInfoTreeItem - The item whose caption should be used to searching for occurrences of pattern.
        Returns:
        The matcher prepared to invoking method find() or etc.