Package net.sf.okapi.common.filters
Class DefaultFilters
- java.lang.Object
-
- net.sf.okapi.common.filters.DefaultFilters
-
@Deprecated(forRemoval=false) public class DefaultFilters extends Object
Deprecated.This class will be moved to okapi-uiWARNING: Resource intensive and not thread safe.Helper object to load a default list of filters and their editor information. The list is in the DefaultFilters.properties file. This class assumes that fcMapper implements
IParametersEditorMapper
-
-
Constructor Summary
Constructors Constructor Description DefaultFilters()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidsetMappings(IFilterConfigurationMapper fcMapper, boolean reset, boolean addConfigurations)Deprecated.Add the default mappings provided in the DefaultFilters.properties file.
-
-
-
Method Detail
-
setMappings
public static void setMappings(IFilterConfigurationMapper fcMapper, boolean reset, boolean addConfigurations)
Deprecated.Add the default mappings provided in the DefaultFilters.properties file.- Parameters:
fcMapper- the mapper where to add the mapping.reset- true to clear all filters, editors and dec descriptions in the mapper before setting the new ones.addConfigurations- true to add the filters configurations, false to add only the parameters editors and UI descriptions.
-
-