Package io.jmix.ui.component.impl
Class EntityFieldCreationSupport
java.lang.Object
io.jmix.ui.component.impl.EntityFieldCreationSupport
Helps to create and configure
EntityPicker
and EntityComboBox
components
considering jmix.ui.component.entityFieldType
and jmix.ui.component.entityFieldActions
properties.-
Field Summary
Modifier and TypeFieldDescriptionprotected Actions
protected UiComponentProperties
protected DataComponents
protected DataManager
protected MetadataTools
protected UiComponents
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addActions
(EntityPicker entityPicker, List<String> actionIds) boolean
addDefaultActions
(EntityPicker entityPicker) createCollectionContainer
(MetaClass metaClass) createDefaultContainerOptions
(MetaClass metaClass) createEntityField
(MetaClass metaclass, Options options) createEntityField
(MetaPropertyPath metaPropertyPath, Options options) createEntityField
(MetaPropertyPath metaPropertyPath, Options options, boolean considerComposition) protected void
createFieldActions
(MetaClass metaClass, MetaProperty.Type metaPropertyType, EntityPicker field, boolean considerComposition) protected EntityPicker
createFieldComponent
(MetaClass metaClass, Options options)
-
Field Details
-
componentProperties
-
dataComponents
-
dataManager
-
uiComponents
-
actions
-
metadataTools
-
-
Constructor Details
-
EntityFieldCreationSupport
public EntityFieldCreationSupport()
-
-
Method Details
-
createEntityField
-
createEntityField
-
createEntityField
public EntityPicker createEntityField(MetaPropertyPath metaPropertyPath, @Nullable Options options, boolean considerComposition) -
createDefaultContainerOptions
-
createCollectionContainer
-
addDefaultActions
-
createFieldComponent
-
createFieldActions
protected void createFieldActions(MetaClass metaClass, MetaProperty.Type metaPropertyType, EntityPicker field, boolean considerComposition) -
addActions
-