*/
public ImportDialog( RepositoryFile repositoryFile ) {
super( Messages.getString( "import" ), Messages.getString( "ok" ), Messages.getString( "cancel" ), false, true ); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
form = new FormPanel();
form.addSubmitHandler( new SubmitHandler() {
@Override
public void onSubmit( SubmitEvent se ) {
// if no file is selected then do not proceed
okButton.setEnabled( false );
cancelButton.setEnabled( false );