dialog.setTitle(NewWizardMessages.getString("TypePage.ChoosePackageDialog.title")); dialog.setMessage(NewWizardMessages.getString("TypePage.ChoosePackageDialog.description")); dialog.setEmptyListMessage(NewWizardMessages.getString("TypePage.ChoosePackageDialog.empty"));
dialog.setTitle("Title"); dialog.setMessage("Message"); dialog.setEmptyListMessage("empty list");
	public void testElementListSelectionDialog() throws Exception {		IJavaProject jproject= JavaProjectHelper.createJavaProject(PROJECT_NAME, "bin");		IPackageFragmentRoot root=  JavaProjectHelper.addRTJar(jproject);		assertTrue(root != null);		Object[] elements= root.getChildren();		ElementListSelectionDialog dialog= new ElementListSelectionDialog(getShell(), new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_DEFAULT));		dialog.setIgnoreCase(false);		dialog.setTitle(NewWizardMessages.getString("TypePage.ChoosePackageDialog.title")); //$NON-NLS-1$		dialog.setMessage(NewWizardMessages.getString("TypePage.ChoosePackageDialog.description")); //$NON-NLS-1$		dialog.setEmptyListMessage(NewWizardMessages.getString("TypePage.ChoosePackageDialog.empty")); //$NON-NLS-1$				dialog.setElements(elements);				DialogCheck.assertDialog(dialog);				JavaProjectHelper.delete(jproject);		}