Package io.jmix.flowui.xml.layout.loader
Class ComponentLoaderContext
java.lang.Object
io.jmix.flowui.xml.layout.loader.AbstractLoaderContext
io.jmix.flowui.xml.layout.loader.ComponentLoaderContext
- All Implemented Interfaces:
ComponentLoader.ComponentContext,ComponentLoader.Context
public class ComponentLoaderContext
extends AbstractLoaderContext
implements ComponentLoader.ComponentContext
-
Field Summary
FieldsFields inherited from class io.jmix.flowui.xml.layout.loader.AbstractLoaderContext
actionsHolder, dataHolder, fullOriginId, initTasks, messageGroup, parentContext, preInitTasks -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAddComponentLoader.AutowireTaskthat will be executed according to the origin component lifecycle.voidExecuted all addedComponentLoader.AutowireTaskscom.vaadin.flow.component.ComponentView<?> getView()voidMethods inherited from class io.jmix.flowui.xml.layout.loader.AbstractLoaderContext
addInitTask, addPreInitTask, executeInitTasks, executePreInitTasks, getActionsHolder, getDataHolder, getFullOriginId, getMessageGroup, getParentContext, setActionsHolder, setDataHolder, setFullOriginId, setMessageGroup, setParentContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.flowui.xml.layout.ComponentLoader.Context
addInitTask, addPreInitTask, executeInitTasks, executePreInitTasks, getActionsHolder, getDataHolder, getFullOriginId, getMessageGroup, getParentContext
-
Field Details
-
view
-
autowireTasks
-
-
Constructor Details
-
ComponentLoaderContext
public ComponentLoaderContext()
-
-
Method Details
-
getOrigin
public com.vaadin.flow.component.Component getOrigin()- Specified by:
getOriginin interfaceComponentLoader.Context- Returns:
- a target component for which an XML descriptor is processed
-
getView
- Specified by:
getViewin interfaceComponentLoader.ComponentContext- Returns:
- an origin view
-
setView
-
addAutowireTask
Description copied from interface:ComponentLoader.ComponentContextAddComponentLoader.AutowireTaskthat will be executed according to the origin component lifecycle.- Specified by:
addAutowireTaskin interfaceComponentLoader.ComponentContext- Parameters:
task- a task to add
-
executeAutowireTasks
public void executeAutowireTasks()Description copied from interface:ComponentLoader.ComponentContextExecuted all addedComponentLoader.AutowireTasks- Specified by:
executeAutowireTasksin interfaceComponentLoader.ComponentContext
-