ErrorPopup.showMessage( Constants.INSTANCE.UnableToImportIntoThePackage0( event.getResults() ) );
}
LoadingPopup.close();
}
} );
uploadFormPanel.addSubmitHandler( new SubmitHandler() {
public void onSubmit(SubmitEvent event) {
if ( upload.getFilename().length() == 0 ) {
Window.alert( Constants.INSTANCE.YouDidNotChooseADrlFileToImport() );
event.cancel();
} else if ( !upload.getFilename().endsWith( ".drl" ) ) { //NON-NLS