Package org.pentaho.reporting.designer.core.util

Examples of org.pentaho.reporting.designer.core.util.SystemInformationDialog$CopyAction


   */
  public void actionPerformed(final ActionEvent e)
  {
    final Component parent = getReportDesignerContext().getView().getParent();
    final Window window = LibSwingUtil.getWindowAncestor(parent);
    final SystemInformationDialog dialog;
    if (window instanceof JDialog)
    {
      dialog = new SystemInformationDialog((JDialog) window);
    }
    else if (window instanceof JFrame)
    {
      dialog = new SystemInformationDialog((JFrame) window);
    }
    else
    {
      dialog = new SystemInformationDialog();
    }
    dialog.performShow();
  }
View Full Code Here


  {
    final Component parent = getReportDesignerContext().getParent();
    final Window window = SwingUtil.getWindowAncestor(parent);
    if (window instanceof JDialog)
    {
      new SystemInformationDialog((JDialog) window);
    }
    else if (window instanceof JFrame)
    {
      new SystemInformationDialog((JFrame) window);
    }
    else
    {
      new SystemInformationDialog();
    }

  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.designer.core.util.SystemInformationDialog$CopyAction

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.