Examples of AlignmentOptionsDialog


Examples of org.pentaho.reporting.designer.core.model.AlignmentOptionsDialog

  private void alignElements(final PageDefinition original)
  {
    final Component parent = getReportDesignerContext().getView().getParent();
    final Window window = LibSwingUtil.getWindowAncestor(parent);
    final AlignmentOptionsDialog dialog;
    if (window instanceof JDialog)
    {
      dialog = new AlignmentOptionsDialog((JDialog) window, getActiveContext(), original);
    }
    else if (window instanceof JFrame)
    {
      dialog = new AlignmentOptionsDialog((JFrame) window, getActiveContext(), original);
    }
    else
    {
      dialog = new AlignmentOptionsDialog(getActiveContext(), original);
    }

    dialog.performEdit();
  }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.model.AlignmentOptionsDialog

  private void alignElements(final PageDefinition original)
  {
    final Component parent = getReportDesignerContext().getParent();
    final Window window = SwingUtil.getWindowAncestor(parent);
    final AlignmentOptionsDialog dialog;
    if (window instanceof JDialog)
    {
      dialog = new AlignmentOptionsDialog((JDialog) window, getActiveContext(), original);
    }
    else if (window instanceof JFrame)
    {
      dialog = new AlignmentOptionsDialog((JFrame) window, getActiveContext(), original);
    }
    else
    {
      dialog = new AlignmentOptionsDialog(getActiveContext(), original);
    }

    dialog.performEdit();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.