Vojtech Szocs has posted comments on this change.

Change subject: webadmin: dc->logical network add/new design
......................................................................


Patch Set 12:

Regarding the table redraw() issue that Gilad mentioned some comments ago: it's 
not a technical, but more of a design issue. EntityModelCellTable is an Editor 
of ListModel objects -> it works with ListModel's EntityModel items. We always 
try to handle model <-> UI updates through the Editor framework, calling 
edit(model) to update UI from model, and calling flush() to get updated model 
from UI.

For this reason, instead of working with table data directly via 
getVisibleItems() and calling redraw(), we should flush() the table to get 
up-to-date ListModel, modify its items, and then call edit(model) to 
update/refresh the table.

--
To view, visit http://gerrit.ovirt.org/5095
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I2c31ce6a9b6907cab04c5f3041808945fb40885b
Gerrit-PatchSet: 12
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alona Kaplan <[email protected]>
Gerrit-Reviewer: Alona Kaplan <[email protected]>
Gerrit-Reviewer: Einav Cohen <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Livnat Peer <[email protected]>
Gerrit-Reviewer: Vojtech Szocs <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to