Eclipse Plugins RCP GEF
 
 
Eclipse Modeling Framework (EMF)
 
Duration:   1 day Level:  Advanced Format:   50% lab
 
Description:
EMF is a modeling framework and code generation facility for building tools and other applications based on a structured data model. From a model specification described in XMI, EMF provides tools and runtime support to produce a set of Java classes for the model, a set of adapter classes that enable viewing and command-based editing of the model, and a basic editor. Models can be specified using annotated Java, XML documents, or modeling tools like Rational Rose, then imported into EMF. Most important of all, EMF provides the foundation for interoperability with other EMF-based tools and applications.
 
Topics:
1 Eclipse Modeling Framework (EMF)
2 Eclipse Modeling Framework – Customize Code Generation
 
Contents:
1 Eclipse Modeling Framework (EMF) – Introduction (Include lab)
 
  • Understand Eclipse Modeling Framework (EMF)
  • The ecore model
  • The Generator Model
  • Generating EMF Model from Annotated Java Code
  • Generate Model implementation code
  • Generate model.edit and model.editor plug-ins
   
2 EMF – Customize Code Generation (Include lab)
 
  • Learn techniques to customize code generation in EMF
  • Understand GenModel properties
  • Edit GenModel properties to customize code generation
  • EMF.Edit framework overview
  • Modify presentation behavior
  • EMF Reflective API overview
  • Create model instance using Reflective API
  • Serialize model in XMI format
  • Introduction to JET
  • Use of JET in EMF
   
Hands-on Labs:
1 ExEMF-Model: Generating EMF Model
2 ExEMF-CustomizeCoding: Customizing and manipulating the Model
   
Prerequisites:
Understanding of basic eclipse concepts
Ability to create and deploy simple plug-ins
Prerequisites can be satisfied by taking Eclipse University Course: Developing Eclipse Plugins
   
Audience:
Tool developers, tool vendors, and consultants who need to build their own plugins for Eclipse-based tools.