Class AbstractAssignActionPostInitTask

java.lang.Object
io.jmix.ui.xml.layout.loader.AbstractAssignActionPostInitTask
All Implemented Interfaces:
ComponentLoader.InitTask
Direct Known Subclasses:
ActionHolderAssignActionPostInitTask, ActionOwnerAssignActionPostInitTask

public abstract class AbstractAssignActionPostInitTask extends Object implements ComponentLoader.InitTask
  • Field Details

    • component

      protected Component component
    • actionId

      protected String actionId
    • frame

      protected Frame frame
  • Constructor Details

    • AbstractAssignActionPostInitTask

      public AbstractAssignActionPostInitTask(Component component, String actionId, Frame frame)
  • Method Details

    • execute

      public void execute(ComponentLoader.ComponentContext context, Frame frame)
      Description copied from interface: ComponentLoader.InitTask
      This method will be invoked after window components loading before window initialization.
      Specified by:
      execute in interface ComponentLoader.InitTask
      Parameters:
      context - loader context
      frame - top-most window
    • hasOwnAction

      protected abstract boolean hasOwnAction(String id)
    • addAction

      protected abstract void addAction(Action action)
    • getActionRecursively

      @Nullable protected Action getActionRecursively(@Nullable Frame frame, String actionId)
    • getExceptionMessage

      protected String getExceptionMessage(String id)