Class ActionSetFieldsPage

  • All Implemented Interfaces:
    com.google.gwt.user.client.ui.IsWidget, ActionSetFieldsPageView.Presenter, org.uberfire.ext.widgets.core.client.wizards.WizardPage

    @Dependent
    public class ActionSetFieldsPage
    extends AbstractGuidedDecisionTableWizardPage
    implements ActionSetFieldsPageView.Presenter
    A page for the guided Decision Table Wizard to define Actions setting fields on previously bound patterns. This page does not use the GuidedDecisionTable model directly; instead maintaining its own Pattern-to-Action associations.
    • Constructor Detail

      • ActionSetFieldsPage

        public ActionSetFieldsPage()
    • Method Detail

      • getTitle

        public String getTitle()
        Specified by:
        getTitle in interface org.uberfire.ext.widgets.core.client.wizards.WizardPage
      • initialise

        public void initialise()
        Specified by:
        initialise in interface org.uberfire.ext.widgets.core.client.wizards.WizardPage
      • prepareView

        public void prepareView()
        Specified by:
        prepareView in interface org.uberfire.ext.widgets.core.client.wizards.WizardPage
      • isComplete

        public void isComplete​(org.uberfire.client.callbacks.Callback<Boolean> callback)
        Specified by:
        isComplete in interface org.uberfire.ext.widgets.core.client.wizards.WizardPage
      • makeResult

        public void makeResult​(org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52 model)
        Description copied from class: AbstractGuidedDecisionTableWizardPage
        When the Widget is finished a GuidedDecisionTable52 instance is passed to each page for enrichment. Some pages are able to work on this instance directly (i.e. the model is suitable for direct use in the page, such as FactPatternsPage) however others maintain their own representation of the model that must be copied into the GuidedDecisionTable52.
        Overrides:
        makeResult in class AbstractGuidedDecisionTableWizardPage
      • assertDefaultValue

        public void assertDefaultValue​(org.drools.workbench.models.guided.dtable.shared.model.Pattern52 selectedPattern,
                                       org.drools.workbench.models.guided.dtable.shared.model.ActionSetFieldCol52 selectedAction)
        Specified by:
        assertDefaultValue in interface ActionSetFieldsPageView.Presenter