MnemonicStringCollection strings = new MnemonicStringCollection();
strings.markCharactersAsUsed('L'/*ink*/, 'R'/*emove Link*/);
String parentName = getNameForLabel(r.getParentObject());
MnemonicString parentLabel = strings.autoTranslate(parentName);
String childName = getNameForLabel(r.getChildObject());
MnemonicString childLabel = strings.autoTranslate(childName);
lists.setLabels(parentLabel.getRaw(), childLabel.getRaw(), WizardStyleSheet.SMALL_CAPTION_STYLE);
}
private static String getNameForLabel(DatabaseObject table) {
StringLimiter limiter = new StringLimiter(table.getName());