/// <summary>
 /// 
 /// </summary>
 /// <param name="node"></param>
 public void RegisterNodeAdditionForUndo(IViewerNode node) {
     var undoAction = new AddNodeUndoAction(graph, viewer, node);
     geomGraphEditor.InsertToListAndSetTheBoxBefore(undoAction);
 }
Beispiel #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);
        }