EMF.EDIT: A STORY OF ADAPTERS
Sample code from my talk @ Eclipse Con NA 2014 titled "EMF.Edit: a Story of Adapters". Each tag corresponds to a demo done during the talk.
Slides of this talk are available:
- Dowload PDF or from slideshare (you must be logged in
So you need to build a Java application for desktop, mobile or web? You already know that EMF could be helpful in many ways because it handles the burden of writing the data classes (entities) and provides RESTful serialization of those data? Yeah, that is perfectly correct. But how does it help you with changing, or editing, your data? What is the point behind the so-called EMF.Edit framework?
During this talk, you will learn how to build the foundations for a rich client application in any widget toolkit (SWT, JavaFX...). Among other things you will learn how to customize the generated EMF editor without messing up with the generated classes. You will learn how the content and label providers are working under the hood to help create your own beautiful, robust and maintainable applications. By the end of this talk you will finally untangle the gordian knot between Adapters, ItemProvider, AdapterFactory, ItemProviderAdapterFactory, AdapterFactoryLabelProvider, AdapterFactoryContentProvider, etc.
This talk is dedicated to EMF rookies who know EMF as a generator of JavaBeans on Steroids and want to know more about the steroids themselves (the Adapter framework, the ItemProvider framework and the amazing helper classes around those two).
Note: This talk is a follow-up of the talk "EMF.Edit: The Force Unleashed" which has been given at Eclipse Con North America 2013 (ranked in the top 10 of the best sessions) and at Eclipse Con Europe 2013 in an updated version. You can find the slides of these talks on slideshare.