Package io.jmix.ui.facet
Class AbstractEntityAwareScreenFacetProvider<T extends ScreenFacet & EntityAwareScreenFacet>
java.lang.Object
io.jmix.ui.facet.AbstractScreenFacetProvider<T>
io.jmix.ui.facet.AbstractEntityAwareScreenFacetProvider<T>
- Type Parameters:
T
- screen facet type
- All Implemented Interfaces:
FacetProvider<T>
- Direct Known Subclasses:
EditorScreenFacetProvider
,LookupScreenFacetProvider
public abstract class AbstractEntityAwareScreenFacetProvider<T extends ScreenFacet & EntityAwareScreenFacet>
extends AbstractScreenFacetProvider<T>
Base class for entity aware screen facet providers.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Metadata
protected void
loadContainer
(T facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) protected void
loadEntityClass
(T facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) protected void
loadField
(T facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) void
loadFromXml
(T facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Loads properties of the facet from XML.protected void
loadListComponent
(T facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Methods inherited from class io.jmix.ui.facet.AbstractScreenFacetProvider
loadId, loadOpenMode, loadProperties, loadProperty, loadScreenClass, loadScreenId, loadTarget
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.ui.xml.FacetProvider
create, getFacetClass, getFacetTag
-
Constructor Details
-
AbstractEntityAwareScreenFacetProvider
public AbstractEntityAwareScreenFacetProvider()
-
-
Method Details
-
getMetadata
-
loadFromXml
public void loadFromXml(T 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<T extends ScreenFacet & EntityAwareScreenFacet>
- Overrides:
loadFromXml
in classAbstractScreenFacetProvider<T extends ScreenFacet & EntityAwareScreenFacet>
- Parameters:
facet
- facetelement
- XML elementcontext
- loading context
-
loadEntityClass
protected void loadEntityClass(T facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) -
loadListComponent
protected void loadListComponent(T facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) -
loadField
protected void loadField(T facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) -
loadContainer
protected void loadContainer(T facet, org.dom4j.Element element, ComponentLoader.ComponentContext context)
-