for (final MapObjectType type : MapObjectType.values())
if (_profile.defines(type)) {
final PaletteDrawer g = _groups.get(type.getGroup());
final ImageDescriptor ico = EditUIPlugin.getImageDescriptor("/icons/" //$NON-NLS-1$
+ _profile.getIcon(type) + ".png"); //$NON-NLS-1$
final ObjectCreationFactory fac = new ObjectCreationFactory(type);
final PaletteEntry entry = new CombinedTemplateCreationEntry(type.name(), "", fac, //$NON-NLS-1$
fac, ico, ico);
g.add(entry);
}
return drawers;