Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Eclipse 4 Application Tutorial available (for Eclipse 4.2 M5)
Eclipse 4 Application Tutorial available (for Eclipse 4.2 M5) [message #786044] Sun, 29 January 2012 18:16 Go to next message
Eclipse UserFriend
Hello,

I have published an Eclipse 4 application tutorial based on Eclipse 4.2 M5.

I hope this helps with developing for Eclipse 4. If you are starting an RCP project, I think it is worth looking at Eclipse 4.

The Eclipse 4 platform is very flexible and using the Eclipse API has been largely simplified IMHO.

Best regards, Lars
Re: Eclipse 4 Application Tutorial available (for Eclipse 4.2 M5) [message #886263 is a reply to message #786044] Thu, 14 June 2012 11:13 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

here some hints doing the mentioned tutorial
- After the first Launch of the Eclipse application from the product definition change the run
configuration to clean the workspace every time the application starts. Otherwise the changes in
Application.e4xmi does NOT have any effect.
- When adding new elements to Application.e4xmi check the automatic generated ID. The ID need to be
unique! There is no error or warning if you use none unique IDs but the behavior of the application
is strange. E.g. chapter "13.2. Adding model elements": if you use the standard IDs for the
PartStack, minimizing and maximizing of the PartStack does not work well.

I am using Eclipse 4.2 RC3.

Martin

Lars Vogel wrote, On 30.01.2012 00:16:
> Hello,
>
> I have published an http://www.vogella.de/articles/Eclipse4RCP/article.html based on Eclipse 4.2 M5.
>
> I hope this helps with developing for Eclipse 4. If you are starting an RCP project, I think it is
> worth looking at Eclipse 4.
> The Eclipse 4 platform is very flexible and using the Eclipse API has been largely simplified IMHO.
>
> Best regards, Lars
Re: Eclipse 4 Application Tutorial available (for Eclipse 4.2 M5) [message #886329 is a reply to message #886263] Thu, 14 June 2012 14:41 Go to previous messageGo to next message
Eclipse UserFriend
@Martin: Both is already described in the next version of the book which will be published approx. 2 weeks after the Eclipse 4.2 release. The Kindle Edition will get an update.

Best regards, Lars
Re: Eclipse 4 Application Tutorial available (for Eclipse 4.2 M5) [message #886400 is a reply to message #886329] Thu, 14 June 2012 17:19 Go to previous messageGo to next message
Eclipse UserFriend
Is the book also as a normal book available?
Re: Eclipse 4 Application Tutorial available (for Eclipse 4.2 M5) [message #886422 is a reply to message #886400] Thu, 14 June 2012 18:26 Go to previous messageGo to next message
Eclipse UserFriend
@Tim: Planned 2-3 weeks after the official Eclipse 4 release.
Re: Eclipse 4 Application Tutorial available (for Eclipse 4.2 M5) [message #886551 is a reply to message #886329] Fri, 15 June 2012 02:52 Go to previous messageGo to next message
Eclipse UserFriend
@Lars: Just read in one of your tutorials about the program argument "-clearPersistedState". I found
this better as cleaning the workspace at start up as this make changes to *.e4xmi available but keep
other workspace settings.

Lars Vogel wrote, On 14.06.2012 20:41:
> @Martin: Both is already described in the next version of the book which will be published approx. 2
> weeks after the Eclipse 4.2 release. The Kindle Edition will get an update.
>
> Best regards, Lars
Re: Eclipse 4 Application Tutorial available (for Eclipse 4.2 M5) [message #886555 is a reply to message #886551] Fri, 15 June 2012 03:05 Go to previous messageGo to next message
Eclipse UserFriend
@Martin - yepp, thats what I also propose in the book as "good" solution. I discuss both and in the exercise suggest to use -clearPersistedState
Re: Eclipse 4 Application Tutorial available (for Eclipse 4.2 M5) [message #886612 is a reply to message #886555] Fri, 15 June 2012 05:29 Go to previous messageGo to next message
Eclipse UserFriend
When editing a fragment.e4xmi file the "Find..." works only if the RCP plugin defines
<property
name="applicationXMI"
value="test.e4.rcp.todo/Application.e4xmi">
</property>
in the plugin.xml file.
It is not necessary to add the property to start the application (is a already fixed bug) but make
live easier when working with fragments.

I guess this is already in the book ;).

Lars Vogel wrote, On 15.06.2012 09:05:
> @Martin - yepp, thats what I also propose in the book as "good" solution. I discuss both and in the
> exercise suggest to use -clearPersistedState
Re: Eclipse 4 Application Tutorial available (for Eclipse 4.2 M5) [message #886615 is a reply to message #886612] Fri, 15 June 2012 05:38 Go to previous messageGo to next message
Eclipse UserFriend
@Martin: Thanks Martin. I never noticed that.

I opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=382717 for tracking this and will add a section to the book.
Re: Eclipse 4 Application Tutorial available (for Eclipse 4.2 M5) [message #886646 is a reply to message #886615] Fri, 15 June 2012 07:05 Go to previous messageGo to next message
Eclipse UserFriend
@ Lars: I did the "Eclipse 4 Modularity - Tutorial" and noticed it when editing the fragment.e4xmi
I use Eclipse 4.2 RC3

Lars Vogel wrote, On 15.06.2012 11:38:
> @Martin: Thanks Martin. I never noticed that.
> I opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=382717 for tracking this and will add a
> section to the book.
Re: Eclipse 4 Application Tutorial available (for Eclipse 4.2 M5) [message #887207 is a reply to message #886646] Sat, 16 June 2012 03:47 Go to previous message
Eclipse UserFriend
@Lars: okay, thanks.
Previous Topic:JFace TreeViewer Connected with PropertiesView
Next Topic:DND between Jface Tree View and GraphicalEditorWithPalette
Goto Forum:
  


Current Time: Wed Jul 02 20:44:48 EDT 2025

Powered by FUDForum. Page generated in 0.48910 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top