Skip to main content
summaryrefslogtreecommitdiffstats
blob: 0d714bec3c8d53e21e984895cb7c28afd2ea0e93 (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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>

<!--
  Copyright (c) 2011 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="org.eclipse.emf.compare.modelResolver">
      <modelResolver
            class="org.eclipse.emf.compare.logical.extension.ScopedModelResolver">
         <contentType
               value=
                 "org.eclipse.emf.compare.example.library.libraryContentType,
                  org.eclipse.emf.compare.example.library.bookContentType,
                  org.eclipse.emf.compare.example.library.writerContentType"/>
      </modelResolver>
   </extension>
   <extension point="org.eclipse.core.runtime.adapters">
      <factory
            adaptableType="org.eclipse.emf.compare.example.library.writers.util.WritersResourceImpl"
            class="org.eclipse.emf.compare.logical.adapter.EMFCompareAdapterFactory">
         <adapter
               type="org.eclipse.core.resources.mapping.ResourceMapping">
         </adapter>
      </factory>
      <factory
            adaptableType="org.eclipse.emf.compare.example.library.library.util.LibraryResourceImpl"
            class="org.eclipse.emf.compare.logical.adapter.EMFCompareAdapterFactory">
         <adapter
               type="org.eclipse.core.resources.mapping.ResourceMapping">
         </adapter>
      </factory>
      <factory
            adaptableType="org.eclipse.emf.compare.example.library.books.util.BooksResourceImpl"
            class="org.eclipse.emf.compare.logical.adapter.EMFCompareAdapterFactory">
         <adapter
               type="org.eclipse.core.resources.mapping.ResourceMapping">
         </adapter>
      </factory>
   </extension>

<!-- GENERATED BY EMF -->
   <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories">
      <factory
            uri="http://www.eclipse.org/emf/compare/library"
            class="org.eclipse.emf.compare.example.library.library.provider.LibraryItemProviderAdapterFactory"
            supportedTypes=
              "org.eclipse.emf.edit.provider.IEditingDomainItemProvider
               org.eclipse.emf.edit.provider.IStructuredItemContentProvider
               org.eclipse.emf.edit.provider.ITreeItemContentProvider
               org.eclipse.emf.edit.provider.IItemLabelProvider
               org.eclipse.emf.edit.provider.IItemPropertySource"/>
      <factory
            uri="http://www.eclipse.org/emf/compare/books"
            class="org.eclipse.emf.compare.example.library.books.provider.BooksItemProviderAdapterFactory"
            supportedTypes=
              "org.eclipse.emf.edit.provider.IEditingDomainItemProvider
               org.eclipse.emf.edit.provider.IStructuredItemContentProvider
               org.eclipse.emf.edit.provider.ITreeItemContentProvider
               org.eclipse.emf.edit.provider.IItemLabelProvider
               org.eclipse.emf.edit.provider.IItemPropertySource"/>
      <factory
            uri="http://www.eclipse.org/emf/compare/writers"
            class="org.eclipse.emf.compare.example.library.writers.provider.WritersItemProviderAdapterFactory"
            supportedTypes=
              "org.eclipse.emf.edit.provider.IEditingDomainItemProvider
               org.eclipse.emf.edit.provider.IStructuredItemContentProvider
               org.eclipse.emf.edit.provider.ITreeItemContentProvider
               org.eclipse.emf.edit.provider.IItemLabelProvider
               org.eclipse.emf.edit.provider.IItemPropertySource"/>
   </extension>

   <extension point="org.eclipse.emf.ecore.generated_package">
      <package
            uri="http://www.eclipse.org/emf/compare/library"
            class="org.eclipse.emf.compare.example.library.library.LibraryPackage"
            genModel="model/library.genmodel"/>
      <package
            uri="http://www.eclipse.org/emf/compare/books"
            class="org.eclipse.emf.compare.example.library.books.BooksPackage"
            genModel="model/library.genmodel"/>
      <package
            uri="http://www.eclipse.org/emf/compare/writers"
            class="org.eclipse.emf.compare.example.library.writers.WritersPackage"
            genModel="model/library.genmodel"/>
   </extension>

   <extension point="org.eclipse.emf.ecore.content_parser">
      <parser
            contentTypeIdentifier="org.eclipse.emf.compare.example.library.libraryContentType"
            class="org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl"/>
      <parser
            contentTypeIdentifier="org.eclipse.emf.compare.example.library.bookContentType"
            class="org.eclipse.emf.compare.example.library.books.util.BooksResourceFactoryImpl"/>
      <parser
            contentTypeIdentifier="org.eclipse.emf.compare.example.library.writerContentType"
            class="org.eclipse.emf.compare.example.library.writers.util.WritersResourceFactoryImpl"/>
   </extension>

   <extension point="org.eclipse.core.contenttype.contentTypes">
      <content-type
            base-type="org.eclipse.emf.ecore.xmi"
            file-extensions="library"
            id="org.eclipse.emf.compare.example.library.libraryContentType"
            name="%_UI_Library_content_type"
            priority="normal">
         <describer class="org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer">
            <parameter name="namespace" value="http://www.eclipse.org/emf/compare/library"/>
            <parameter name="kind" value="xmi"/>
         </describer>
      </content-type>
      <content-type
            base-type="org.eclipse.emf.ecore.xmi"
            file-extensions="books"
            id="org.eclipse.emf.compare.example.library.bookContentType"
            name="%_UI_Books_content_type"
            priority="normal">
         <describer class="org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer">
            <parameter name="namespace" value="http://www.eclipse.org/emf/compare/books"/>
            <parameter name="kind" value="xmi"/>
         </describer>
      </content-type>
      <content-type
            base-type="org.eclipse.emf.ecore.xmi"
            file-extensions="writers"
            id="org.eclipse.emf.compare.example.library.writerContentType"
            name="%_UI_Writers_content_type"
            priority="normal">
         <describer class="org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer">
            <parameter name="namespace" value="http://www.eclipse.org/emf/compare/writers"/>
            <parameter name="kind" value="xmi"/>
         </describer>
      </content-type>
   </extension>

   <extension point="org.eclipse.ui.newWizards">
      <category
            id="org.eclipse.emf.ecore.Wizard.category.ID"
            name="%_UI_Wizard_category"/>
      <wizard
            id="org.eclipse.emf.compare.example.library.library.presentation.LibraryModelWizardID"
            name="%_UI_LibraryModelWizard_label"
            class="org.eclipse.emf.compare.example.library.library.presentation.LibraryModelWizard"
            category="org.eclipse.emf.ecore.Wizard.category.ID"
            icon="icons/full/obj16/LibraryModelFile.gif">
         <description>%_UI_LibraryModelWizard_description</description>
         <selection class="org.eclipse.core.resources.IResource"/>
      </wizard>
      <wizard
            id="org.eclipse.emf.compare.example.library.books.presentation.BooksModelWizardID"
            name="%_UI_BooksModelWizard_label"
            class="org.eclipse.emf.compare.example.library.books.presentation.BooksModelWizard"
            category="org.eclipse.emf.ecore.Wizard.category.ID"
            icon="icons/full/obj16/BooksModelFile.gif">
         <description>%_UI_BooksModelWizard_description</description>
         <selection class="org.eclipse.core.resources.IResource"/>
      </wizard>
      <wizard
            id="org.eclipse.emf.compare.example.library.writers.presentation.WritersModelWizardID"
            name="%_UI_WritersModelWizard_label"
            class="org.eclipse.emf.compare.example.library.writers.presentation.WritersModelWizard"
            category="org.eclipse.emf.ecore.Wizard.category.ID"
            icon="icons/full/obj16/WritersModelFile.gif">
         <description>%_UI_WritersModelWizard_description</description>
         <selection class="org.eclipse.core.resources.IResource"/>
      </wizard>
   </extension>

   <extension point="org.eclipse.ui.editors">
      <editor
            id="org.eclipse.emf.compare.example.library.library.presentation.LibraryEditorID"
            name="%_UI_LibraryEditor_label"
            icon="icons/full/obj16/LibraryModelFile.gif"
            class="org.eclipse.emf.compare.example.library.library.presentation.LibraryEditor"
            contributorClass="org.eclipse.emf.compare.example.library.library.presentation.LibraryActionBarContributor">
         <contentTypeBinding contentTypeId="org.eclipse.emf.compare.example.library.libraryContentType"/>
      </editor>
      <editor
            id="org.eclipse.emf.compare.example.library.books.presentation.BooksEditorID"
            name="%_UI_BooksEditor_label"
            icon="icons/full/obj16/BooksModelFile.gif"
            class="org.eclipse.emf.compare.example.library.books.presentation.BooksEditor"
            contributorClass="org.eclipse.emf.compare.example.library.books.presentation.BooksActionBarContributor">
         <contentTypeBinding contentTypeId="org.eclipse.emf.compare.example.library.bookContentType"/>
      </editor>
      <editor
            id="org.eclipse.emf.compare.example.library.writers.presentation.WritersEditorID"
            name="%_UI_WritersEditor_label"
            icon="icons/full/obj16/WritersModelFile.gif"
            class="org.eclipse.emf.compare.example.library.writers.presentation.WritersEditor"
            contributorClass="org.eclipse.emf.compare.example.library.writers.presentation.WritersActionBarContributor">
         <contentTypeBinding contentTypeId="org.eclipse.emf.compare.example.library.writerContentType"/>
      </editor>
   </extension>
</plugin>

Back to the top