for(int i=0;i<extensions.length;i++){
IConfigurationElement[] elements = extensions[i].getConfigurationElements();
for (int j = 0; j < elements.length; j++) {
if ("contributer".equals(elements[j].getName())) {
String group = elements[j].getAttribute("name");
IPaletteContributer contributer = (IPaletteContributer) elements[j].createExecutableExtension("class");
palette.put(group,contributer);
}
}
}
} catch(Exception ex){