The "One Laptop Per Child" project has a great device ready to ship, but there's no Java on there. Let's think about working together to put Java on OLPC!
The Rich Client Tutorial was one of the first articles I wrote about Eclipse. When I started it, there was little or no documentation or examples concerning RCP, and limited tooling support. Luckily the situation has improved quite a bit since then, so the tutorials have undergone a couple revisions. I'm happy to announce that I just finished (finally!) a big update to all 3 parts. You can find them here:
Part 1 was simplified to make the product plug-in based instead of feature-based. Several people were having problems getting feature-based products working and I wanted it to be as simple as possible.
Part 2 is largely unchanged except for minor tweaks.
Part 3 was completely rewritten since it has not been updated for 3.1.0 (sorry it took so long). It now explores the RCP Mail template.
All three parts have their source code in zip files. Or you can follow along in the steps to create the same thing yourself.
I don't see an update being necessary for 3.2 because the Platform is pretty stable. Please report any problems, omissions, or suggestions through one of the above bugzilla entries. Enjoy!
I'm looking to port our application to the Eclipse Framework and have seen many great articles on the visual part of RCP (including your own). That is, setting up views, perspectives, menu bars etc. What I haven't seen though, is detailed information on extension points, the mechanism for feeding these components data. We have various types of data being displayed: streaming data from sensors, positional information of various items (updated via intervalled calls to our own web service). Also, many of the panels are contextually related - that is, if you select an item in a table, it will hightlight the corresponing map element.
Do you know of any books or articles that would be a starting point for the data feeding/connecting aspect of an application?
-Ken
Ken Orr
Java User Interface Designer/Developer
The MathWorks
You may like the "Contributing to Eclipse" book by Gamma and Beck; it goes into a lot of the architecture and philosophy behind Eclipse. Also this article:
"Contributing to Eclipse" looks like a great book...thanks for the suggestion. I've been looking for good documentaiton on the Eclipse architecture. The article you suggested was also very helpful.
Thanks,
-Ken
Ken Orr
Java User Interface Designer/Developer
The MathWorks
Hi Ed,
Thanks for your RCP tutorials and the recent updates. I'm in the mist of building an RCP app to administer an RBAC security subsystem. I was wondering about unit testing an RCP app. I assume it is basically the same as testing a plugin, but when I tried creating a test plugin it did not seem to work very well. Any tips would be much appreciated. Thx, - Jon
I haven't tried it but I'd expect it to work the same way as testing a plug-in. A quick search didn't turn up any reported problems doing this but this post might be of interest:
How to integrate two separate plugin in Eclipse RCP application
Hello,
Making a RCP Application which includes two seperate plugins.I want the output with clubbing both these two plug-ins.
I followed the following steps.
1) created 2 diff plug-ins and exported them as JARs.
2) in the perspective.java file I have created 2 different layouts(for 2 differnt views).
3) In the about layouts I tried to get the plugins.
4) tried to change the plugin.xml file
5) trying to run a New RCP Application by including these Plug-ins(JARs),and i dont see the my required output.
6) the main application and the 2 separate plug-in has different
perspective.
My question is
what are the changes I need to make in the plugin.xml of the
main RCP application and also in separate plugin application, to
get my required output.
Eclipse RCP tutorials updated
URL: Eclipse Corner articles
At 3:38 PM on Feb 6, 2006, Ed Burnette
wrote:
Part 1 ( report problems )
Part 2 ( report problems )
Part 3 ( report problems )
Here's a summary of the changes:
Part 1 was simplified to make the product plug-in based instead of feature-based. Several people were having problems getting feature-based products working and I wanted it to be as simple as possible.
Part 2 is largely unchanged except for minor tweaks.
Part 3 was completely rewritten since it has not been updated for 3.1.0 (sorry it took so long). It now explores the RCP Mail template.
All three parts have their source code in zip files. Or you can follow along in the steps to create the same thing yourself.
I don't see an update being necessary for 3.2 because the Platform is pretty stable. Please report any problems, omissions, or suggestions through one of the above bugzilla entries. Enjoy!
8 replies so far (
Post your own)
Re: Eclipse RCP tutorials updated
Great set of articles Ed!I'm looking to port our application to the Eclipse Framework and have seen many great articles on the visual part of RCP (including your own). That is, setting up views, perspectives, menu bars etc. What I haven't seen though, is detailed information on extension points, the mechanism for feeding these components data. We have various types of data being displayed: streaming data from sensors, positional information of various items (updated via intervalled calls to our own web service). Also, many of the panels are contextually related - that is, if you select an item in a table, it will hightlight the corresponing map element.
Do you know of any books or articles that would be a starting point for the data feeding/connecting aspect of an application?
-Ken
Re: Eclipse RCP tutorials updated
Nice one Ed!Alex.
Re: Eclipse RCP tutorials updated
You may like the "Contributing to Eclipse" book by Gamma and Beck; it goes into a lot of the architecture and philosophy behind Eclipse. Also this article:Make your Eclipse applications richer with view linking
Author, Google Web Toolkit, Eclipse IDE Pocket Guide, Eclipse in Action
ZDNet blogger, Dev Connection; former Top Eclipse Ambassador.
Re: Eclipse RCP tutorials updated
"Contributing to Eclipse" looks like a great book...thanks for the suggestion. I've been looking for good documentaiton on the Eclipse architecture. The article you suggested was also very helpful.Thanks,
-Ken
Re: Eclipse RCP tutorials updated
Hi Ed,Thanks for your RCP tutorials and the recent updates. I'm in the mist of building an RCP app to administer an RBAC security subsystem. I was wondering about unit testing an RCP app. I assume it is basically the same as testing a plugin, but when I tried creating a test plugin it did not seem to work very well. Any tips would be much appreciated. Thx, - Jon
Re: Eclipse RCP tutorials updated
I haven't tried it but I'd expect it to work the same way as testing a plug-in. A quick search didn't turn up any reported problems doing this but this post might be of interest:http://dev.eclipse.org/mhonarc/lists/pde-ui-dev/msg00193.html
Author, Google Web Toolkit, Eclipse IDE Pocket Guide, Eclipse in Action
ZDNet blogger, Dev Connection; former Top Eclipse Ambassador.
How to integrate two separate plugin in Eclipse RCP application
Hello,Making a RCP Application which includes two seperate plugins.I want the output with clubbing both these two plug-ins.
I followed the following steps.
1) created 2 diff plug-ins and exported them as JARs.
2) in the perspective.java file I have created 2 different layouts(for 2 differnt views).
3) In the about layouts I tried to get the plugins.
4) tried to change the plugin.xml file
5) trying to run a New RCP Application by including these Plug-ins(JARs),and i dont see the my required output.
6) the main application and the 2 separate plug-in has different
perspective.
My question is
what are the changes I need to make in the plugin.xml of the
main RCP application and also in separate plugin application, to
get my required output.
please, please help me out to achieve this...
Thanks in advance,
Re: Eclipse RCP tutorials updated
i think this one is more elaborated then yours but still not perfecthttp://www.vogella.de/articles/RichClientPlatform/article.html#editor_s1a