Examples of fireModelLayoutChanged()


Examples of org.pentaho.reporting.engine.classic.core.AbstractReportDefinition.fireModelLayoutChanged()

        final ExpressionCollection expressionCollection = report.getExpressions();
        final int idx = expressionCollection.indexOf(function);
        expressionCollection.set(idx, instance);
        activeContext.getUndo().addChange(ActionMessages.getString("EditRowBandingAction.Text"),
            new ExpressionEditUndoEntry(idx, function, instance));
        report.fireModelLayoutChanged(report, ReportModelEvent.NODE_PROPERTIES_CHANGED, instance);
      }
    }
  }

  private RowBandingFunction findRowbandingFunction(final ReportDocumentContext activeContext)
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.AbstractReportDefinition.fireModelLayoutChanged()

          {
            final AbstractReportDefinition abstractReportDefinition = activeContext.getReportDefinition();
            for (int i = 0; i < elements.length; i++)
            {
              final Expression expression = elements[i];
              abstractReportDefinition.fireModelLayoutChanged
                  (abstractReportDefinition, ReportModelEvent.NODE_PROPERTIES_CHANGED, expression);
            }
          }
          fireTableDataChanged();
        }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.AbstractReportDefinition.fireModelLayoutChanged()

        final ExpressionCollection expressionCollection = report.getExpressions();
        final int idx = expressionCollection.indexOf(function);
        expressionCollection.set(idx, instance);
        activeContext.getUndo().addChange(ActionMessages.getString("EditRowBandingAction.Text"),
            new ExpressionEditUndoEntry(idx, function, instance));
        report.fireModelLayoutChanged(report, ReportModelEvent.NODE_PROPERTIES_CHANGED, instance);
      }
    }
  }

  private RowBandingFunction findRowbandingFunction(final ReportRenderContext activeContext)
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.AbstractReportDefinition.fireModelLayoutChanged()

          {
            final AbstractReportDefinition abstractReportDefinition = activeContext.getReportDefinition();
            for (int i = 0; i < elements.length; i++)
            {
              final Expression expression = elements[i];
              abstractReportDefinition.fireModelLayoutChanged
                  (abstractReportDefinition, ReportModelEvent.NODE_PROPERTIES_CHANGED, expression);
            }
          }
          fireTableDataChanged();
        }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.MasterReport.fireModelLayoutChanged()


    if (dialog.editResources())
    {
      final MasterReport masterReportElement = activeContext.getContextRoot();
      masterReportElement.fireModelLayoutChanged
          (masterReportElement, ReportModelEvent.NODE_PROPERTIES_CHANGED, masterReportElement.getBundle());
    }
  }
}
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.MasterReport.fireModelLayoutChanged()


    if (dialog.editResources())
    {
      final MasterReport masterReportElement = activeContext.getMasterReportElement();
      masterReportElement.fireModelLayoutChanged
          (masterReportElement, ReportModelEvent.NODE_PROPERTIES_CHANGED, masterReportElement.getBundle());
    }
  }
}
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.