.getExtensionPointList(LayerInterceptor.EXTENSION_ID);
for (IConfigurationElement element : list) {
if (element.getName().equals(LayerInterceptor.CREATED_ID)) {
String attribute = element.getAttribute("name"); //$NON-NLS-1$
try {
LayerInterceptor interceptor = (LayerInterceptor) element
.createExecutableExtension("class"); //$NON-NLS-1$
interceptor.run(layer);
} catch (CoreException e) {
ProjectPlugin
.log("Error creating class: " + element.getAttribute("class") + " part of layer interceptor: " + attribute, e); //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$
} catch (Throwable t) {
ProjectPlugin.log("Error running interceptor: " + attribute, t); //$NON-NLS-1$