dialog.setTitle(NewWizardMessages.getString("ContainerPage.ChooseSourceContainerDialog.title")); dialog.setMessage(NewWizardMessages.getString("ContainerPage.ChooseSourceContainerDialog.description"));
dialog.setTitle("Title"); dialog.setMessage("Message");
	public void testElementTreeSelectionDialog() throws Exception {		IJavaProject jproject= JavaProjectHelper.createJavaProject(PROJECT_NAME, "bin");		JavaProjectHelper.addSourceContainer(jproject, "src1");		Object initSelection= JavaProjectHelper.addSourceContainer(jproject, "src2");		IJavaProject jproject2= JavaProjectHelper.createJavaProject("Project2", "bin");		JavaProjectHelper.addSourceContainer(jproject2, "src1");		JavaProjectHelper.addSourceContainer(jproject2, "src2");		StandardJavaElementContentProvider provider= new StandardJavaElementContentProvider();		ILabelProvider labelProvider= new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_DEFAULT); 		ElementTreeSelectionDialog dialog= new ElementTreeSelectionDialog(getShell(), labelProvider, provider);		dialog.setSorter(new JavaElementSorter());		dialog.setTitle(NewWizardMessages.getString("ContainerPage.ChooseSourceContainerDialog.title")); //$NON-NLS-1$		dialog.setMessage(NewWizardMessages.getString("ContainerPage.ChooseSourceContainerDialog.description")); //$NON-NLS-1$				dialog.setInput(jproject.getJavaModel());		dialog.setInitialSelection(initSelection);				DialogCheck.assertDialog(dialog);				JavaProjectHelper.delete(jproject);			JavaProjectHelper.delete(jproject2);	}