Community
Participate
Working Groups
spin-off bug 220110 comment 18 : Wolfgang Schell 2009-01-06 08:25:45 -0400 Is there a way to sort the services? As the service interfaces are returned as an array, the default ViewerComparator might compare them by Object.equals(), which probably is not the desired effect. How about sorting by the first class/interface name? I'll attach a patch which changes the ViewerComparator in RegistryBrowser, and implements Comparable in ServicesFolder and ServiceRegistration.
Created attachment 121647 [details] pde-runtime-sorting-1.patch This patch provides sorting for services based on the first class or interface (and everything else that is Comparable). This is also required for sorting of service properties (bug #260060).
oh I was going to update your patch for my changes, but you were faster :-) good work!
done. > 20090106 Thanks Wolfgang!