dialog.setElements(openChoices);
	private IJavaElement chooseFromList(List openChoices) {		ILabelProvider labelProvider= new JavaElementLabelProvider(			  JavaElementLabelProvider.SHOW_DEFAULT 			| JavaElementLabelProvider.SHOW_CONTAINER_QUALIFICATION);		ElementListSelectionDialog dialog= new ElementListSelectionDialog(JavaPlugin.getActiveWorkbenchShell(), labelProvider);		dialog.setTitle(SearchMessages.getString("SearchElementSelectionDialog.title")); //$NON-NLS-1$		dialog.setMessage(SearchMessages.getString("SearchElementSelectionDialog.message")); //$NON-NLS-1$		if (dialog.open() == dialog.OK)			return (IJavaElement)Arrays.asList(dialog.getResult()).get(0);		return null;	}