Package io.jmix.ui.facet
Class EditorScreenFacetProvider
java.lang.Object
io.jmix.ui.facet.AbstractScreenFacetProvider<T>
io.jmix.ui.facet.AbstractEntityAwareScreenFacetProvider<EditorScreenFacet>
io.jmix.ui.facet.EditorScreenFacetProvider
- All Implemented Interfaces:
FacetProvider<EditorScreenFacet>
@Component("ui_EditorScreenFacetProvider")
public class EditorScreenFacetProvider
extends AbstractEntityAwareScreenFacetProvider<EditorScreenFacet>
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected Metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
protected Metadata
protected void
loadAddFirst
(EditorScreenFacet facet, org.dom4j.Element element) protected void
loadEditMode
(EditorScreenFacet facet, org.dom4j.Element element) void
loadFromXml
(EditorScreenFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Loads properties of the facet from XML.Methods inherited from class io.jmix.ui.facet.AbstractEntityAwareScreenFacetProvider
loadContainer, loadEntityClass, loadField, loadListComponent
Methods inherited from class io.jmix.ui.facet.AbstractScreenFacetProvider
loadId, loadOpenMode, loadProperties, loadProperty, loadScreenClass, loadScreenId, loadTarget
-
Field Details
-
metadata
-
applicationContext
@Autowired protected org.springframework.context.ApplicationContext applicationContext
-
-
Constructor Details
-
EditorScreenFacetProvider
public EditorScreenFacetProvider()
-
-
Method Details
-
getFacetClass
- Returns:
- facet interface
-
create
- Returns:
- new instance of the facet class
-
getFacetTag
- Returns:
- facet XML tag
-
loadFromXml
public void loadFromXml(EditorScreenFacet 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<EditorScreenFacet>
- Overrides:
loadFromXml
in classAbstractEntityAwareScreenFacetProvider<EditorScreenFacet>
- Parameters:
facet
- facetelement
- XML elementcontext
- loading context
-
getMetadata
- Specified by:
getMetadata
in classAbstractEntityAwareScreenFacetProvider<EditorScreenFacet>
-
loadAddFirst
-
loadEditMode
-