Object[] columns = order.getColumns(table);
return new KongaListModel(columns);
}
private void setListLabels(ConnectedLists lists, TableRelationship r) {
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);
}