Package net.sf.okapi.common.filters
Class DefaultFilters
- java.lang.Object
-
- net.sf.okapi.common.filters.DefaultFilters
-
public class DefaultFilters extends Object
Helper object to load a default list of filters and their editor information. The list is in the DefaultFilters.properties file.
-
-
Constructor Summary
Constructors Constructor Description DefaultFilters()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidsetMappings(IFilterConfigurationMapper fcMapper, boolean reset, boolean addConfigurations)Add the default mappings provided in the DefaultFilters.properties file.
-
-
-
Method Detail
-
setMappings
public static void setMappings(IFilterConfigurationMapper fcMapper, boolean reset, boolean addConfigurations)
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.
-
-