Bug 96771 Generate Delegate Methods method order [source actions]
In the tree viewer: methods should be presented in alphabetical order and not by class/super(s). This is a regression to 3.0.x
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java
public Image getImage(Object element) {
			if (element instanceof IBinding[]) {
				return super.getImage((((IBinding[]) element)[1]));
			} else if (element instanceof IVariableBinding) {
				return super.getImage(element);
			}
			return null;
		}
		public String getText(Object element) {
			if (element instanceof IBinding[]) {
				return super.getText((((IBinding[]) element)[1]));
			} else if (element instanceof IVariableBinding) {
				return super.getText(element);
			}
			return null;
		}
	}
	private static class AddDelegateMethodsViewerSorter extends ViewerSorter {
		public int category(Object element) {
			if (element instanceof IBinding[])
				return 0;
			return 1;
		}