try {
for (IConfigurationElement e : config) {
final Object o = e.createExecutableExtension("class");
if (o instanceof ThemePreferenceMapper) {
String pluginId = e.getAttribute("pluginId");
ThemePreferenceMapper mapper = (ThemePreferenceMapper) o;
mapper.setPluginId(pluginId);
if (o instanceof GenericMapper) {
String xml = e.getAttribute("xml");
String contributorPluginId = e.getContributor()
.getName();
Bundle bundle = Platform.getBundle(contributorPluginId);