Skip to main content
summaryrefslogtreecommitdiffstats
blob: c2ae2b09cf3b67b8e117caa27b2a466bf511c2d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
   <extension
         id="org.eclipse.emf.compare.model.provider"
         name="EMF Compare Model Provider"
         point="org.eclipse.core.resources.modelProviders">
      <modelProvider
            class="org.eclipse.emf.compare.logical.model.EMFModelProvider">
      </modelProvider>
      <enablement>
         <and>
            <adapt
                  type="org.eclipse.core.resources.IFile">
            </adapt>
            <or>
               <test
                     property="org.eclipse.emf.compare.contentType.contentTypeId"
                     value="org.eclipse.emf.compare.ui.contenttype.ModelContentType">
               </test>
               <test
                     property="org.eclipse.emf.compare.contentType.contentTypeId"
                     value="org.eclipse.emf.ecore">
               </test>
               <test
                     property="org.eclipse.emf.compare.contentType.contentTypeId"
                     value="org.eclipse.emf.ecore.xmi">
               </test>
            </or>
         </and>
      </enablement>
   </extension>
   <extension
         point="org.eclipse.core.expressions.propertyTesters">
      <propertyTester
            class="org.eclipse.emf.compare.logical.common.ContentTypePropertyTester"
            id="org.eclipse.emf.compare.contentTypeTester"
            namespace="org.eclipse.emf.compare.contentType"
            properties="contentTypeId"
            type="org.eclipse.core.resources.IResource">
      </propertyTester>
   </extension>
   <extension
         point="org.eclipse.core.runtime.adapters">
      <factory
            adaptableType="org.eclipse.emf.compare.logical.model.EMFModelProvider"
            class="org.eclipse.emf.compare.logical.adapter.EMFAdapterFactory">
         <adapter
               type="org.eclipse.team.ui.mapping.ISynchronizationCompareAdapter">
         </adapter>
      </factory>
   </extension>
</plugin>

Back to the top