Sortable columns for the EC2 management views
Brought to you by:
craig_at_aws,
fulghum
Being able to sort the columns in the EC2 management views would be really slick.
bizoaws suggested this on the AWS Developer Tools forum:
http://developer.amazonwebservices.com/connect/thread.jspa?messageID=121814#121814
We released a new build of the plug-in yesterday that has sorting on all columns in the Amazon EC2 Instances view. I checked in some code last night to add sorting to all the columns in the AMI Browser view.
If anyone else is interested in adding sorting to other tables (Security groups, security group permissions, key pairs, elastic ips, EBS volumes, EBS snapshots), it's a pretty easy change. Here's all it took for the AMI Browser view:
http://aws-eclipse.svn.sourceforge.net/viewvc/aws-eclipse?view=rev&revision=18
and I made a small refactoring after that to make it even easier (no need to set the column click listener for each table column since the setComparator method in SelectionTable now does it for you):
http://aws-eclipse.svn.sourceforge.net/viewvc/aws-eclipse?view=rev&revision=19