private void sortByLocation() {
fVMList.setComparator(new ViewerComparator() {
@Override
public int compare(Viewer viewer, Object e1, Object e2) {
if ((e1 instanceof IBootInstall) && (e2 instanceof IBootInstall)) {
IBootInstall left = (IBootInstall) e1;
IBootInstall right = (IBootInstall) e2;
return left.getUrl().compareToIgnoreCase(right.getUrl());
}
return super.compare(viewer, e1, e2);
}
@Override