{{tag>model driven}} ====== Model Driven Development ====== * http://www.vogella.com/tutorials/EclipseEMF/article.html * http://eclipsesource.com/blogs/tutorials/emf-tutorial/ * http://www.eclipsezone.com/eclipse/forums/t116012.html * book: Model-Driven Software Engineering in Practice * Model Driven Engineering and Ontology Development ====== Headline ====== A Typical EMF Usage Scenario 1. Create EMF model Import UML (e.g. Rational Rose .mdl file) Import XML Schema Import annotated Java interfaces Create Ecore model directly using EMF Ecore editor or Omondo’s (free) EclipseUML graphical editor 2. Generate Java code for model 3. Iteratively develop Java application 4. Refine model; regenerate Java code 5. Prime the model with instance data using generated EMF model editor 6. Use EMF.Edit to build customized user interface ====== Eclipse Mars ====== * EMF Modelling: * http://www.vogella.com/tutorials/EclipseEMF/article.html#intro * http://eclipsesource.com/blogs/tutorials/emf-tutorial/ * Eclipse plugin development: http://www.vogella.com/tutorials/EclipsePlugIn/article.html * All resources: http://www.vogella.com/tutorials/eclipse.html ===== Beginer's Problems ===== ==== Model Explorer ==== Open viewpoint: viewpoint (Design), graphical editing only visible in Model Explorer (show view). It is not visible in Package Explorer (Working Set view). ==== Activating Plugin under dev ==== Method 1: export and copy plugin in dev env. Method 2: live activation Methd 3: start new eclipse instance.