There seems to be a number of features that eclipse has that we need to make available in our RCP application. One such feature that many like to have in their RCP application is the eclipse’s default workspace launcher.This mainly applies to those RCP applications that has a project stuff nature. One point or other I also wanted the same mechanism to work in my rcp application. After all if eclipse can do that..my application should also do that. So i started exploring the eclipse code. What I could find was most of these goodies are present inside org.eclipse.ui.ide.application plugin which I dont need in my rcp application.

But there is an alternative. I can copy the interesting functions from the ‘IDEApplication.java’ to my RCP application’s ‘Application.java’. And the results “BINGO” I got what I need.

You can find the full source to my Application.java from here. Please back up ur existing Application.java file as it will be easy to revert changes if anything goes wrong.

Hope this helps some one. Please leave comments/Suggestions/Queries

HTH,

Anoop Menon

Contact us today for your Custom ERP/Software/mobile/web app development needs!

Talk to our experts now

    Talk To Our Experts Now