Bug 38569 Override/Implement Methods dialog should expand first element in viewer.
The treeviewer in the Override/Implement dialog isn't automatically revelaing the first element in the list, but it should to be consistent with other dialogs.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java
}
			}	
			else
				return new StatusInfo(IStatus.ERROR, ""); 
				
			return state;
		}			
	}
	
	private static ISelectionStatusValidator createValidator(int entries) {
		AddDelegateMethodsActionStatusValidator validator= new AddDelegateMethodsActionStatusValidator(entries);
		return validator;
	}
	
	private void showUI(IType type, IField[] preselected) {
		try {
			AddDelegateMethodsContentProvider provider = new AddDelegateMethodsContentProvider(type);
			Methods2FieldLabelProvider methodLabel = new Methods2FieldLabelProvider();
			SourceActionDialog dialog = new SourceActionDialog(getShell(), methodLabel, provider, fEditor, type);			
			dialog.setValidator(createValidator(provider.getNumEntries()));
			dialog.setSorter(new Methods2FieldSorter());
			dialog.setInput(provider);
			dialog.setContainerMode(true);
			dialog.setMessage(ActionMessages.getString("AddDelegateMethodsAction.message")); 
			dialog.setTitle(ActionMessages.getString("AddDelegateMethodsAction.title")); 
			dialog.setExpandedElements(preselected);
			dialog.setSize(60, 18);
			int result = dialog.open();
			if (result == Window.OK) {
				Object[] o = dialog.getResult();