Class AbstractSearchProvider

    • Constructor Detail

      • AbstractSearchProvider

        public AbstractSearchProvider()
    • Method Detail

      • selectedObjectsToString

        public java.lang.String selectedObjectsToString​(java.util.List<java.lang.Object> selectedObjects)
        Description copied from interface: SearchProvider
        Formats the list of selected objects as a brief string.
        Specified by:
        selectedObjectsToString in interface SearchProvider
      • getSelectableObjectBaseKey

        protected abstract java.lang.String getSelectableObjectBaseKey()
        Returns a key that will be used with BundleUtil to get various descriptions of the selectable objects. It is expected that the following keys exist:
        '{Key}.One' - "%d object"
        '{Key}.Many' - "%d objects"
        '{Key}.Default' - what will be searched if no objects are selected. For example, "All groups" or "Default provider"
        Returns:
        a BundleUtil key corresponding to a description for a selectable object.
      • notifySearchClosed

        public void notifySearchClosed()
        Description copied from interface: SearchProvider
        Called when the search dialog box is closed, so that the search provider can release any cached resources
        Specified by:
        notifySearchClosed in interface SearchProvider
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object