} catch (CmsConfigurationException e) {
LOG.error("Could not add ResourceCollector", e);
}
// Add the widgets
CmsXmlContentTypeManager man = OpenCms.getXmlContentTypeManager();
if (man.getWidget(CustomValuesSelectWidget.class.getName()) == null) {
man.addWidget(CustomValuesSelectWidget.class.getName(), CustomValuesSelectWidget.class.getSimpleName());
// OpenCms.writeConfiguration(CmsVfsConfiguration.class);
}
// This adds the friendly property-editor, to allow the use of
// user-friendly property dialogs for templates with the