示例#1
0
    private void ClearAllHistory()
    {
        _multiSelectSystem.ClearMultiSelect();

        HistoryListManagement.CurrentHistory(_history)
        .ClearAllHistory();
    }
示例#2
0
 private void CheckListsAndRemove(IBranch branchToClose)
 {
     if (_multiSelectSystem.MultiSelectActive)
     {
         _multiSelectSystem.RemoveFromMultiSelect(_history, branchToClose.LastSelected);
         branchToClose.LastSelected.DeactivateNode();
     }
     else
     {
         HistoryListManagement.CurrentHistory(_history)
         .ClearGOUIBranchFromHistory(branchToClose.LastSelected);
     }
 }
示例#3
0
 private void CloseNodesAfterDisabledNode(IDisabledNode args)
 {
     HistoryListManagement.CurrentHistory(_history)
     .CloseToThisPoint(args.ThisIsTheDisabledNode)
     .Run();
 }