Package io.jmix.ui.builder
Class EditorBuilderProcessor
java.lang.Object
io.jmix.ui.builder.EditorBuilderProcessor
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<EditedEntityTransformer>
protected ExtendedEntities
protected Metadata
protected UiScreenProperties
protected WindowConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<E,
S extends Screen>
SbuildEditor
(EditorBuilder<E> builder) protected void
checkDataContext
(Screen screen, DataContext dataContext) protected <E> Screen
createScreen
(EditorBuilder<E> builder, Screens screens, E entity) protected <E> E
getCommittedEntity
(EditorScreen<E> editorScreen, DataContext parentDataContext) protected <E> ScreenOptions
getOptionsForScreen
(String editorScreenId, E entity, EditorBuilder<E> builder) protected <E> E
initEntity
(EditorBuilder<E> builder, CollectionContainer<E> container) protected <E> void
initializeNestedEntity
(E entity, Nested container) protected boolean
isCommitCloseAction
(CloseAction closeAction) protected boolean
isCompositionProperty
(EntityValueSource entityValueSource) protected <E> E
merge
(E entity, FrameOwner screen, DataContext parentDataContext) protected DataContext
setupParentDataContext
(FrameOwner origin, Screen screen, InstanceContainer container, DataContext parentContext) protected <E> E
transform
(E entity, EditorBuilder<E> builder) protected <E> E
transformForCollectionContainer
(E entity, CollectionContainer<E> container) protected <E> E
transformForField
(E entity, HasValue<E> field)
-
Field Details
-
metadata
-
extendedEntities
-
windowConfig
-
screenProperties
-
editedEntityTransformers
-
-
Constructor Details
-
EditorBuilderProcessor
public EditorBuilderProcessor()
-
-
Method Details
-
buildEditor
-
merge
-
transform
-
transformForCollectionContainer
-
transformForField
-
getCommittedEntity
protected <E> E getCommittedEntity(EditorScreen<E> editorScreen, @Nullable DataContext parentDataContext) -
initEntity
@Nullable protected <E> E initEntity(EditorBuilder<E> builder, @Nullable CollectionContainer<E> container) -
isCompositionProperty
-
createScreen
-
getOptionsForScreen
protected <E> ScreenOptions getOptionsForScreen(String editorScreenId, E entity, EditorBuilder<E> builder) -
initializeNestedEntity
-
setupParentDataContext
@Nullable protected DataContext setupParentDataContext(FrameOwner origin, Screen screen, @Nullable InstanceContainer container, @Nullable DataContext parentContext) -
checkDataContext
-
isCommitCloseAction
-