Community
Participate
Working Groups
1. Create a new RCP application plugin with the RCP Mail Example 2. Add the applicationXMI property to the 'product' extension: <property name="applicationXMI" value="org.eclipse.platform/LegacyIDE.e4xmi"> </property> 3. Create a launch configuration (add 'ds', 'event' and 'platform' manually, then 'Add Required') 4. Launch the RCP Example Result: No views. Quick access in the toolbar. Should the 4.0 compatibility platform work for RCP applications?
(In reply to comment #0) > Should the 4.0 compatibility platform work for RCP applications? We have put zero effort into the handling of advisors so I'm not sure how it's going to fly. Though it sounds like it doesn't fly at all. Also see bug 317912.
Created attachment 174574 [details] Patch The problem is two lines in the perspective factory (class Perspective): folder.addPlaceholder(View.ID + ":*"); ... layout.getViewLayout(NavigationView.ID).setCloseable(false); 1. Adding a placeholder for a wildcard ID doesn't work. 2. Method getViewLayout(...) returns null. See patch for a workaround for (1) and a possible solution for (2).
From a cursory glance at the patch, looks like something we could do for RC3.
Created attachment 174842 [details] Perspective handling patch v2 To get the RCP mail example to run, I also had to make some changes to the workbench and perspective code. Not sure why Stefan was able to get it up without this problem though.
Remy, you are right. The patch worked, but I had to open the perspective manually. Thanks for fixing the missing part.
+1 on the "Perspective handling patch v2" With the patch RCP mail demo runs with some hickups: - The RCP Mail app has "Quick Access" control in its toolbar - Min/max looks different from 3.x verison - Drag&Drop message view results in NPE if I drag a message view on the tree view I also needed to add the org.eclipse.e4.ui.workbench.addons.swt bundle in addition to the bundles listed in the comment 0, but that is part of the bug 317912 (or even more general Wizards update).
Adding Boris for review.
+1 for patch v2
Patch "Perspective handling patch v2" applied to CVS Head. Thanks Stefan and Remy! The bug 317912 will remain open for the rest of the items.
(In reply to comment #6) > - Drag&Drop message view results in NPE if I drag a message view on the tree > view Sounds like we should probably open a bug about this if it's still reproducible with the code from HEAD? :o
(In reply to comment #6) > - The RCP Mail app has "Quick Access" control in its toolbar Opened bug 320744 > - Drag&Drop message view results in NPE if I drag a message view on the tree > view Opened bug 320743 Also, the bug 317912 comment 6 contains current steps needed to make RCP Mail demo work on e4.
I did the steps in comment #0 but it's still failing for me in I20100726-2152.
Did you add org.eclipse.e4.ui.workbench.addons.swt and its required plugins?