Sample code from my talk @ Eclipse Con NA 2014 titled EMF.Edit: a Story of Adapters (https://www.eclipsecon.org/na2014/session/emfedit-story-adapters)