Ejemplo n.º 1
0
        public SimpleUndoPair RemoveUnknownParameter(UnknownParameter p)
        {
            int index = m_parameters.IndexOf(p);

            return(new SimpleUndoPair
            {
                Redo = () => { m_parameters.Remove(p); },
                Undo = () => { m_parameters.Insert(index, p); },
            });
        }
Ejemplo n.º 2
0
 public SimpleUndoPair RemoveUnknownParameter(UnknownParameter p)
 {
     throw new NotImplementedException(); //TODO: Can this happen?
 }
Ejemplo n.º 3
0
 public SimpleUndoPair RemoveUnknownParameter(UnknownParameter p)
 {
     throw new NotSupportedException("Editing of unknown editables is not supported. Please recover the definition of the node type or delete the node");
 }