Bug 381958 - RCP application unable to hide BIRT views using Activities
Summary: RCP application unable to hide BIRT views using Activities
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Birt-ReportEngine-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-07 04:19 EDT by Timothy Vogel CLA
Modified: 2012-09-05 05:10 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Vogel CLA 2012-06-07 04:19:27 EDT
Build Identifier: BIRT 3.7.1.v20110905

RCP Application that uses the BIRT report engine to produce reports can not hide BIRT views on the org.eclipse.ui.views.showView menu using activities. 

Reproducible: Always

Steps to Reproduce:
1. Create a target that includes Eclipse RCP Feature and BIRT features
2. Create new RCP project based on mail RCP sample
3. Add menu extension to plugin.xml 
4. Add menu command with a commandID of org.eclipse.ui.views.showView
5. Add products extension to plugin.xml and configure with a product named rcpMail
6. Create an RCP Feature project that has all the required RCP, BIRT plugins plus the rcpmail plugin created in step #2
7. Add a product configuration based on features that includes the feature, product and application just created
8. Run the program and ensure the Outline and BIRT Designer views appear on the show view menu command
9. Add activites extension to the rcpmail project's plugin.xml
10. Add an activity named hideView
11. Add an activityPatternBinding that refers to the hideView activity, pattern of "org.eclipse.birt.report.designer.ui.views/org.eclipse.birt.report.designer.ui.views.data.DataView" (without quotes) and set isEqualityPattern to true.
12. Add an activityPatternBinding that refers to the hideView activity, pattern of "org.eclipse.ui.views/org.eclipse.ui.views.ContentOutline" (without quotes) and set isEqualityPattern to true.
13. Re-run the application from the rcpMail product page link to ensure all is synchronized
14. Open view menu
15. Content Outline view is hidden
16. DataView is still visible
Comment 1 Xiaoying Gu CLA 2012-09-05 05:10:22 EDT
Could you please attach your rcp project