Class AutoCompletionManager

  • All Implemented Interfaces:
    DataSetListener

    public class AutoCompletionManager
    extends Object
    implements DataSetListener
    AutoCompletionManager holds a cache of keys with a list of possible auto completion values for each key. Each DataSet can be assigned one AutoCompletionManager instance such that
    1. any key used in a tag in the data set is part of the key list in the cache
    2. any value used in a tag for a specific key is part of the autocompletion list of this key
    Building up auto completion lists should not slow down tabbing from input field to input field. Looping through the complete data set in order to build up the auto completion list for a specific input field is not efficient enough, hence this cache. TODO: respect the relation type for member role autocompletion