/** * Creates a new locator proxy based on the given configuration element. Returns the new proxy, or * null if the element could not be created. */ public static ProjectMetadataLocatorProxy createProxy(IConfigurationElement element) { ProjectMetadataLocatorProxy result = new ProjectMetadataLocatorProxy(); result.fElement = element; if ("metadataLocator".equals(element.getName())) // $NON-NLS-1$ return result; TapestryCore.log( EclipseMessages.projectMetaDataUnexpectedElement( element.getContributor().getName(), element.getName())); return null; }