Examples of performEdit()


Examples of org.pentaho.reporting.designer.core.actions.report.EditQueryAction.performEdit()

          if (selection instanceof DataFactory)
          {
            final EditQueryAction action = new EditQueryAction();
            action.setReportDesignerContext(getReportDesignerContext());
            action.performEdit((DataFactory) selection, null);
            return;
          }

          if (selection instanceof ReportQueryNode)
          {
View Full Code Here

Examples of org.pentaho.reporting.designer.core.actions.report.EditQueryAction.performEdit()

            {
              return;
            }
            final EditQueryAction action = new EditQueryAction();
            action.setReportDesignerContext(getReportDesignerContext());
            action.performEdit(queryNode.getDataFactory(), queryNode.getQueryName());
            e.consume();
          }
        }
        catch (ReportDataFactoryException e1)
        {
View Full Code Here

Examples of org.pentaho.reporting.designer.core.actions.report.EditQueryAction.performEdit()

          }
          if (selection instanceof DataFactory)
          {
            final EditQueryAction action = new EditQueryAction();
            action.setReportDesignerContext(getReportDesignerContext());
            action.performEdit((DataFactory) selection, null);
            return;
          }
          if (selection instanceof ReportQueryNode == false)
          {
            return;
View Full Code Here

Examples of org.pentaho.reporting.designer.core.actions.report.EditQueryAction.performEdit()

          {
            return;
          }
          final EditQueryAction action = new EditQueryAction();
          action.setReportDesignerContext(getReportDesignerContext());
          action.performEdit(theQuery.getDataFactory(), theQuery.getQueryName());
        }
        catch (ReportDataFactoryException e1)
        {
          UncaughtExceptionsModel.getInstance().addException(e1);
        }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.editor.ConfigurationEditorDialog.performEdit()

    final HierarchicalConfiguration config =
        (HierarchicalConfiguration) activeContext.getContextRoot().getReportConfiguration();
    final HashMap oldConfig = copyConfig(config);

    if (dialog.performEdit(config))
    {
      final HashMap newConfig = copyConfig(config);
      activeContext.getUndo().addChange(ActionMessages.getString("EditReportConfigurationAction.Text"),
          new EditReportConfigUndoEntry(oldConfig, newConfig));
      activeContext.getContextRoot().notifyNodeStructureChanged();
View Full Code Here

Examples of org.pentaho.reporting.designer.core.editor.ConfigurationEditorDialog.performEdit()

    dialog.pack();
    final HierarchicalConfiguration config =
        (HierarchicalConfiguration) activeContext.getMasterReportElement().getReportConfiguration();
    final HashMap oldConfig = copyConfig(config);

    if (dialog.performEdit(config))
    {
      final HashMap newConfig = copyConfig(config);
      activeContext.getUndo().addChange(ActionMessages.getString("EditReportConfigurationAction.Text"),
          new EditReportConfigUndoEntry(oldConfig, newConfig));
      activeContext.getMasterReportElement().notifyNodeStructureChanged();
View Full Code Here

Examples of org.pentaho.reporting.designer.core.editor.drilldown.HyperlinkEditorDialog.performEdit()

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

    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.ConditionalVisibilityDialog.performEdit()

      dialog = new ConditionalVisibilityDialog();
    }

    final Expression oldExpression = visualElements.get(0).getStyleExpression(ElementStyleKeys.VISIBLE);
    dialog.setReportDesignerContext(getReportDesignerContext());
    final Expression expression = dialog.performEdit(oldExpression);
    if (expression != null)
    {
      visualElements.get(0).setStyleExpression(ElementStyleKeys.VISIBLE, expression.getInstance());
    }
  }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.editor.format.ConditionalVisibilityDialog.performEdit()

      dialog = new ConditionalVisibilityDialog();
    }

    final Expression oldExpression = visualElements[0].getStyleExpression(ElementStyleKeys.VISIBLE);
    dialog.setReportDesignerContext(getReportDesignerContext());
    final Expression expression = dialog.performEdit(oldExpression);
    if (expression != null)
    {
      visualElements[0].setStyleExpression(ElementStyleKeys.VISIBLE, expression.getInstance());
    }
  }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.editor.format.ElementFormatDialog.performEdit()

    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
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.