Package io.jmix.flowui.sys.registration
Class CustomFacetsLoaderConfig
java.lang.Object
io.jmix.flowui.sys.registration.CustomFacetsLoaderConfig
- All Implemented Interfaces:
FacetLoaderConfig
@Order(110)
@Component("flowui_CustomFacetsLoaderConfig")
public class CustomFacetsLoaderConfig
extends Object
implements FacetLoaderConfig
Configuration for custom
FacetLoader implementations from add-ons and project configurations.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends FacetLoader<?>>getLoader(org.dom4j.Element element) protected voidregisterLoader(String tagName, Class<? extends FacetLoader<?>> loaderClass) booleansupports(org.dom4j.Element element) Checks whether the config contains a loader that supports the givenelement.
-
Field Details
-
loaders
-
-
Constructor Details
-
CustomFacetsLoaderConfig
public CustomFacetsLoaderConfig()
-
-
Method Details
-
supports
public boolean supports(org.dom4j.Element element) Description copied from interface:FacetLoaderConfigChecks whether the config contains a loader that supports the givenelement.- Specified by:
supportsin interfaceFacetLoaderConfig- Parameters:
element- element to check- Returns:
trueif the config contains suitable loader,falseotherwise
-
getLoader
- Specified by:
getLoaderin interfaceFacetLoaderConfig- Parameters:
element- element to load- Returns:
FacetLoaderinstance for loading the givenelement
-
registerLoader
-