}
} else if (mapping.getActionId().equals(SeperatorAction.SOAPUI_ACTION_ID)) {
actionGroup.addMapping(SeperatorAction.SOAPUI_ACTION_ID, insertIndex,
SeperatorAction.getDefaultMapping());
} else {
DefaultActionMapping actionMapping = new DefaultActionMapping(mapping.getActionId(),
mapping.getKeyStroke(), mapping.getIconPath(), mapping.getActionId().equals(
groupConfig.getDefault()), mapping.getParam());
actionGroup.addMapping(mapping.getActionId(), insertIndex, actionMapping);
if (mapping.isSetName()) {
actionMapping.setName(mapping.getName());
}
if (mapping.isSetDescription()) {
actionMapping.setDescription(mapping.getDescription());
}
}
} catch (Exception e) {
System.err.println("Error initializing ActionMapping: " + e);
SoapUI.logError(e);