Class AbstractAssignActionInitTask<C extends com.vaadin.flow.component.Component>
java.lang.Object
io.jmix.flowui.xml.layout.inittask.AbstractAssignActionInitTask<C>
- All Implemented Interfaces:
ComponentLoader.InitTask
- Direct Known Subclasses:
AssignActionInitTask
,AssignActionsInitTask
,AssignDropdownButtonActionInitTask
public abstract class AbstractAssignActionInitTask<C extends com.vaadin.flow.component.Component>
extends Object
implements ComponentLoader.InitTask
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
addAction
(ComponentLoader.ComponentContext context, Action action) void
execute
(ComponentLoader.ComponentContext context, View<?> view) This method will be invoked after view initialization.protected Action
getActionRecursively
(ComponentLoader.ComponentContext context, String actionId) protected Optional<com.vaadin.flow.component.Component>
getComponent
(View<?> view, String id) protected String
protected abstract boolean
hasOwnAction
(String id)
-
Field Details
-
component
-
actionId
-
view
-
-
Constructor Details
-
AbstractAssignActionInitTask
-
-
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
-
hasOwnAction
-
addAction
-
getActionRecursively
@Nullable protected Action getActionRecursively(ComponentLoader.ComponentContext context, String actionId) -
getExceptionMessage
-
getComponent
-