摘要
该文从设计模式角度研究了由笔者自行开发设计的电力图形编辑系统(iSee3.0)中的Undo/Redo功能的设计,通过两种典型设计模式-Command模式和Composite模式相结合,简洁而高效地实现了电力图形编辑系统中的Undo/Redo功能,这充分说明了设计模式在用于面向对象软件设计时所能产生的巨大作用和意义。
This paper describes the methods of how to design″Undo /Redo″in a design-pattern-based computer electri-cal graphic editing system.It implements the function of″Undo /Redo″in computer electrical graphic system concisely and efficiently by means of two typical design patterns:Command and Composite,which shows the success and impor-tance of the function of design patterns in object-oriented software design.
出处
《计算机工程与应用》
CSCD
北大核心
2003年第11期126-128,137,共4页
Computer Engineering and Applications