-
Schuhbaeck, Stefan authored
With previous version only add and remove from the json view are mirrored to the table view. If the same amount of array items exist after the update (i.e. ((List)obj).size() == array.size()) the notification listener did not reach the FieldNodes (i.e. Integer or Double Spinner) for some reason.The ArrayNode only had JAttributeTable and ChildObjectCellEditor class as valueChangeListener. Neither of these classes called an update on the array element editors. Since the adding/removing works via the updateValues() method in ArrayNodes I refactored the method to always remove all 'old' values and add all 'new' values. This will work vor all three cases: add/remove/edit.
5acb4b9b