Incorporated tip from
http://java.dzone.com/articles/make-your-xtext-based-editor