Class AbstractModelAction

    • Field Detail

      • module

        public static final String module
    • Constructor Detail

      • AbstractModelAction

        protected AbstractModelAction()
      • AbstractModelAction

        protected AbstractModelAction​(ModelWidget modelWidget,
                                      Element actionElement)
    • Method Detail

      • newInstance

        public static ModelAction newInstance​(ModelWidget modelWidget,
                                              Element actionElement)
        Returns a new ModelAction instance, built from actionElement.
        Parameters:
        modelWidget - The ModelWidget that contains the <actions> element
        actionElement -
        Returns:
        A new ModelAction instance
      • runSubActions

        public static void runSubActions​(List<ModelAction> actions,
                                         Map<String,​Object> context)
        Executes the actions contained in actions.
        Parameters:
        actions -
        context -
      • getModelWidget

        public ModelWidget getModelWidget()
        Returns the ModelWidget that contains the <actions> element.
        Returns:
        The ModelWidget that contains the <actions> element