Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 23:16 Go to next message
Lars Vogel is currently offline Lars Vogel
Messages: 1049
Registered: July 2009
Senior Member

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 15:13 Go to previous messageGo to next message
Martin Jacob is currently offline Martin Jacob
Messages: 116
Registered: July 2009
Senior Member
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 18:41 Go to previous messageGo to next message
Lars Vogel is currently offline Lars Vogel
Messages: 1049
Registered: July 2009
Senior Member

@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 21:19 Go to previous messageGo to next message
Timur Achmetow is currently offline Timur Achmetow
Messages: 38
Registered: April 2012
Member
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 22:26 Go to previous messageGo to next message
Lars Vogel is currently offline Lars Vogel
Messages: 1049
Registered: July 2009
Senior Member

@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 06:52 Go to previous messageGo to next message
Martin Jacob is currently offline Martin Jacob
Messages: 116
Registered: July 2009
Senior Member
@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 07:05 Go to previous messageGo to next message
Lars Vogel is currently offline Lars Vogel
Messages: 1049
Registered: July 2009
Senior Member

@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 09:29 Go to previous messageGo to next message
Martin Jacob is currently offline Martin Jacob
Messages: 116
Registered: July 2009
Senior Member
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 09:38 Go to previous messageGo to next message
Lars Vogel is currently offline Lars Vogel
Messages: 1049
Registered: July 2009
Senior Member

@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 11:05 Go to previous messageGo to next message
Martin Jacob is currently offline Martin Jacob
Messages: 116
Registered: July 2009
Senior Member
@ 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 07:47 Go to previous message
Timur Achmetow is currently offline Timur Achmetow
Messages: 38
Registered: April 2012
Member
@Lars: okay, thanks.
Previous Topic:JFace TreeViewer Connected with PropertiesView
Next Topic:DND between Jface Tree View and GraphicalEditorWithPalette
Goto Forum:
  


Current Time: Fri Oct 24 15:46:10 GMT 2014

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

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