Starts up this plugin by reading some extensions and populating the relevant registries.
The global
package registry
is populated by plugin registration of the form:
<extension point="org.eclipse.emf.ecore.generated_package" >
<package uri="http://www.example.org/abc/Abc.ecore" class="org.example.abc.AbcPackage"/>
<extension>
The URI is arbitrary but an absolute URI is recommended.
Provision for access to the serialized model via "http:"
is encouraged.
The global
resource factory registry's
extension
map
is populated by plugin registration of the form:
<extension point="org.eclipse.emf.ecore.extension_parser">
<parser type="abc" class="org.example.abc.util.AbcResourceFactoryImpl"/>
<extension>
The global
resource factory registry's
protocol
map
is populated by plugin registration of the form:
<extension point="org.eclipse.emf.ecore.protocol_parser" >
<parser protocolName="abc" class="org.example.abc.util.AbcResourceFactoryImpl"/>
<extension>
The global
URI map
is populated by plugin registration of the form:
<extension point="org.eclipse.emf.ecore.uri_mapping" >
<mapping source="//special/" target="special/"/>
<extension>
If the target is relative, it is resolved against the plugin's installed location,
resulting in a URI of the form:
platform:/plugin/plugin-name_1.2.3/...
The above registration would map
//special/a/b.c
to
platform:/plugin/plugin-name_1.2.3/special/a/b.c
- Overrides:
startup
in class org.eclipse.core.runtime.Plugin
- Throws:
org.eclipse.core.runtime.CoreException
- if there is a show stopping problem.