Skip to main content
summaryrefslogtreecommitdiffstats
blob: 015ea8072647df354ff10879a21444097a38aaab (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>

<!--
 Copyright (c) 2013 Obeo.
 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
 http://www.eclipse.org/legal/epl-v10.html
 
 Contributors:
     Obeo - initial API and implementation
-->

<plugin>
   <extension-point id="groups" name="EMF Compare Groups" schema="schema/groups.exsd"/>
   <extension-point id="filters" name="EMF Compare Filters" schema="schema/filters.exsd"/>
   <extension-point id="accessorFactory" name="Accessor Factory" schema="schema/accessorFactory.exsd"/>
   <extension
         point="org.eclipse.emf.compare.rcp.ui.groups">
      <group
            activeByDefault="false"
            class="org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.groups.impl.KindGroupProvider"
            label="By Kind">
      </group>
      <group
            activeByDefault="false"
            class="org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.groups.impl.ThreeWayComparisonGroupProvider"
            label="By Side">
      </group>
   </extension>
   <extension
         point="org.eclipse.emf.compare.rcp.ui.filters">
      <filter
            activeByDefault="true"
            class="org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.filters.impl.EmptyMatchedResourcesFilter"
            label="Empty resource mappings">
      </filter>
      <filter
            activeByDefault="true"
            class="org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.filters.impl.PseudoConflictsFilter"
            label="Pseudo conflicts differences">
      </filter>
      <filter
            activeByDefault="true"
            class="org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.filters.impl.IdenticalElementsFilter"
            label="Identical elements">
      </filter>
      <filter
            activeByDefault="true"
            class="org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.filters.impl.CascadingDifferencesFilter"
            label="Cascading differences">
      </filter>
   </extension>
   <extension
         point="org.eclipse.emf.compare.rcp.ui.accessorFactory">
      <factory
            class="org.eclipse.emf.compare.rcp.ui.internal.contentmergeviewer.accessor.factory.impl.MatchAccessorFactory"
            ranking="10">
      </factory>
      <factory
            class="org.eclipse.emf.compare.rcp.ui.internal.contentmergeviewer.accessor.factory.impl.ManyStructuralFeatureAccessorFactory"
            ranking="10">
      </factory>
      <factory
            class="org.eclipse.emf.compare.rcp.ui.internal.contentmergeviewer.accessor.factory.impl.SingleStructuralFeatureAccessorFactory"
            ranking="10">
      </factory>
      <factory
            class="org.eclipse.emf.compare.rcp.ui.internal.contentmergeviewer.accessor.factory.impl.StringAttributeChangeAccessorFactory"
            ranking="10">
      </factory>
      <factory
            class="org.eclipse.emf.compare.rcp.ui.internal.contentmergeviewer.accessor.factory.impl.ResourceContentsAccessorFactory"
            ranking="10">
      </factory>
      <factory
            class="org.eclipse.emf.compare.rcp.ui.internal.contentmergeviewer.accessor.factory.impl.ComparisonAccessorFactory"
            ranking="10">
      </factory>
      <factory
            class="org.eclipse.emf.compare.rcp.ui.internal.contentmergeviewer.accessor.factory.impl.ContainmentReferenceChangeAccessorFactory"
            ranking="15">
      </factory>
   </extension>
   <extension
         point="org.eclipse.ui.menus">
      <menuContribution
            allPopups="false"
            locationURI="toolbar:org.eclipse.emf.compare.structuremergeviewer.toolbar">
         <command
               commandId="org.eclipse.emf.compare.rcp.ui.saveComparisonModel"
               icon="icons/full/toolb16/saveas_edit.gif"
               label="%save.model.name"
               style="push"
               tooltip="%save.model.tooltip">
         </command>
      </menuContribution>
   </extension>
   <extension
         point="org.eclipse.ui.commands">
      <command
            id="org.eclipse.emf.compare.rcp.ui.saveComparisonModel"
            name="%save.model.command.name">
      </command>
   </extension>
   <extension
         point="org.eclipse.ui.handlers">
      <handler
            class="org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.handler.SaveComparisonModel"
            commandId="org.eclipse.emf.compare.rcp.ui.saveComparisonModel">
         <enabledWhen>
            <with
                  variable="activeEditor">
               <test
                     property="emfcompare.isSaveable">
               </test>
            </with>
         
         </enabledWhen>
      </handler>
   </extension>
   <extension
         point="org.eclipse.core.expressions.propertyTesters">
      <propertyTester
            class="org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.handler.ModelSaveablePropertyTester"
            id="org.eclipse.emf.compare.rcp.ui.modelSaveable"
            namespace="emfcompare"
            properties="isSaveable"
            type="java.lang.Object">
      </propertyTester>
   </extension>
</plugin>

Back to the top