Examples of ElementFormatDialog


Examples of org.pentaho.reporting.designer.core.editor.format.ElementFormatDialog

    putValue(Action.ACCELERATOR_KEY, ActionMessages.getOptionalKeyStroke("EditBorderStyleAction.Accelerator"));
  }

  protected ElementFormatDialog createDialog(final Window window)
  {
    final ElementFormatDialog elementFormatDialog = super.createDialog(window);
    elementFormatDialog.setActivePane(ElementFormatDialog.BORDERS_PANE);
    return elementFormatDialog;
  }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.editor.format.ElementFormatDialog

    putValue(Action.ACCELERATOR_KEY, ActionMessages.getOptionalKeyStroke("EditColorsStyleAction.Accelerator"));
  }

  protected ElementFormatDialog createDialog(final Window window)
  {
    final ElementFormatDialog elementFormatDialog = super.createDialog(window);
    elementFormatDialog.setActivePane(ElementFormatDialog.COLOR_PANE);
    return elementFormatDialog;
  }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.editor.format.ElementFormatDialog

      styleExpressions = visualElements.get(0).getStyleExpressions();
    }

    final Component parent = getReportDesignerContext().getView().getParent();
    final Window window = LibSwingUtil.getWindowAncestor(parent);
    final ElementFormatDialog dialog = createDialog(window);
    final ElementFormatUndoEntry.EditResult result =
        dialog.performEdit(getReportDesignerContext(), styleSheet, styleExpressions);
    if (result == null)
    {
      return;
    }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.editor.format.ElementFormatDialog

    getActiveContext().getUndo().addChange(ActionMessages.getString("ElementFormatAction.UndoName"), undoEntry);
  }

  protected ElementFormatDialog createDialog(final Window window)
  {
    final ElementFormatDialog dialog;
    if (window instanceof JDialog)
    {
      dialog = new ElementFormatDialog((JDialog) window);
    }
    else if (window instanceof JFrame)
    {
      dialog = new ElementFormatDialog((JFrame) window);
    }
    else
    {
      dialog = new ElementFormatDialog();
    }
    return dialog;
  }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.editor.format.ElementFormatDialog

    putValue(Action.ACCELERATOR_KEY, ActionMessages.getOptionalKeyStroke("EditParagraphStyleAction.Accelerator"));
  }

  protected ElementFormatDialog createDialog(final Window window)
  {
    final ElementFormatDialog elementFormatDialog = super.createDialog(window);
    elementFormatDialog.setActivePane(ElementFormatDialog.PARAGRAPH_PANE);
    return elementFormatDialog;
  }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.editor.format.ElementFormatDialog

    putValue(Action.ACCELERATOR_KEY, ActionMessages.getOptionalKeyStroke("EditParagraphStyleAction.Accelerator"));
  }

  protected ElementFormatDialog createDialog(final Window window)
  {
    final ElementFormatDialog elementFormatDialog = super.createDialog(window);
    elementFormatDialog.setActivePane(ElementFormatDialog.PARAGRAPH_PANE);
    return elementFormatDialog;
  }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.editor.format.ElementFormatDialog

    putValue(Action.ACCELERATOR_KEY, ActionMessages.getOptionalKeyStroke("EditColorsStyleAction.Accelerator"));
  }

  protected ElementFormatDialog createDialog(final Window window)
  {
    final ElementFormatDialog elementFormatDialog = super.createDialog(window);
    elementFormatDialog.setActivePane(ElementFormatDialog.COLOR_PANE);
    return elementFormatDialog;
  }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.editor.format.ElementFormatDialog

    putValue(Action.ACCELERATOR_KEY, ActionMessages.getOptionalKeyStroke("EditBorderStyleAction.Accelerator"));
  }

  protected ElementFormatDialog createDialog(final Window window)
  {
    final ElementFormatDialog elementFormatDialog = super.createDialog(window);
    elementFormatDialog.setActivePane(ElementFormatDialog.BORDERS_PANE);
    return elementFormatDialog;
  }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.editor.format.ElementFormatDialog

      styleExpressions = visualElements[0].getStyleExpressions();
    }

    final Component parent = getReportDesignerContext().getParent();
    final Window window = SwingUtil.getWindowAncestor(parent);
    final ElementFormatDialog dialog = createDialog(window);
    final ElementFormatUndoEntry.EditResult result =
        dialog.performEdit(getReportDesignerContext(), styleSheet, styleExpressions);
    if (result == null)
    {
      return;
    }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.editor.format.ElementFormatDialog

    return styleSheet;
  }

  protected ElementFormatDialog createDialog(final Window window)
  {
    final ElementFormatDialog dialog;
    if (window instanceof JDialog)
    {
      dialog = new ElementFormatDialog((JDialog) window);
    }
    else if (window instanceof JFrame)
    {
      dialog = new ElementFormatDialog((JFrame) window);
    }
    else
    {
      dialog = new ElementFormatDialog();
    }
    LibSwingUtil.centerDialogInParent(dialog);
    return dialog;
  }
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.