{
public void run(IAction action)
{
if (XCDERegisterProvider.getProvider().getCurrentRegister() == null)
{
new XCDEServerSelectDialog(Display.getCurrent().getActiveShell()).openDialog();
if (XCDERegisterProvider.getProvider().getCurrentRegister() == null)
{
MessageDialog.openError(Display.getCurrent().getActiveShell(),
"XCDE Link Error",
"No XCDE server was selected, please select a server to link to. Link aborted!");