Button browseButton = new Button( Messages.getString( "select" ) );
browseButton.addClickHandler( new ClickHandler() {
public void onClick( ClickEvent event ) {
final SelectFolderDialog selectFolder = new SelectFolderDialog();
selectFolder.setCallback( new IDialogCallback() {
public void okPressed() {
scheduleLocationTextBox.setText( selectFolder.getSelectedPath() );
}
public void cancelPressed() {
}
} );
selectFolder.center();
}
} );
browseButton.setStyleName( "pentaho-button" );
ChangeHandler ch = new ChangeHandler() {