|Re: Using Eclipse for Java EE and RCP development [message #1783949 is a reply to message #1783861]
||Tue, 20 March 2018 15:54
|| Dilton McGowan II
Registered: July 2009
RCP apps can be made using the PDE (Plug-in Development Environment). Use the File menu to create a new Plug-in Project.|
On the second wizard page I suggest checking to create an Activator and down below that check RCP (Rich Client Platform). It's also a good idea to enable API Analysis.
On the third page of the wizard, you could choose a template to have more boilerplate to get started, perhaps the Editor template, or no template.
Complete the wizard and you can launch your new RCP application immediately to test it if you want. You could even export it and test it by starting it from Explorer or Nautilus or the CLI.
From here, you "contribute" to your new RCP app, adding Views, Menus, Toolbar elements if you wish or even new Perspectives to contain your Views.
Edit: You might wonder how Eclipse "knows" what your target platform will be? Windows > Preferences > Plug-in Development > Target Platform is where you can set it. You can find various platform profiles for RCP, to target Linux, Mac, etc. You'd download that one(s) you want to target and add them then select the one(s) to build for. It's a little more complicated for the building of the targets and there are plenty of resources online.
Edit 2: For cross-platform, I'd refer to the preferred instructions below, it seems this has changed some since I last did RCP apps:
Edit 3: To answer one of your questions, I usually use one Eclipse installation but depending on the complexity of what I'm working on I have at times had more than one for each major type of work. I also don't use the Eclipse installer, I find it works more clearly for me to use the Package Download and pick what I want.
[Updated on: Tue, 20 March 2018 17:15]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03742 seconds