FileDialog dialog= new FileDialog(getShell()); dialog.setText(NewWizardMessages.NativeLibrariesDialog_extfiledialog_text);
DirectoryDialog dialog= new DirectoryDialog(getShell()); dialog.setText(NewWizardMessages.NativeLibrariesDialog_extfiledialog_text);
	private String chooseExternal() {		IPath currPath= new Path(fPathField.getText());		if (currPath.isEmpty()) {			currPath= fEntry.getPath();		} else {			currPath= currPath.removeLastSegments(1);		}			FileDialog dialog= new FileDialog(getShell());		dialog.setText(NewWizardMessages.NativeLibrariesDialog_extfiledialog_text); 		dialog.setFilterPath(currPath.toOSString());		String res= dialog.open();		if (res != null) {			return res;		}		return null;	}