Class AbstractAssignActionInitTask<C>
java.lang.Object
io.jmix.flowui.xml.layout.inittask.AbstractInitTask
io.jmix.flowui.xml.layout.inittask.AbstractAssignActionInitTask<C>
- All Implemented Interfaces:
ComponentLoader.InitTask
- Direct Known Subclasses:
AssignActionInitTask,AssignActionsInitTask,AssignDropdownButtonActionInitTask,AssignUserMenuItemActionInitTask
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidaddAction(ComponentLoader.Context context, Action action) voidexecute(ComponentLoader.Context context) This method will be invoked after component's content initialization.protected @Nullable ActiongetActionRecursively(ComponentLoader.Context context, String actionId) protected Stringprotected abstract booleanhasOwnAction(String id) protected voidrunAfterExecuteHandler(Action action) voidsetAfterExecuteHandler(@Nullable Consumer<Action> afterExecuteHandler) Methods inherited from class io.jmix.flowui.xml.layout.inittask.AbstractInitTask
getOrigin
-
Field Details
-
component
-
actionId
-
afterExecuteHandler
-
-
Constructor Details
-
AbstractAssignActionInitTask
-
-
Method Details
-
execute
Description copied from interface:ComponentLoader.InitTaskThis method will be invoked after component's content initialization.- Parameters:
context- loader context
-
hasOwnAction
-
addAction
-
setAfterExecuteHandler
-
runAfterExecuteHandler
-
getActionRecursively
-
getExceptionMessage
-