model.addOrRemoveParent(newValue, id, true);
model.bytesUsed -= (oldValue == null ? "null" : oldValue.toJsonString()).length();
model.bytesUsed += (newValue == null ? "null" : newValue.toJsonString()).length();
}
});
ValuesSetEvent event =
new ValuesSetEventImpl(event(sessionId, userId).set("index", index).set("oldValues",
oldObjects).set("newValues", newObjects));
fireEvent(event);
}