res[i]= ((IPackageFragment) fragments[i]).getElementName() + "*";
res[i]= ((IPackageFragment) fragments[i]).getElementName() + ".*";
	private String[] choosePackage() {		IJavaSearchScope scope= SearchEngine.createWorkspaceScope();		BusyIndicatorRunnableContext context= new BusyIndicatorRunnableContext();		int flags= PackageSelectionDialog.F_SHOW_PARENTS | PackageSelectionDialog.F_HIDE_DEFAULT_PACKAGE | PackageSelectionDialog.F_REMOVE_DUPLICATES;		PackageSelectionDialog dialog = new PackageSelectionDialog(getShell(), context, flags , scope);		dialog.setTitle(PreferencesMessages.getString("TypeFilterPreferencePage.choosepackage.label")); //$NON-NLS-1$		dialog.setMessage(PreferencesMessages.getString("TypeFilterPreferencePage.choosepackage.description")); //$NON-NLS-1$		dialog.setMultipleSelection(true);		if (dialog.open() == IDialogConstants.OK_ID) {			Object[] fragments= dialog.getResult();			String[] res= new String[fragments.length];			for (int i= 0; i < res.length; i++) {				res[i]= ((IPackageFragment) fragments[i]).getElementName() + "*"; //$NON-NLS-1$			}			return res;		}		return null;	}