基于反射的Command模式实现Undo/Redo  被引量:2

Implementation of Undo/Redo based on reflectional Command patterns

在线阅读下载全文

作  者:张兴亮[1] 

机构地区:[1]成都电子机械高等专科学校,成都610031

出  处:《计算机应用》2010年第A01期233-234,共2页journal of Computer Applications

摘  要:针对经典Command模式在实现Undo/Redo功能时的两个缺陷,提出了基于反射的Command模式实现Undo/Redo的设计思路和实现方法,给出了该方法的数据模型,说明了事务处理的过程。Aiming at overcoming two defects of typical Command patten when implementing functions of Undo/Redo, this paper presented the design and implementation of Undo/Redo based on reflectional Command pattern. The data model was offered and the transaction process was illustrated.

关 键 词:反射 COMMAND模式 设计模式 UNDO/REDO 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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