registerAccountButton.setText(Messages.CloudFoundryCredentialsPart_TEXT_REGISTER_BUTTON);
registerAccountButton.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent event) {
RegisterAccountWizard wizard = new RegisterAccountWizard(cfServer);
WizardDialog dialog = new WizardDialog(validateComposite.getShell(), wizard);
if (dialog.open() == Window.OK) {
if (wizard.getEmail() != null) {
emailText.setText(wizard.getEmail());
}
if (wizard.getPassword() != null) {
passwordText.setText(wizard.getPassword());