Bug 47208 Generate Javadoc dialog lays out too wide [javadoc]
If one uses a custom doclet and sets the doclet class path to a long path (e.g. with many JAR files on it), the "Generate Javadoc" dialog lays out to try and fit the full doclet class path on the screen; this results in a very wide dialog.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocWizardPage.java
}
	protected void handleFileBrowseButtonPressed(Text text, String[] extensions, String title) {
		FileDialog dialog= new FileDialog(text.getShell());
		dialog.setText(title);
		dialog.setFilterExtensions(extensions);
		String dirName= text.getText();
		if (!dirName.equals("")) { 
			File path= new File(dirName);
			if (path.exists())
				dialog.setFilterPath(dirName);
		}
		String selectedDirectory= dialog.open();
		if (selectedDirectory != null)
			text.setText(selectedDirectory);
	}
	protected String handleFolderBrowseButtonPressed(String text, Shell shell, String title, String message) {
		
		DirectoryDialog dialog= new DirectoryDialog(shell);
		dialog.setFilterPath(text);
		dialog.setText(title);
		dialog.setMessage(message);
		String res= dialog.open();
		if (res != null) {
			File file= new File(res);
			if (file.exists() && file.isDirectory())
				return res;
		}
		return text;
	}
	protected static class EnableSelectionAdapter extends SelectionAdapter {