* @param changeType the change type
*/
void internalAddChange(String valuePath, String attributeName, int valueIndex, ChangeType changeType) {
m_changeTimer = null;
Entity currentData = Entity.serializeEntity(m_entity);
if (!currentData.equals(m_current.getEntityData())) {
m_undo.push(m_current);
m_current = new Change(currentData, valuePath, attributeName, valueIndex, changeType);
m_redo.clear();
fireStateChange();
}