Package org.pentaho.reporting.designer.core.settings.ui

Examples of org.pentaho.reporting.designer.core.settings.ui.SettingsDialog


      final ConsumableActionEvent ce = (ConsumableActionEvent) e;
      ce.consume();
    }

    final Window window = LibSwingUtil.getWindowAncestor(getReportDesignerContext().getView().getParent());
    final SettingsDialog settingsDialog;
    if (window instanceof Frame)
    {
      settingsDialog = new SettingsDialog((Frame) window);
    }
    else if (window instanceof Dialog)
    {
      settingsDialog = new SettingsDialog((Dialog) window);
    }
    else
    {
      settingsDialog = new SettingsDialog();
    }

    settingsDialog.pack();
    settingsDialog.performEdit(getReportDesignerContext());
  }
View Full Code Here


      final ConsumableActionEvent ce = (ConsumableActionEvent) e;
      ce.consume();
    }

    final Window window = SwingUtil.getWindowAncestor(getReportDesignerContext().getParent());
    final SettingsDialog settingsDialog;
    if (window instanceof Frame)
    {
      settingsDialog = new SettingsDialog((Frame) window);
    }
    else if (window instanceof Dialog)
    {
      settingsDialog = new SettingsDialog((Dialog) window);
    }
    else
    {
      settingsDialog = new SettingsDialog();
    }

    settingsDialog.pack();
    settingsDialog.performEdit(getReportDesignerContext());
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.designer.core.settings.ui.SettingsDialog

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.