// a more natural assignment of mnemonics within each group.
// For the non-wizard items we reserve 'C' for "Connect".
EntityTypeMnemonics normalItemsMnemonics = new EntityTypeMnemonics(nonWizardTypes(), 'C');
EntityTypeMnemonics wizardItemsMnemonics = new EntityTypeMnemonics(wizardTypes());
for (EntityType type : types()) {
EntityIcons icons = EntityIcons.forType(type);
String actionID = InterchangeActionFactory.getNewEntityFactory(type).getId();
EntityTypeMnemonics mnemonics = type.isWizardType() ? wizardItemsMnemonics : normalItemsMnemonics;
names.put(actionID, new NewEntityActionName(type, mnemonics));
smallIcons.put(actionID, icons.getIcon(Category.VALID, Size.SMALL));
mediumIcons.put(actionID, icons.getIcon(Category.VALID, Size.MEDIUM));
largeIcons.put(actionID, icons.getIcon(Category.VALID, Size.LARGE));
}
}