Class EditorBuilderProcessor

java.lang.Object
io.jmix.ui.builder.EditorBuilderProcessor

@Component("ui_EditorBuilderProcessor") public class EditorBuilderProcessor extends Object
  • Field Details

  • Constructor Details

    • EditorBuilderProcessor

      public EditorBuilderProcessor()
  • Method Details

    • buildEditor

      public <E, S extends Screen> S buildEditor(EditorBuilder<E> builder)
    • merge

      protected <E> E merge(E entity, FrameOwner screen, @Nullable DataContext parentDataContext)
    • transform

      protected <E> E transform(E entity, EditorBuilder<E> builder)
    • transformForCollectionContainer

      protected <E> E transformForCollectionContainer(E entity, CollectionContainer<E> container)
    • transformForField

      protected <E> E transformForField(E entity, HasValue<E> field)
    • 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

      protected boolean isCompositionProperty(EntityValueSource entityValueSource)
    • createScreen

      protected <E> Screen createScreen(EditorBuilder<E> builder, Screens screens, @Nullable E entity)
    • getOptionsForScreen

      protected <E> ScreenOptions getOptionsForScreen(String editorScreenId, E entity, EditorBuilder<E> builder)
    • initializeNestedEntity

      protected <E> void initializeNestedEntity(E entity, Nested container)
    • setupParentDataContext

      @Nullable protected DataContext setupParentDataContext(FrameOwner origin, Screen screen, @Nullable InstanceContainer container, @Nullable DataContext parentContext)
    • checkDataContext

      protected void checkDataContext(Screen screen, @Nullable DataContext dataContext)
    • isCommitCloseAction

      protected boolean isCommitCloseAction(CloseAction closeAction)