[Compare] How to compare ecore models, content types [message #614161] |
Tue, 29 January 2008 13:42 |
Eclipse User |
|
|
|
Compare uses diff and merge viewers for ModelContentType, which is bound
to ecore filename extension. But this filename extension seems to be
already taken by EMF for XML content type. So XML/text compare is being
used for ecore models.
I tried to change priority to high in org.eclipse.emf.compare.ui, but it
didn't help:
<extension
point="org.eclipse.core.runtime.contentTypes">
<content-type
file-extensions="emfdiff,uml,ecore"
id="org.eclipse.emf.compare.ui.contenttype.ModelContentType "
name="%modelContentTypeName"
priority="normal">
</content-type>
</extension>
This one from org.eclipse.emf.ecore.xmi always takes precendence
<extension
point="org.eclipse.core.runtime.contentTypes">
<content-type
base-type="org.eclipse.core.runtime.xml"
file-extensions="ecore,xmi"
id="org.eclipse.emf.ecore"
name="%_UI_Ecore_content_type"
priority="normal">
<describer
class=" org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Des criber ">
<parameter
name="namespace"
value="http://www.eclipse.org/emf/2002/Ecore">
</parameter>
<parameter
name="kind"
value="xmi">
</parameter>
</describer>
</content-type>
</extension>
This is with recent EMF download I200801152000
< http://www.eclipse.org/modeling/emf/news/relnotes.php?projec t=emf&version=HEAD#I200801152000>
-a
|
|
|
Powered by
FUDForum. Page generated in 0.03706 seconds