Class AbstractInitTask
java.lang.Object
io.jmix.flowui.xml.layout.inittask.AbstractInitTask
- All Implemented Interfaces:
ComponentLoader.InitTask
- Direct Known Subclasses:
AbstractAssignActionInitTask
,AssignGridColumnVisibilityPropertiesInitTask
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(ComponentLoader.ComponentContext context, View<?> view) This method will be invoked after view initialization.protected com.vaadin.flow.component.Component
getOrigin
(ComponentLoader.Context context) Gets a context origin component if it can contain nexted components.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.flowui.xml.layout.ComponentLoader.InitTask
execute
-
Constructor Details
-
AbstractInitTask
public AbstractInitTask()
-
-
Method Details
-
execute
Description copied from interface:ComponentLoader.InitTask
This method will be invoked after view initialization.- Specified by:
execute
in interfaceComponentLoader.InitTask
- Parameters:
context
- loader contextview
- view
-
getOrigin
Gets a context origin component if it can contain nexted components.- Parameters:
context
- a context object- Returns:
- a context origin component if it can contain nexted components
- Throws:
GuiDevelopmentException
- if origin cannot contain components
-