Resource Factory Association (Internal)
Identifier:
org.eclipse.wst.common.modulecore.resourceFactories
Since:
[Enter the first release in which this extension point appears.]
Description:
An *internal* extension point that declares an association between a short-segment filename and a Resource.Factory.
Configuration Markup:
<!ELEMENT extension (resourceFactory)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT resourceFactory (contentTypeBinding?)>
<!ATTLIST resourceFactory
class CDATA #REQUIRED
shortSegment CDATA #REQUIRED
isDefault (true | false) "true">
Associates a short name (e.g. "web.xml") with the appropriate Resource.Factory to create the Resource type when loading files of the declared shortname.
- class - Declares an implementation of
org.eclipse.emf.ecore.resource.Resource.Factory
.
- shortSegment - Declares the short segment of a filename that the resource factory applies to (e.g. "web.xml").
- isDefault - If multiple factories are declared for the same fileName - then the "default" is used.
<!ELEMENT contentTypeBinding EMPTY>
<!ATTLIST contentTypeBinding
contentTypeId CDATA #REQUIRED>
Advertises that the containing editor understands the given content type and is suitable for editing files of that type.
- contentTypeId - The content type identifier. This is an ID defined by the 'org.eclipse.core.runtime.contentTypes' extension point.
Examples:
[Enter extension point usage example here.]
API Information:
[Enter API information here.]
Supplied Implementation:
[Enter information about supplied implementation of this extension point.]