Creating an Eclipse RCP application

Eclipse comes up with a great feature using the Rich Client Platform( RCP) to build applications that can match native applications that is build on any other platform.If you haven’t read about Extension Points , I would recommend to read that before continuing. On the project that you have created, right click and select Product configuration as show below.

Creating an Eclipse RCP Application
Creating an Eclipse RCP Application

You can name the file as Test and select “Create a configuration file with basis settings”

Product Configuration - Eclipse RCP Application

 

It will automatically come as Test.product as below.

Package for creating an Eclipse RCP Application

Once it’s created, double click the Test.prodcut.

On the Overview pane, you can enter the name as TryTest. ID is optional and you don’t need to enter. The window will have the name displayed .iF you wish to change the name , it can be done in ApplicationWorkbenchWindowAdvisor , there is a method preWindowOpen() using the configurer.setTitle(“New title”);)

In the Product Definition part, enter the values as shown below.

Product definition in creating an Eclipse RCP Application

Click Finish and go to the Dependencies tab.Here you need to add the application plugins and then click  “Add Required Plug-ins” to add all  the dependent plug-ins to your product and then Save

You can have a xxx.bmp file to show on the screen when the product is launching.

You can select the progress bar and message as shown below

 

In the Launching tab, name it as ‘Testapplication’

Once you have done that go to the Overview tab and click on ‘Launch an Eclipse application’. If you get the below screen, great job, you got your first EclipseRCP application.

Launch an Eclipse RCP Application

Sometimes you will face some errors and mostly it will be of not adding enough plug-in if so go to Dependencies tab and click ’Add Required Plug-ins’