当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: The Eclipse Modeling Framework (
 

 

 ·jdj international advisory panel @ jdj    »显示摘要«
    摘要: welcome to the first-ever session of jdjs international advisory panel. this is where we look into the crystal ball and turn to the industry gurus to determine where java is heading. weve been t......
    摘要:"semantic web" is getting closer and closer, says tim berners-lee "tim berners-lees invention perfectly encapsulates the spirit of the prize. the web is encouraging new types of social networks, con......


Eclipse Modeling Framework @ JDJ
上一页   ... model is called the ecore model. the ecore model contains structural requirements for the implementation of the editor.

second, we need to configure the code-generation options. these options are stored in a model called the genmodel. the genmodel decorates the ecore model with information specific to the solution domain (in our case java and eclipse). the third step is to generate the code. this step uses the ecore model and the genmodel to generate the implementation for the editor plugins.

the generated code can now be tested. it is feature complete, but a rather naive implementation of an editor. in most cases, a developer has to take over the implementation of sections of the generated code. emf has a feature that allows the developer to flag the code he/she wants to enhance.

after the code has been generated, a developer typically starts an iterative process where various discrepancies are fixed. the discrepancies can be separated into three categories: errors in the business model: requires update to the ecore model suboptimal configuration of the code generation options: requires changes to the genmodel requirements for a more sophisticated implementation than that generated: requires that the developer takes control of sections of the generated code and modifies the code. emf has excellent support for this iterative development process, allowing the developers to fix and regenerate.

creating the models

lets illustrate the various stages and artifacts in emf by creating a simpl
...   下一页
 ·the past through tomorrow @ jdj    »显示摘要«
    摘要: its not often you get to write an end-of-the-millennium column (once every thousand years, last time i checked). i thought that a little reminiscing about the past few years might be in order, foll......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE