Пример #1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="node"></param>
 public void RegisterNodeAdditionForUndo(IViewerNode node) {
     var undoAction = new AddNodeUndoAction(graph, viewer, node);
     geomGraphEditor.InsertToListAndSetTheBoxBefore(undoAction);
 }
Пример #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="node"></param>
        public void RegisterNodeAdditionForUndo(IViewerNode node)
        {
            AddNodeUndoAction undoAction = new AddNodeUndoAction(this.graph, this.viewer, node);

            geomGraphEditor.InsertToListAndFixTheBox(undoAction);
        }