This lesson shows you how to generate and display a report for
the selected model.
Note: When you are generating reports for your own models, and are
not importing transformations, this is ordinarily the point at which you start
the report generation process.
To generate the report:
- Click .
- In the Report Configurations window, right-click BIRT
Report, then click New.
- In the Name field, type Simplified
Report as the name for the new launch configuration.
- Specify the report to use:
- To find the name and location, in the original instance of Eclipse, expand com.ibm.ccl.erf.emf.examples.suml.report,
then expand designs. Right click sampleSUML.rptdesign,
then click Properties. Select the fully qualified location
for the file, right-click, and click Copy.
- In the Report Configurations window, select Location and
paste the name and location of the report design in the field.
This sample report design supports the simplification transformation.
The transformation does not change the underlying model; it affects only the
contents of the report.Note: When you generate your own reports, you can choose
any of the available report designs for your report.
- Specify the data to include in the report.
- Click the entry in the field for Data Sources.
This is the data source that sampleSUML.rptdesign specifies
as the default.
- In the field for Instance Models, select the entry
for Kitchen.emx, then click Remove.
The Kitchen.emx model is the model specified in the data
source. We want to override the default and specify our own model for the
tutorial.
- Click in the field for Instance Models and click Add.
- In the Load Resources window, click Browse
Workspace.
- In the File Selection window, expand mobile
phone sample, click Mobile telephone architecture model.emx,
and click OK.
- Define how to handle the report output:
- In the Format field, select Adobe Reader
(PDF).
- Select the check box for Overwrite existing files without warning.
- Click the Transform tab
and click the check box for UML2 Simplification Transform.
- To generate the report, click Apply and
then Report. The report opens in Adobe Acrobat Reader.
You can now review the reported statistics for the model.
You
can rerun this launch configuration to regenerate this report by clicking , clicking the launch configuration, and clicking Report.