Class LinearWizardController

  • All Implemented Interfaces:
    WizardController, org.pentaho.ui.xul.impl.XulEventHandler, org.pentaho.ui.xul.XulEventSource

    public class LinearWizardController
    extends org.pentaho.ui.xul.impl.AbstractXulEventHandler
    implements WizardController
    The wizard-controler manages the navigation between the wizard-panes. All panes are organized as a list, where each panel cannot be enabled if the previous panels are not valid or enabled.

    It is possible to jump back to previous steps and change values there. In some cases, this will just update the model, but in some cases this will invalidate the subsequent steps (for instance, if the query has been changed).

    Author:
    William Seyler
    • Constructor Detail

      • LinearWizardController

        public LinearWizardController​(WizardEditorModel editorModel,
                                      org.pentaho.ui.xul.binding.BindingFactory bf)
    • Method Detail

      • setDesignTimeContext

        public void setDesignTimeContext​(org.pentaho.reporting.engine.classic.core.designtime.DesignTimeContext designTimeContext)
        Specified by:
        setDesignTimeContext in interface WizardController
        Parameters:
        designTimeContext -
      • removeStep

        public void removeStep​(WizardStep step)
      • updateBindings

        protected void updateBindings()
      • setCancelled

        public void setCancelled​(boolean canceled)
      • setFinished

        public void setFinished​(boolean finished)
      • next

        public void next()
      • back

        public void back()
      • preview

        public void preview()
      • getName

        public String getName()
        Specified by:
        getName in interface org.pentaho.ui.xul.impl.XulEventHandler
        Overrides:
        getName in class org.pentaho.ui.xul.impl.AbstractXulEventHandler
      • onLoad

        public void onLoad()
      • registerMainXULContainer

        public void registerMainXULContainer​(org.pentaho.ui.xul.XulDomContainer mainWizardContainer)
        Parameters:
        mainWizardContainer -
      • setBindingFactory

        public void setBindingFactory​(org.pentaho.ui.xul.binding.BindingFactory bf)
        Specified by:
        setBindingFactory in interface WizardController