Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 214749 - BIRT Trace Report does not appear in the Trace Report wizard.
Summary: BIRT Trace Report does not appear in the Trace Report wizard.
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Eugene Chan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 214746
Blocks: 210576
  Show dependency tree
 
Reported: 2008-01-09 09:32 EST by Paul Slauenwhite CLA
Modified: 2016-05-05 11:09 EDT (History)
2 users (show)

See Also:


Attachments
Profiler project. (15.03 KB, application/zip)
2008-01-09 09:35 EST, Paul Slauenwhite CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Slauenwhite CLA 2008-01-09 09:32:52 EST
BIRT Trace Report does not appear in the Trace Report wizard.

Using the TPTP-4.5.0-200712211700 build and the enclosed profile, the BIRT Trace Report does not appear in the Trace Report wizard (see http://help.eclipse.org/help33/topic/org.eclipse.tptp.trace.report.birt.doc.user/tasks/treportmon.xhtml).

After debugging, it appears that this report generator (org.eclipse.tptp.trace.report.birt.ui.internal.BIRTTraceReportWizard) is expecting that the selection is a TRCMonitor/TRCNode/TRCProcessProxy/TRCAgentProxy/INavigatorItem, but the actual selection is an org.eclipse.hyades.trace.views.adapter.internal.MemoryStatisticViewer.  Both the org.eclipse.tptp.trace.report.birt.ui.internal.BIRTTraceReportWizard.isAvailable(ISelection)  and org.eclipse.tptp.trace.report.birt.ui.internal.BIRTTraceReportWizard.export(Object) will need updates.

Interesting, there are other report types (org.eclipse.hyades.trace.ui.internal.reports.XMLTraceReportWizard.java and org.eclipse.hyades.trace.ui.internal.reports.CSVTraceReportWizard.java) are subclassed from org.eclipse.hyades.trace.ui.internal.reports.HTMLTraceReportWizard which have the same problem (RCMonitor/TRCNode/TRCProcessProxy/TRCAgentProxy/INavigatorItem versus MemoryStatisticViewer) so they do not appear in the Trace Report wizard.

Note: Once 214746 is completed, this defect should change component owners.
Comment 1 Paul Slauenwhite CLA 2008-01-09 09:35:07 EST
Created attachment 86468 [details]
Profiler project.
Comment 2 Eugene Chan CLA 2008-03-13 16:22:41 EDT
Trace BIRT report was designed and implemented for selection in Profiling Monitor view. Hence, the org.eclipse.tptp.trace.report.birt.ui.internal.BIRTTraceReportWizard.isAvailable(ISelection) method is verifying TRCObject selection from Profiling Monitor view and not Statistics View classes.

The XML, HTML and CVS reports work okay in the latest TPTP CVS base.
Comment 3 Paul Slauenwhite CLA 2008-06-10 09:13:02 EDT
Closing.