Change in ovirt-engine[master]: webadmin: Added method AddChild() to SystemTreeItemModel
alkaplan at redhat.com
alkaplan at redhat.com
Tue Jul 9 07:55:39 UTC 2013
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 <lvernia at redhat.com>
---
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 <lvernia at redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkaplan at redhat.com>
Gerrit-Reviewer: Lior Vernia <lvernia at redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the Engine-commits
mailing list