DirectoryDialog directoryDialog = new DirectoryDialog(DesignerPlugin.getShell());
directoryDialog.setText("Ext GWT Location");
directoryDialog.setMessage("Choose folder with extracted Ext GWT, it should have gxt.jar file.\n"
+ "You can download it from http://www.extjs.com/products/gxt/");
directoryDialog.setFilterPath(libraryLocation);
libraryLocation = directoryDialog.open();
// cancel
if (libraryLocation == null) {
return null;
}
// check for "gxt.jar" file