Skip to main content

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

Please use bugzilla for code contributions. 

On 09/06/2012 4:45 AM, Sagie Amir wrote:
'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>


_______________________________________________
emf-dev mailing list
emf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/emf-dev

Back to the top