Change in ovirt-engine[ovirt-engine-3.5]: webadmin: Implement generic sorting for Identifiable columns

tnisan at redhat.com tnisan at redhat.com
Wed Jul 16 13:00:39 UTC 2014


Tal Nisan has submitted this change and it was merged.

Change subject: webadmin: Implement generic sorting for Identifiable columns
......................................................................


webadmin: Implement generic sorting for Identifiable columns

Taking advantage of Identifiable's getValue() method, implemented a
generic comparator to handle classes implementing the interface. Also
applied it to the status columns in the Network/Hosts and Network/VMs
subtabs.

Change-Id: Ia1433e6650f53229bf5e02439b5d26dfb56014c0
Bug-Url: https://bugzilla.redhat.com/1120054
Signed-off-by: Lior Vernia <lvernia at redhat.com>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/Linq.java
M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/tab/network/SubTabNetworkHostView.java
M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/tab/network/SubTabNetworkVmView.java
M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/table/column/HostStatusColumn.java
M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/table/column/VmStatusColumn.java
5 files changed, 59 insertions(+), 4 deletions(-)

Approvals:
  Alexander Wels: Looks good to me, approved
  Lior Vernia: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia1433e6650f53229bf5e02439b5d26dfb56014c0
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Lior Vernia <lvernia at redhat.com>
Gerrit-Reviewer: Alexander Wels <awels at redhat.com>
Gerrit-Reviewer: Lior Vernia <lvernia at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list