Are there any good working e4 example? [message #1708088] |
Sat, 12 September 2015 13:41 |
Daniel Z. Messages: 3 Registered: September 2015 |
Junior Member |
|
|
Hi guys,
I'd like to start with e4, development on one of my personal projects, and I've read a lot of the example blog posts like Vogella and others, but they almost completely talk about parts and dependency injection but, barely touch anything concerning application model and its contexts. There is a lot of theory out there but no extensive example at least none that I could find.
I've tried to clone stuff from https://wiki.eclipse.org/E4/UI/Running_CSS_demos but it has many errors and none of the applications start and menus mentioned by the author are not there,
What I'm looking for is a good example with as many e4 aspects implemented as possible, and not for an application with one part, menu and a button.
regards,
Daniel
|
|
|
|
|
|
|
Re: Are there any good working e4 example? [message #1708745 is a reply to message #1708742] |
Sat, 19 September 2015 21:09 |
Joe Van Steen Messages: 25 Registered: March 2015 |
Junior Member |
|
|
The Vogella book is the Third Edition and covers Eclipse 4.4, it is an upgrade from the 2nd Edition version which I read and suggested earlier. My version was Eclipse 4.3. The book is a book format collection of the information in the Vogella tutorials. The tutorials are more up to date, but the book puts the full set of tutorials together as a package. I believe he is developing a made up application through the lessons in the book, although I did not build it. I used it as a reference which I found very useful when looking for detail 'how to' material. It is also focused on SWT. I have since moved on to JavaFX with Efxclipse. However, learning e4 with SWT was helpful for me just to understand the application model, which sounds like something you are searching for.
Some things you are asking (external libraries) I don't think are any different in e4 development than in other non-e4 development. Other things (initialization) are. You need to actually build a small e4 app and see how the infrastructure does things for you based on your application model specifications. Vogella should be able to help you with that, but the tutorials are free, you do not need the whole book for that.
Part of the trouble with Vogella in my mind is that he jsu does stuff and doesn't always explain why. So it isn't always easy to extrapolate out to your own problem set.
If you want a quick small e4 sample application you might want to try https://www.packtpub.com/application-development/instant-eclipse-4-rcp-development-how-instant from Packt. It is available as ebook or hard copy. I found it useful to get a quick simple application up and running which could then be experimented with. If you use this book I advise caution. Some of the techniques suggested by the author involving playing with context features will not port to FX and, according to experts, are contrary to recommended practice. However, as a quick 'get started' study, I found it helpful to learn programming against the e4 application model.
|
|
|
Powered by
FUDForum. Page generated in 0.06473 seconds