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

Examples of org.pentaho.reporting.engine.classic.wizard.ui.xul.EmbeddedWizard


    {
      return;
    }
    final Component parent = designerContext.getView().getParent();
    final Window window = LibSwingUtil.getWindowAncestor(parent);
    final EmbeddedWizard dialog;
    if (window instanceof JDialog)
    {
      dialog = new EmbeddedWizard((JDialog) window);
    }
    else if (window instanceof JFrame)
    {
      dialog = new EmbeddedWizard((JFrame) window);
    }
    else
    {
      dialog = new EmbeddedWizard();
    }

    // final MasterReport report = new MasterReport();
    // report.setDataFactory(new CompoundDataFactory());
    // report.setQuery(null);

    try
    {
      final MasterReport def = (MasterReport) dialog.run(null);
      if (def == null)
      {
        return;
      }
View Full Code Here


    {
      return;
    }
    final Component parent = reportDesignerContext1.getView().getParent();
    final Window window = LibSwingUtil.getWindowAncestor(parent);
    final EmbeddedWizard dialog;
    dialog = new EmbeddedWizard(window, new ReportDesignerDesignTimeContext(reportDesignerContext1));

    try
    {
      final AbstractReportDefinition realOriginal = activeContext.getReportDefinition();
      final AbstractReportDefinition original = (AbstractReportDefinition) realOriginal.derive();
      final AbstractReportDefinition def = dialog.run(original);
      if (def == null)
      {
        return;
      }
View Full Code Here

    {
      return;
    }
    final Component parent = reportDesignerContext1.getParent();
    final Window window = SwingUtil.getWindowAncestor(parent);
    final EmbeddedWizard dialog;
    if (window instanceof JDialog)
    {
      dialog = new EmbeddedWizard((JDialog) window);
    }
    else if (window instanceof JFrame)
    {
      dialog = new EmbeddedWizard(window);
    }
    else
    {
      dialog = new EmbeddedWizard();
    }


    try
    {
      final AbstractReportDefinition realOriginal = activeContext.getReportDefinition();
      final AbstractReportDefinition original = (AbstractReportDefinition) realOriginal.derive();
      final AbstractReportDefinition def = dialog.run(original);
      if (def == null)
      {
        return;
      }
View Full Code Here

    {
      return;
    }
    final Component parent = designerContext.getParent();
    final Window window = SwingUtil.getWindowAncestor(parent);
    final EmbeddedWizard dialog;
    if (window instanceof JDialog)
    {
      dialog = new EmbeddedWizard((JDialog) window);
    }
    else if (window instanceof JFrame)
    {
      dialog = new EmbeddedWizard((JFrame) window);
    }
    else
    {
      dialog = new EmbeddedWizard();
    }

    // final MasterReport report = new MasterReport();
    // report.setDataFactory(new CompoundDataFactory());
    // report.setQuery(null);

    try
    {
      final MasterReport def = (MasterReport) dialog.run(null);
      if (def == null)
      {
        return;
      }
View Full Code Here

TOP

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

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.