摘要
Eclipse是一个基于Java的可扩展开发平台,它本身是由一个框架和一组服务组成,用于通过插件组件的形式构建开发环境。富客户端平台RCP是位于Eclipse平台核心的功能,它可以视为基于OSGi构建插件系统的最佳实践指导,同时可重用Eclipse中已存在的方法和编码模式。图形化的模型框架GMF是一个Eclipse建模项目的子项目,其目标是为Eclipse建模框架EMF和图形化编辑框架GEF提供一个统一的桥梁,从而为代码工具的生成奠定了良好的基础。而EMF是Eclipse MDA的一个重要组成部分,通过它可以将模型转换成高效正确和易于定制的Java代码。在此结合Eclipse平台、RCP工程及、等相关技术,研究分析了智能代码生成框架的设计过程。
Eclipse is a Java-based extensible development platform.It is composed of a framework and a set of services that are used to construct development environment via plug-ins and components.The rich client platform(RCP)is the core of the Eclipse platform,which can be regarded as the best practice guideline for building a plug-in system based on open service gateway initiative(OSGI),and can reuse the methods and coding mode existing in Eclipse platform.The graphical model frame work(GMF)provides a uniform bridge for the Eclipse modeling framework(EMF)and graphical editing frame-work(GEF)to lay a good foundation for code generating tools.EMF is an important part of the Eclipse MDA,with which the model can be converted into a correct Java code.Based on the Eclipse platform,RCP project,GMF,EMF and other related technologies,the design process of intelligent code generating framework is researched and analyzed in this paper.
出处
《现代电子技术》
2013年第18期55-58,共4页
Modern Electronics Technique
基金
国家"十二五"科技支撑计划(2012BAF1102
2012BAF1101
2012BAF1103)