Alona Kaplan has submitted this change and it was merged.

Change subject: webadmin: Added method AddChild() to SystemTreeItemModel
......................................................................


webadmin: Added method AddChild() to SystemTreeItemModel

This method adds a child to a node, and sets the child node's parent
correctly, changed SystemTreeModel code to use this to build the system
tree, and turned the setParent() method to private. This is much more
object-oriented than having developers maintain the proper structure of
the tree themselves.

Previously this change would have broken functionality, but following
patches [Ie4341a4c4e1740c075987e2a57c0844fa72b971e] and
[I79f2e9f18e08b89cdfe84d4657bce1de8f8988bb] it should be okay.

Change-Id: I000cd0513bb725ae77a33cefeeea49fb66e3b7fc
Signed-off-by: Lior Vernia <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/SystemTreeItemModel.java
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/SystemTreeModel.java
2 files changed, 24 insertions(+), 31 deletions(-)

Approvals:
  Alona Kaplan: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I000cd0513bb725ae77a33cefeeea49fb66e3b7fc
Gerrit-PatchSet: 11
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Lior Vernia <[email protected]>
Gerrit-Reviewer: Alona Kaplan <[email protected]>
Gerrit-Reviewer: Lior Vernia <[email protected]>
Gerrit-Reviewer: Vojtech Szocs <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to