try {
groups = Simantics.getSession().syncRequest(new ComponentSwitchGroupQuery(resource));
} catch (DatabaseException e) {
- LOGGER.error("Retrieval of switch groups failed.", e);
+ LOGGER.error("Retrieval of switch groups failed.", e); //$NON-NLS-1$
return;
}
if(label == null) {
label = graph.getPossibleRelatedValue(group, L0.HasName);
if(label == null)
- label = "Alternative types";
+ label = Messages.SwitchComponentTypeContribution_AlternativeTypes;
}
groupObj = new SwitchGroup(label);
}