schema.dynamic_package.exsd Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-epl Show documentation
Show all versions of plantuml-epl Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
This extension point is used to register an Ecore resource against a namespace URI (Uniform Resource Identifier) in EMF's global package registry, <samp>EPackage.Registry.INSTANCE</samp>. The location URI may contain a fragment that specifies the location of a particlar package within the resource; if the fragment is absent, "#/" is assumed. When a model instance is loaded from its serialized form, this registry may be consulted in order to obtain the correct metamodel that is to be instantiated.
A fully qualified identifier of the target extension point.
An optional identifier of the extension instance.
An optional name of the extension instance.
A URI that uniquely identifies an Ecore package.
An absolute or plugin relative URI of the Ecore resource for the package.
2.4.0
Following is an example of how a dynamic package can be registered:
<pre>
<extension point="org.eclipse.emf.ecore.dynamic_package" >
<resource uri="http://www.example.org/Example" location="model/Example.ecore#/"/>
</extension>
</pre>
The value of the location attribute must represent an Ecore Resource.
<p>
An EMF package can also be registered from the source code with the <samp>EPackage.Registry.INSTANCE</samp> as follows:
</p>
<pre>
EPackage.Registry.INSTANCE.put(companyPackage.getNsURI(), companyPackage);
</pre>
Copyright (c) 2008 IBM Corporation and others.<br>
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at <a
href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>