dialog.setText(NewWizardMessages.getString("LibrariesWorkbookPage.ExtJARArchiveDialog.edit.title"));
dialog.setText(NewWizardMessages.getString("BuildPathDialogAccess.ExtJARArchiveDialog.edit.title"));
	public static IPath configureExternalJAREntry(Shell shell, IPath initialEntry) {		if (initialEntry == null) {			throw new IllegalArgumentException();		}				String lastUsedPath= initialEntry.removeLastSegments(1).toOSString();				FileDialog dialog= new FileDialog(shell, SWT.SINGLE);		dialog.setText(NewWizardMessages.getString("LibrariesWorkbookPage.ExtJARArchiveDialog.edit.title")); //$NON-NLS-1$		dialog.setFilterExtensions(ArchiveFileFilter.FILTER_EXTENSIONS);		dialog.setFilterPath(lastUsedPath);		dialog.setFileName(initialEntry.lastSegment());				String res= dialog.open();		if (res == null) {			return null;		}		String fileNames= dialog.getFileName();			IPath filterPath= new Path(dialog.getFilterPath());		JavaPlugin.getDefault().getDialogSettings().put(IUIConstants.DIALOGSTORE_LASTEXTJAR, filterPath.toOSString());		return filterPath.append(fileNames).makeAbsolute();		}