Eclipse GEF框架中命令模式的应用研究  被引量:4

Application Studies on Command Pattern of Eclipse GEF

在线阅读下载全文

作  者:刘绪斌[1] 王良[1] 闫有朋[2] 

机构地区:[1]山东大学信息工程学院,山东威海264209 [2]积成电子股份有限公司,山东济南250100

出  处:《计算机技术与发展》2010年第8期100-103,127,共5页Computer Technology and Development

摘  要:为了加快复杂面向对象图形编辑系统的开发速度,解决传统开发方法效率低、可重用性不强和部分功能难以实现的缺点,介绍开源项目Eclipse中的图形化编辑框架(GEF),并对该框架中的命令(Command)设计模式进行详细的研究。由于该框架是基于各种设计模式组合而成,可重用性非常好,并且是典型的MVC框架,因此,通过研究GEF中的命令模式,可以很容易地实现具有撤消/重做等功能的图形化编辑器系统。最后通过快速设计基于GEF框架的编辑器软件,加深了对基于MVC+Command模式系统开发的了解。In order to speed up the development of object-oriented graphic-editor system and solve the questions of low efficiency,lacking reusability and realizing difficult functions,a graphical editor framework which belongs to Eclipse,an open source project,is introduced.And the command pattern of this framework will be studied in detail.This framework is made up of many design patterns.And it is a typical and well reusable MVC framework.So it becomes very easy to finish an editor system with undo/redo functions.In the end,system developing based on MVC+Command pattern is well understood after quickly accomplishing a GEF editor software.

关 键 词:GEF COMMAND模式 MVC 设计模式 

分 类 号:TP31[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象