Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2006, Vol. 32 ›› Issue (16): 31-33. doi: 10.3969/j.issn.1000-3428.2006.16.012

• Software Technology and Database • Previous Articles     Next Articles

Research and Implementation of Automatically Generating GEF Graphical Editor

ZHANG Wenyi;YOU Jinyuan   

  1. School of Information Security and Engineering, Shanghai Jiaotong University, Shanghai 200240
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-08-20 Published:2006-08-20

自动生成GEF图形编辑器的研究与实现

张文毅;尤晋元   

  1. 上海交通大学信息安全学院,上海 200240

Abstract: Facing the difficulty and long time consuming in GEF editor development, a kind of software architecture for automatically generating a GEF editor is proposed, which is implemented in the GEF editor generator (GEG) plug-in as a MDA tool. It can generate a full functional graphical editor within Eclipse by following the EMF way to generate code: JET and JMerge, and taking advantage of EMF.edit adapter mechanism. In the system design and implementation, two EMF meta-models are introduced: configuration meta-model and view meta-model.

Key words: EMF, GEF, Configuration meta-model, View meta-model, Application model

摘要: 针对当前GEF编辑器开发难度大、开发周期长的问题,设计了一个能够自动生成GEF图形编辑器的MDA工具GEG的体系结构。它利用EMF的代码自动生成方法JET和JMerge,以及EMF.edit提供的适配器机制,生成了一个完整的基于Eclipse平台的图形编辑器插件。在系统设计和实现过程中,引入了配置元模型和视图元模型。

关键词: EMF, GEF, 配置元模型, 视图元模型, 应用模型

CLC Number: