snapshot.insert(index + idx, value);
model.addOrRemoveParent(value, id, true);
model.bytesUsed += (value == null ? "null" : value.toJsonString()).length();
}
});
ValuesAddedEvent event =
new ValuesAddedEventImpl(event(sessionId, userId).set("index", index).set("values", objects));
fireEvent(event);
}