Class WidgetFormTemplateProvider
java.lang.Object
ch.tocco.nice2.model.form.spi.formtemplateprovider.AbstractFormTemplateProvider
ch.tocco.nice2.model.form.spi.formtemplateprovider.DefaultDetailFormProvider
ch.tocco.nice2.optional.cms.impl.form.WidgetFormTemplateProvider
- All Implemented Interfaces:
FormTemplateProvider
This form provider removes the relation field to Content_reference on widget config entity detail forms.
-
Field Summary
Fields inherited from class ch.tocco.nice2.model.form.spi.formtemplateprovider.AbstractFormTemplateProvider
NOT_IN_RELATION_PANEL, NOT_TO_MANY
Fields inherited from interface ch.tocco.nice2.model.form.spi.formtemplateprovider.FormTemplateProvider
FORM_TEMPLATE_HIGH_PRIORITY, FORM_TEMPLATE_LOW_PRIORITY
-
Constructor Summary
ConstructorDescriptionWidgetFormTemplateProvider
(DataPathFactory dataPathFactory, DisplayValueFactory displayValueFactory) -
Method Summary
Modifier and TypeMethodDescriptiongetForm
(EntityModel entityModel, FormModelReceiver formModelReceiver, String scope) boolean
match
(EntityModel entityModel) Methods inherited from class ch.tocco.nice2.model.form.spi.formtemplateprovider.DefaultDetailFormProvider
createFieldComponent
Methods inherited from class ch.tocco.nice2.model.form.spi.formtemplateprovider.AbstractFormTemplateProvider
createDataPath, createDisplayValue, createFieldComponents, createForm, createRelationComponents, createRelationComponents, isEntityAutoField
-
Constructor Details
-
Method Details
-
match
- Specified by:
match
in interfaceFormTemplateProvider
- Overrides:
match
in classDefaultDetailFormProvider
-
getForm
- Specified by:
getForm
in interfaceFormTemplateProvider
- Overrides:
getForm
in classDefaultDetailFormProvider
-