provider.addAll(Arrays.asList(configurationElements));
int priority = 0;
for (IConfigurationElement e : provider)
{
try {
StatusMessageProvider statusMessageProvider = (StatusMessageProvider) e
.createExecutableExtension("class");
int newpriority = statusMessageProvider.canRender(modelElement);
if (newpriority > priority) {
priority = newpriority;
this.statusMessageProvider = statusMessageProvider;
}
} catch (CoreException e1) {