public void Apply() { bool b = _host.DisableUndo; _host.DisableUndo = true; _editor.ReloadActions((BranchList)_actions.Clone()); _host.DisableUndo = b; }
public UndoActionGroupState(IUndoHost host, IMethodDiagram editor, BranchList actions) { _actions = (BranchList)actions.Clone(); _host = host; _editor = editor; }