Package org.pentaho.reporting.engine.classic.wizard.ui.xul.steps

Examples of org.pentaho.reporting.engine.classic.wizard.ui.xul.steps.DataSourceAndQueryStep


    wizardController = new LinearWizardController(new WizardEditorModel(), new DefaultBindingFactory());
    wizardController.addPropertyChangeListener(new CloseListener());
   
    // add the steps ..
    wizardController.addStep(new LookAndFeelStep());
    wizardController.addStep(new DataSourceAndQueryStep());
    wizardController.addStep(new LayoutStep());
    wizardController.addStep(new FormatStep());


    try
View Full Code Here


    wizardController = new LinearWizardController(new WizardEditorModel(), new DefaultBindingFactory());

    // add the steps ..
    wizardController.addStep(new LookAndFeelStep());
    wizardController.addStep(new DataSourceAndQueryStep());
    wizardController.addStep(new LayoutStep());
    wizardController.addStep(new FormatStep());

    wizardController.addPropertyChangeListener(WizardController.CANCELLED_PROPERTY_NAME, new CancelHandler());
    wizardController.addPropertyChangeListener(WizardController.FINISHED_PROPERTY_NAME, new FinishedHandler());
View Full Code Here

  public StandaloneWizard()
  {
    wizardController = new LinearWizardController(new WizardEditorModel(), new DefaultBindingFactory());
    wizardController.addPropertyChangeListener(new CloseListener());
   
    final DataSourceAndQueryStep dataSourceAndQueryStep = new DataSourceAndQueryStep();

    // add the steps ..
    wizardController.addStep(new LookAndFeelStep());
    wizardController.addStep(dataSourceAndQueryStep);
    wizardController.addStep(new LayoutStep());
    wizardController.addStep(new FormatStep());


    try
    {
      final XulDomContainer mainWizardContainer = new SwingXulLoader().loadXul(MAIN_WIZARD_PANEL);
      new WizardContentPanel(wizardController).addContent(mainWizardContainer);

      wizardController.registerMainXULContainer(mainWizardContainer);

      final Document documentRoot = mainWizardContainer.getDocumentRoot();
      final XulDialog root = (XulDialog) documentRoot.getRootElement();
      final Window window = (Window) root.getRootObject();
      final DesignTimeContext designTimeContext =
          new DefaultWizardDesignTimeContext(wizardController.getEditorModel(), window);
      dataSourceAndQueryStep.setDesignTimeContext(designTimeContext);
      wizardController.setDesignTimeContext(designTimeContext);

      final XulRunner runner = new SwingXulRunner();
      runner.addContainer(mainWizardContainer);
View Full Code Here

  }


  private void init()
  {
    dataSourceAndQueryStep = new DataSourceAndQueryStep();

    wizardController = new LinearWizardController(new WizardEditorModel(), new DefaultBindingFactory());

    // add the steps ..
    wizardController.addStep(new LookAndFeelStep());
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.wizard.ui.xul.steps.DataSourceAndQueryStep

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.