private static void processUndoAction(AdaptationPrimitive action, NodeType nodeInstance)
 {
     var primitive = nodeInstance.getPrimitive(action);
     primitive.Undo();
 }
 public ICommand getPrimitive(AdaptationPrimitive primitive)
 {
     return (_node as NodeType).getPrimitive(primitive);
 }
 private static bool processAction(AdaptationPrimitive action, NodeType nodeInstance)
 {
     var primitive = nodeInstance.getPrimitive(action);
     return primitive.Execute();
 }