command
});
int commandID = claHICommand.getField("commandID").getInt(command);
switch (commandID) {
case kHICommandPreferences: {
UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
if (uiFunctions != null) {
uiFunctions.openView(UIFunctions.VIEW_CONFIG, null);
}
return noErr;
}
case kHICommandAbout:
AboutWindow.show();
return noErr;
case kHICommandRestart: {
UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
if (uiFunctions != null) {
uiFunctions.dispose(true, false);
}
return noErr;
}
case kHICommandWizard:
new ConfigureWizard(false,ConfigureWizard.WIZARD_MODE_FULL);
return noErr;
case kHICommandNatTest:
new NatTestWindow();
return noErr;
case kHICommandSpeedTest:
new SpeedTestWizard();
return noErr;
case kAEQuitApplication:
UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
if (uiFunctions != null) {
uiFunctions.dispose(false, false);
return noErr;
} else {
UIExitUtilsSWT.setSkipCloseCheck(true);
}
default: