[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[emf-dev] [PATCH] org.eclipse.wst.xml.core.catalogContributions extension point implementation

'org.eclipse.wst.xml.core.catalogContributions' extension point implementation
for the org.eclipse.emf.teneo.hibernate.mapper plugin. This will enable those
those who use external Teneo mapping files to leverage the XML auto-completion
feature in the WST editor.  Moving persistence-mapping.xsd to a dedicated 'xsd'
plugin directory would make for a cleaner uri.

---
 plugin.xml |    9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/plugin.xml b/plugin.xml
index 6d6e944..243639b 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -24,4 +24,13 @@
             genModel="model/hbannotation.genmodel"/>
    </extension>
 
+   <extension
+         point="org.eclipse.wst.xml.core.catalogContributions">
+      <catalogContribution>
+         <uri
+            name="urn:import:com.google.gwt.user.client.ui"
+            uri="platform:/plugin/org.eclipse.emf.teneo.hibernate.mapper/org/eclipse/emf/teneo/hibernate/annotations/persistence-mapping.xsd" />
+      </catalogContribution>
+   </extension>
+   
 </plugin>
-- 
1.7.10

Attachment: signature.asc
Description: Digital signature