Package io.jmix.flowui.xml.facet
Class SettingsFacetProvider
java.lang.Object
io.jmix.flowui.xml.facet.SettingsFacetProvider
- All Implemented Interfaces:
FacetProvider<SettingsFacet>
@Component("flowui_SettingsFacetProvider")
public class SettingsFacetProvider
extends Object
implements FacetProvider<SettingsFacet>
-
Field Summary
Modifier and TypeFieldDescriptionprotected LoaderSupport
protected ReflectionCacheManager
protected SettingsFacetUrlQueryParametersHelper
protected ViewSettingsComponentManager
protected UserSettingsCache
-
Constructor Summary
ConstructorDescriptionSettingsFacetProvider
(LoaderSupport loaderSupport, SettingsFacetUrlQueryParametersHelper settingsHelper, ReflectionCacheManager reflectionCacheManager, UserSettingsCache userSettingsCache, ViewSettingsComponentManager settingsManager) -
Method Summary
Modifier and TypeMethodDescriptioncreate()
filterExcludedIds
(Map<String, Boolean> components) filterIncludedIds
(Map<String, Boolean> components) loadComponents
(ComponentLoader.ComponentContext context, org.dom4j.Element root) void
loadFromXml
(SettingsFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Loads properties of the facet from XML.
-
Field Details
-
loaderSupport
-
settingsHelper
-
reflectionCacheManager
-
settingsManager
-
userSettingsCache
-
-
Constructor Details
-
SettingsFacetProvider
public SettingsFacetProvider(LoaderSupport loaderSupport, SettingsFacetUrlQueryParametersHelper settingsHelper, ReflectionCacheManager reflectionCacheManager, @Autowired(required=false) UserSettingsCache userSettingsCache, @Autowired(required=false) ViewSettingsComponentManager settingsManager)
-
-
Method Details
-
getFacetClass
- Specified by:
getFacetClass
in interfaceFacetProvider<SettingsFacet>
- Returns:
- facet interface
-
create
- Specified by:
create
in interfaceFacetProvider<SettingsFacet>
- Returns:
- new instance of the facet class
-
getFacetTag
- Specified by:
getFacetTag
in interfaceFacetProvider<SettingsFacet>
- Returns:
- facet XML tag
-
loadFromXml
public void loadFromXml(SettingsFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Description copied from interface:FacetProvider
Loads properties of the facet from XML.- Specified by:
loadFromXml
in interfaceFacetProvider<SettingsFacet>
- Parameters:
facet
- facetelement
- XML elementcontext
- loading context
-
filterIncludedIds
-
filterExcludedIds
-
loadComponents
protected Map<String,Boolean> loadComponents(ComponentLoader.ComponentContext context, org.dom4j.Element root)
-