| Migrate Eclipse RCP application from Eclipse 3.7 to eclipse e4 SDK [message #838012] |
Fri, 06 April 2012 08:38  |
Kuldeep Jain Messages: 6 Registered: December 2011 |
Junior Member |
|
|
I have my Eclipse RCP application created on Eclipse 3.7 . But in order to use Eclipse e4 CSS Styling and for some other reasons, We want to migrate our application to Eclipse e4(4.1.2) version. In doing so, I have tried moving my code to Eclipse e4 4.1.2 and when I run my RCP application now it gets launched but it is showing these unwanted Coolbar/Toolbar items/preference pages which I was hiding through code in my overriden method WorkbenchWindowAdvisor.postWindowCreate(). On some digging into the issue I found out that WorkbenchWindowAdvisor.postWindowCreate() method is not used in e4 and it does not get called at all. So what is the alternative way of doing this in Eclipse e4?
Additionally what all things I need to do and know about migrating from Eclipse 3.7 to eclipse e4? as there could be more such issues in migration.
|
|
|
|
|
|
|
|
| Re: Migrate Eclipse RCP application from Eclipse 3.7 to eclipse e4 SDK [message #843877 is a reply to message #840556] |
Fri, 13 April 2012 09:04   |
Kuldeep Jain Messages: 6 Registered: December 2011 |
Junior Member |
|
|
Hi Tom & Lars,
I tried using a custom Legacy.e4xmi file, but have no clue about how to edit that, neither found any documentation about it. I tried to modify it but still seeing Run and Search menus. Could you please let me know about what to change in Legacy.e4xmi file to remove the menubar all together and some of the toolbar items. I also want to mention that in my RCP application I am having an Xtext plugin, if that makes any difference.
[Updated on: Fri, 13 April 2012 09:05] Report message to a moderator
|
|
|
|
| Re: Migrate Eclipse RCP application from Eclipse 3.7 to eclipse e4 SDK [message #847335 is a reply to message #843895] |
Tue, 17 April 2012 03:55   |
Kuldeep Jain Messages: 6 Registered: December 2011 |
Junior Member |
|
|
hi Lars & Tom,
Thanks for the information. I installed e4 tools on my Eclipse 4.2 and was able to change stuff in Legacy.e4xmi file. But even if I make the menu bar invisible or mark toBeRendered as false, and then first time when I launch the Application, it does not show the Menu bar, which is correct, but when I relaunch it without making any change then it starts showing the Menu bar with Search and Run menu items. And I am unable to figure out from where they are coming from.
Note: I also want to mention that in my RCP application I am having Xtext plugin.
[Updated on: Tue, 17 April 2012 04:06] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02108 seconds