Custom texts for the copy command
[egit/eclipse.git] / org.eclipse.egit.core.test / fragment.xml
blobafd57f9c279dcfa2746566307977314c4d87ef7b
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>
3 <fragment>
4    <extension
5          id="org.eclipse.egit.core.tests.sampleModelProvider"
6          name="Sample Test Model"
7          point="org.eclipse.core.resources.modelProviders">
8       <modelProvider
9             class="org.eclipse.egit.core.test.models.SampleModelProvider">
10       </modelProvider>
11       <enablement>
12          <and>
13             <adapt
14                   type="org.eclipse.core.resources.IFile">
15                <test
16                      forcePluginActivation="true"
17                      property="org.eclipse.core.resources.name"
18                      value="*.sample">
19                </test>
20             </adapt>
21          </and>
22       </enablement>
23       <extends-model
24             id="org.eclipse.core.resources.modelProvider">
25       </extends-model>
26    </extension>
27    <extension
28          point="org.eclipse.core.runtime.adapters">
29       <factory
30             adaptableType="org.eclipse.egit.core.test.models.SampleModelProvider"
31             class="org.eclipse.egit.core.test.models.SampleModelAdapterFactory">
32          <adapter
33                type="org.eclipse.team.core.mapping.IResourceMappingMerger">
34          </adapter>
35       </factory>
36    </extension>
37    <extension
38          point="org.eclipse.egit.core.mergeStrategy">
39       <strategy
40             class="org.eclipse.egit.core.mergestrategy.OursMergeStrategyExtensionFactory"
41             label="Strategy OURS (used for tests)"/>
42       <strategy
43             class="org.eclipse.egit.core.mergestrategy.TheirsMergeStrategyExtensionFactory"
44             label="Strategy THEIRS with explicit name (used for tests)"
45             name="org.eclipse.egit.core.test.theirs">
46       </strategy>
47    </extension>
49 </fragment>