memento
Implements undoable command - Java
I\'m currently programming a little text editor (project for school) and I\'m having some troubles finding a good and clean way to manage the undoable commands.[详细]
2023-03-21 05:55 分类:问答WPF : Disable Undo in an editable ComboBox
I have implemented an undo system based on the Memento pattern. I disable the built in Undo on TextBox and was wondering how to do this on a ComboBox. The Combobox I have is editable, so it contains a[详细]
2023-02-04 16:47 分类:问答I need a design pattern to provide undo functionality to my program
I need a design pattern to provide undo functionality to my program. I\'ve already used Memento, but I need another for my 开发者_Go百科coursework.The command pattern is the classic pattern for an und[详细]
2023-01-30 04:35 分类:问答DTO pattern vs Memento pattern
What are the differences between DTO pattern(by Fowler) and Memento pattern(by GoF) in motivation and implementation aspect? Can it be the same classes? If yes, how can I name them (xxxDTO or xxxMemen[详细]
2023-01-22 20:10 分类:问答Comparing two object state,before and after update
first things first. I have the following classes: class Employee { private int employeeID; private string firstName;[详细]
2022-12-18 13:35 分类:问答