Package io.jmix.flowui.sys.registration
Class CustomComponentsLoaderConfig
java.lang.Object
io.jmix.flowui.sys.registration.CustomComponentsLoaderConfig
- All Implemented Interfaces:
- LoaderConfig
@Order(110)
@Component("flowui_CustomComponentsLoaderConfig")
public class CustomComponentsLoaderConfig
extends Object
implements LoaderConfig
Contains UI component loaders from add-ons and project configurations.
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionClass<? extends ComponentLoader>getLoader(org.dom4j.Element element) Class<? extends ComponentLoader>getViewLoader(org.dom4j.Element root) protected voidregisterLoader(String tagName, Class<? extends ComponentLoader> loaderClass) booleansupports(org.dom4j.Element element) Checks whether the config contains a loader that supports the givenelement.
- 
Field Details- 
loaders
 
- 
- 
Constructor Details- 
CustomComponentsLoaderConfigpublic CustomComponentsLoaderConfig()
 
- 
- 
Method Details- 
supportspublic boolean supports(org.dom4j.Element element) Description copied from interface:LoaderConfigChecks whether the config contains a loader that supports the givenelement.- Specified by:
- supportsin interface- LoaderConfig
- Parameters:
- element- element
- Returns:
- true if the config contains suitable loader, of false otherwise
 
- 
getViewLoader- Specified by:
- getViewLoaderin interface- LoaderConfig
- Parameters:
- root- view's root element
- Returns:
- loader class for view or nullif config does not support givenroot
 
- 
getLoader- Specified by:
- getLoaderin interface- LoaderConfig
- Parameters:
- element- element to load
- Returns:
- ComponentLoaderinstance
 
- 
registerLoader
 
-