if (XCDERegisterProvider.getProvider().getCurrentRegister() == null)
{
MessageDialog.openError(window.getShell(),"No active XCDE Server", "There is currently no active XCDE server, configure a server then try again.");
return;
}
XCDEUserDialog dialog = new XCDEUserDialog(window.getShell());
XCDERegister r = XCDERegisterProvider.getProvider().getCurrentRegister();
r.setUsername(dialog.open(r.getUsername(),r));
}