@Component(value="cuba_EditorBuilderProcessor")
public class EditorBuilderProcessor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected ClientConfig |
clientConfig |
protected DataManager |
dataManager |
protected DynamicAttributesGuiTools |
dynamicAttributesGuiTools |
protected EntityStates |
entityStates |
protected ExtendedEntities |
extendedEntities |
protected Metadata |
metadata |
protected ViewRepository |
viewRepository |
protected WindowConfig |
windowConfig |
Constructor and Description |
---|
EditorBuilderProcessor() |
Modifier and Type | Method and Description |
---|---|
<E extends Entity,S extends Screen> |
buildEditor(EditorBuilder<E> builder) |
protected void |
checkDataContext(Screen screen,
DataContext dataContext) |
protected <E extends Entity> |
createScreen(EditorBuilder<E> builder,
Screens screens,
E entity) |
protected <E extends Entity> |
getCommittedEntity(EditorScreen<E> editorScreen,
DataContext parentDataContext) |
protected <E extends Entity> |
initEntity(EditorBuilder<E> builder,
CollectionContainer<E> container) |
protected <E extends Entity> |
initializeNestedEntity(E entity,
Nested container) |
protected boolean |
isCommitCloseAction(CloseAction closeAction) |
protected boolean |
isCompositionProperty(EntityValueSource entityValueSource) |
protected <E extends Entity> |
merge(E entity,
FrameOwner screen,
DataContext parentDataContext) |
protected DataContext |
setupParentDataContext(FrameOwner origin,
Screen screen,
InstanceContainer container,
DataContext parentContext) |
protected <E extends Entity> |
transform(E entity,
EditorBuilder<E> builder) |
@Inject protected Metadata metadata
@Inject protected ExtendedEntities extendedEntities
@Inject protected WindowConfig windowConfig
@Inject protected ClientConfig clientConfig
@Inject protected ViewRepository viewRepository
@Inject protected EntityStates entityStates
@Inject protected DataManager dataManager
@Inject protected DynamicAttributesGuiTools dynamicAttributesGuiTools
public <E extends Entity,S extends Screen> S buildEditor(EditorBuilder<E> builder)
protected <E extends Entity> E merge(E entity, FrameOwner screen, @Nullable DataContext parentDataContext)
protected <E extends Entity> E transform(E entity, EditorBuilder<E> builder)
protected <E extends Entity> E getCommittedEntity(EditorScreen<E> editorScreen, @Nullable DataContext parentDataContext)
protected <E extends Entity> E initEntity(EditorBuilder<E> builder, CollectionContainer<E> container)
protected boolean isCompositionProperty(EntityValueSource entityValueSource)
protected <E extends Entity> Screen createScreen(EditorBuilder<E> builder, Screens screens, E entity)
protected <E extends Entity> void initializeNestedEntity(E entity, Nested container)
@Nullable protected DataContext setupParentDataContext(FrameOwner origin, Screen screen, InstanceContainer container, @Nullable DataContext parentContext)
protected void checkDataContext(Screen screen, @Nullable DataContext dataContext)
protected boolean isCommitCloseAction(CloseAction closeAction)