150 likes | 248 Views
Dag Viggo Lokøen and Øyvind Bech Supervisor: Yngve Lamo Osterøy 2010. A model editor for DPF. Motivation. UML. Industry standard in modeling Needs external constraint language (OCL). Current state of art. Editors all the way down ( today ). Eclipse Modeling Framework. Ecore :
E N D
Dag Viggo Lokøen and Øyvind Bech Supervisor: Yngve Lamo Osterøy 2010 A model editor for DPF
UML • Industry standard in modeling • Needsexternalconstraintlanguage (OCL)
Eclipse Modeling Framework • Ecore: • main part of EMF • an implementation of the OMG MOF standard • "industry standard" (Rational Rose / IBM) • Generates code with rich feature set • User-definable code generation rules
Eclipse / EMF demo • EMF’s implementation of MOF/MDA • What is .ecore? • What is .ecore_diagram? • What is .genmodel?
Example: Semipoker • Eclipse plug-in • Simple card and deck model • Movie
Diagrammatic Predicate Framework • Based on Generalized Sketches • Boxes and arrows, configurable appearance and semantics through signatures (no tacked-on constraint language) • Old-time editor (Sketcher 95)
The Future™ • Problems with existing solutions • Sketcher 95 • Sketcher .Net • SSK/GMF solution • Goal of project • Functional editor for DPF • Use model transformations in editor generation