Examples of AbstractReportDefinition


Examples of org.pentaho.reporting.engine.classic.core.AbstractReportDefinition

    this.id = id;
  }

  public void undo(final ReportDocumentContext context)
  {
    final AbstractReportDefinition abstractReportDefinition = context.getReportDefinition();
    final Band band = (Band) ModelUtility.findElementById(abstractReportDefinition, id);
    final LinealModel linealModel = ModelUtility.getVerticalLinealModel(band);
    linealModel.removeGuideLine(guideLine);
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.AbstractReportDefinition

    linealModel.removeGuideLine(guideLine);
  }

  public void redo(final ReportDocumentContext context)
  {
    final AbstractReportDefinition abstractReportDefinition = context.getReportDefinition();
    final Band band = (Band) ModelUtility.findElementById(abstractReportDefinition, id);
    final LinealModel linealModel = ModelUtility.getVerticalLinealModel(band);
    linealModel.addGuidLine(guideLine);
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.AbstractReportDefinition

    this.id = id;
  }

  public void undo(final ReportDocumentContext context)
  {
    final AbstractReportDefinition abstractReportDefinition = context.getReportDefinition();
    final Band band = (Band) ModelUtility.findElementById(abstractReportDefinition, id);
    final LinealModel linealModel = ModelUtility.getVerticalLinealModel(band);
    linealModel.addGuidLine(guideLine);
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.AbstractReportDefinition

    linealModel.addGuidLine(guideLine);
  }

  public void redo(final ReportDocumentContext context)
  {
    final AbstractReportDefinition abstractReportDefinition = context.getReportDefinition();
    final Band band = (Band) ModelUtility.findElementById(abstractReportDefinition, id);
    final LinealModel linealModel = ModelUtility.getVerticalLinealModel(band);
    linealModel.removeGuideLine(guideLine);
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.AbstractReportDefinition

        final Object o = utility.getProperty(metaData.getName());
        final String[] elements = metaData.getReferencedElements(expression, o);
        for (int j = 0; j < elements.length; j++)
        {
          final String element = elements[j];
          final AbstractReportDefinition reportDefinition = reportRenderContext.getReportDefinition();
          final ReportElement e =
              FunctionUtilities.findElementByAttribute(reportDefinition, AttributeNames.Core.NAMESPACE,
                  AttributeNames.Core.NAME, element);
          if (e == null)
          {
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.AbstractReportDefinition

  public void inspect(final ReportDesignerContext designerContext,
                      final ReportDocumentContext reportRenderContext,
                      final InspectionResultListener resultHandler) throws ReportDataFactoryException
  {
    super.inspect(designerContext, reportRenderContext, resultHandler);
    final AbstractReportDefinition definition = reportRenderContext.getReportDefinition();
    final String query = definition.getQuery();
    if (query == null)
    {
      final AttributeLocationInfo queryLocation = new AttributeLocationInfo
          (definition, AttributeNames.Internal.NAMESPACE, AttributeNames.Internal.QUERY, false);
      resultHandler.notifyInspectionResult
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.AbstractReportDefinition

    }

    public void layoutChanged(final ReportRenderEvent event)
    {
      final RootBandRenderingModel renderingModel = getRenderingModel();
      final AbstractReportDefinition report = getReport();
      final HorizontalPositionsModel horizontalPositionsModel = getHorizontalPositionsModel();
      final ElementRenderer[] allRenderers = renderingModel.getAllRenderers();
      final long age = report.getChangeTracker();

      boolean change = false;
      synchronized (horizontalPositionsModel)
      {
        // update the horizontal positions ...
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.AbstractReportDefinition

      this.newRootGroup = newRootGroup.derive(true);
    }

    public void undo(final ReportDocumentContext renderContext)
    {
      final AbstractReportDefinition report = renderContext.getReportDefinition();
      report.setRootGroup(oldRootGroup.derive(true));
    }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.AbstractReportDefinition

      report.setRootGroup(oldRootGroup.derive(true));
    }

    public void redo(final ReportDocumentContext renderContext)
    {
      final AbstractReportDefinition report = renderContext.getReportDefinition();
      report.setRootGroup(newRootGroup.derive(true));
    }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.AbstractReportDefinition

      final Object value = element.getAttribute(metaData.getNameSpace(), metaData.getName());
      final String[] groups = metaData.getReferencedGroups(element, value);
      for (int j = 0; j < groups.length; j++)
      {
        final String group = groups[j];
        final AbstractReportDefinition reportDefinition = reportRenderContext.getReportDefinition();
        final ReportElement e = reportDefinition.getGroupByName(group);
        if (e == null)
        {
          resultHandler.notifyInspectionResult(new InspectionResult(this, InspectionResult.Severity.WARNING,
              Messages.getString("InvalidGroupReferenceInspection.AttributeInvalidGroup",
                  element.getName(), group, metaData.getDisplayName(Locale.getDefault())),
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.