Skip to main content
summaryrefslogtreecommitdiffstats
blob: e3d755d5e8e608f875f3ca1ebf21a91e636ca127 (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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>

     <extension-point id="configurationWizards" name="%configurationWizards" schema="schema/configurationWizards.exsd"/>
   <extension-point id="synchronizeParticipants" name="%synchronizeParticipants" schema="schema/synchronizeParticipants.exsd"/>
   <extension-point id="synchronizeWizards" name="%synchronizeWizards" schema="schema/synchronizeWizards.exsd"/>
   <extension-point id="teamContentProviders" name="%TeamContentProvider" schema="schema/teamContentProviders.exsd"/>
   <extension-point id="teamDecorators" name="%TeamDecorators" schema="schema/teamDecorators.exsd"/>

<!-- **************** PREFERENCES ******************* -->
   <extension
   		point="org.eclipse.ui.keywords">
    <keyword
            label="%PreferenceKeywords.Team"
            id="org.eclipse.team.ui.team"/>
    <keyword
            label="%PreferenceKeywords.FileContent"
            id="org.eclipse.team.ui.team.fileContent"/>
   </extension>   
   <extension
         point="org.eclipse.ui.preferencePages">
      <page
            name="%TeamPreferencePage.name"
            class="org.eclipse.team.internal.ui.preferences.SyncViewerPreferencePage"
            id="org.eclipse.team.ui.TeamPreferences">
            <keywordReference id="org.eclipse.team.ui.team"/>
      </page>
      <page
            name="%TextPreferencePage.name"
            category="org.eclipse.team.ui.TeamPreferences"
            class="org.eclipse.team.internal.ui.preferences.TextPreferencePage"
            id="org.eclipse.team.ui.TextPreferences">
            <keywordReference id="org.eclipse.team.ui.team.fileContent"/>
      </page>
      <page
            name="%IgnorePreferencePage.name"
            category="org.eclipse.team.ui.TeamPreferences"
            class="org.eclipse.team.internal.ui.preferences.IgnorePreferencePage"
            id="org.eclipse.team.ui.IgnorePreferences">
            <keywordReference id="org.eclipse.team.ui.team"/>
      </page>
   </extension>
<!-- ****************** POPUP ACTIONS *************** -->
   <extension
         point="org.eclipse.ui.popupMenus">
      <objectContribution
            objectClass="org.eclipse.core.resources.mapping.ResourceMapping"
            adaptable="true"
            id="org.eclipse.team.ui.ResourceContributions">
         <menu
               label="%TeamGroupMenu.label"
               path="additions"
               id="team.main">
            <separator
                  name="group1">
            </separator>
            <separator
                  name="group2">
            </separator>
            <separator
                  name="group3">
            </separator>
            <separator
                  name="group4">
            </separator>
            <separator
                  name="group5">
            </separator>
            <separator
                  name="group6">
            </separator>
            <separator
                  name="group7">
            </separator>
            <separator
                  name="group8">
            </separator>
            <separator
                  name="group9">
            </separator>
            <separator
                  name="group10">
            </separator>
            <separator
                  name="targetGroup">
            </separator>
            <separator
                  name="projectGroup">
            </separator>
         </menu>
      </objectContribution>
      <objectContribution
            objectClass="org.eclipse.core.resources.IProject"
            adaptable="true"
            id="org.eclipse.team.ui.ProjectContributions">
         <action
               label="%ConfigureProject.label"
               tooltip="%ConfigureProject.tooltip"
               class="org.eclipse.team.internal.ui.actions.ConfigureProjectAction"
               menubarPath="team.main/projectGroup"
               enablesFor="1"
               id="nonbound.org.eclipse.team.ui.ConfigureProject">
         </action>
      </objectContribution>        
      <objectContribution
            objectClass="org.eclipse.core.resources.IFile"
            nameFilter="*.psf"
            id="org.eclipse.team.ui.ProjectSetFileContributions">
         <action
               label="%ImportProjectSet.label"
               class="org.eclipse.team.internal.ui.actions.ImportProjectSetAction"
               menubarPath="team.main"
               enablesFor="*"
               id="nonbound.org.eclipse.team.ui.ImportProjectSetAction">
         </action>
      </objectContribution>
      <objectContribution
            adaptable="true"
            id="org.eclipse.team.ui.ShowLocalHistoryContribution"
            objectClass="org.eclipse.core.resources.IResource">
         <action
               class="org.eclipse.team.internal.ui.history.ShowLocalHistory"
               enablesFor="1"
               id="org.eclipse.team.ui.showlocalhistory"
               label="%ShowLocalHistory.label"
               menubarPath="local"/>
      </objectContribution>
   </extension>
<!-- ************** Views ********************** -->
   <extension
         point="org.eclipse.ui.views">
      <category
            name="%Team.viewCategory"
            id="org.eclipse.team.ui">
      </category>
      <view
            name="%SyncView.name"
            icon="$nl$/icons/full/eview16/synch_synch.gif"
            fastViewWidthRatio="0.25"
            category="org.eclipse.team.ui"
            allowMultiple="true"
            class="org.eclipse.team.internal.ui.synchronize.SynchronizeView"
            id="org.eclipse.team.sync.views.SynchronizeView">
      </view>
      <view
            allowMultiple="true"
            category="org.eclipse.team.ui"
            class="org.eclipse.team.internal.ui.history.GenericHistoryView"
            icon="icons/full/obj/changeset_obj.gif"
            id="org.eclipse.team.ui.GenericHistoryView"
            name="%HistoryView"/>
    <!--  <view
            name="%CompareView.name"
            icon="$nl$/icons/full/eview16/compare_view.gif"
            fastViewWidthRatio="0.25"
            category="org.eclipse.team.ui"
            class="org.eclipse.team.internal.ui.synchronize.CompareView"
            id="org.eclipse.team.sync.views.CompareView">
      </view> -->
   </extension>
<!-- **************** Synchronizing Perspective ******************* -->
   <extension
         point="org.eclipse.ui.perspectives">
      <perspective
            name="%Synchronizing.perspective"
            icon="$nl$/icons/full/eview16/synch_synch.gif"
            class="org.eclipse.team.internal.ui.synchronize.TeamSynchronizingPerspective"
            id="org.eclipse.team.ui.TeamSynchronizingPerspective">
      </perspective>
   </extension>
   <extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension
            targetID="org.eclipse.ui.resourcePerspective">
         <perspectiveShortcut
               id="org.eclipse.team.ui.TeamSynchronizingPerspective">
         </perspectiveShortcut>
      </perspectiveExtension>
   </extension>
   
<!-- ********** New Project Wizard ************** --> 
   <extension
         point="org.eclipse.ui.newWizards">
         <category name="%Team" id="org.eclipse.team.ui.newWizards">
         </category>
   </extension>
<!-- ****************** Import Wizards ********************* -->
   <extension
         point="org.eclipse.ui.importWizards">
      <category
            name="%Team"
            id="org.eclipse.team.ui.importWizards">
      </category>
         
      <wizard
            name="%ProjectSetImportWizard.name"
            icon="$nl$/icons/full/obj/import_projectset.gif"
            class="org.eclipse.team.internal.ui.wizards.ProjectSetImportWizard"
            category="org.eclipse.team.ui.importWizards"
            id="org.eclipse.team.ui.ProjectSetImportWizard">
         <description>
            %ProjectSetImportWizard.description
         </description>
         <selection
               class="org.eclipse.core.resources.IProject">
         </selection>
      </wizard>
   </extension>
<!-- ****************** Export Wizards ********************* -->
   <extension
         point="org.eclipse.ui.exportWizards">
      <category
            name="%Team"
            id="org.eclipse.team.ui.exportWizards">
      </category>
      <wizard
            name="%ProjectSetExportWizard.name"
            icon="$nl$/icons/full/obj/export_projectset.gif"
            class="org.eclipse.team.internal.ui.wizards.ProjectSetExportWizard"
            category="org.eclipse.team.ui.exportWizards"
            id="org.eclipse.team.ui.ProjectSetExportWizard">
         <description>
            %ProjectSetExportWizard.description
         </description>
         <selection
               class="org.eclipse.core.resources.IProject">
         </selection>
      </wizard>
   </extension>
<!-- ***************** Perspective Extensions ********************** -->
   <extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension
            targetID="org.eclipse.team.ui.TeamSynchronizingPerspective">
         <showInPart
               id="org.eclipse.ui.views.ResourceNavigator">
         </showInPart>
      </perspectiveExtension>
   </extension>
<!-- ***************** Actions ********************** -->
   <extension
         point="org.eclipse.ui.commands">
      <category
            name="%Command.category.name"
            description="%Command.category.description"
            id="org.eclipse.team.ui.category.team">
      </category>
      <command
            name="%Command.syncAll.name"
            category="org.eclipse.team.ui.category.team"
            description="%Command.syncAll.description"
            id="org.eclipse.team.ui.synchronizeAll">
      </command>
      <command
            name="%Command.syncLast.name"
            category="org.eclipse.team.ui.category.team"
            description="%Command.syncLast.description"
            id="org.eclipse.team.ui.synchronizeLast">
      </command>
      <command
        name="%Synchronizing.perspective"
        description="%Synchronizing.openPerspectiveDescription"
        categoryId="org.eclipse.ui.category.perspectives"
        id="org.eclipse.team.ui.TeamSynchronizingPerspective" />
      <command
            name="%ViewCommand.synchronizeView.name"
            description="%ViewCommand.synchronizeView.description"
            category="org.eclipse.ui.category.views"
            id="org.eclipse.team.sync.views.SynchronizeView">
      </command>
      <keyBinding
            string="Alt+Shift+Q Y"
            scope="org.eclipse.ui.globalScope"
            command="org.eclipse.team.sync.views.SynchronizeView"
            configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
      </keyBinding>
      <keyBinding
            platform="carbon"
            string="Alt+Shift+Q Y"
            scope="org.eclipse.ui.globalScope"
            command=""
            configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
      </keyBinding>
      <keyBinding
            platform="carbon"
            string="Command+Alt+Q Y"
            scope="org.eclipse.ui.globalScope"
            command="org.eclipse.team.sync.views.SynchronizeView"
            configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
      </keyBinding>
   </extension>
<!-- action sets -->
   <extension
         point="org.eclipse.ui.actionSets">
      <actionSet
            label="%Command.category.name"
            description="%Command.category.description"
            visible="false"
            id="org.eclipse.team.ui.actionSet">
         <action
               allowLabelUpdate="true"
               toolbarPath="Normal/Team"
               label="%Command.syncAll.name"
               tooltip="%Command.syncAll.name"
               class="org.eclipse.team.internal.ui.synchronize.actions.GlobalRefreshAction"
               icon="$nl$/icons/full/elcl16/synch_participants.gif"
               style="pulldown"
               id="org.eclipse.team.ui.synchronizeAll">
         </action>
         <action
               allowLabelUpdate="true"
               label="%ConfigureProject.label"
               tooltip="%ConfigureProject.tooltip"
               class="org.eclipse.team.internal.ui.actions.ConfigureProjectAction"
               menubarPath="project/open.ext"
               id="org.eclipse.team.ui.ConfigureProject"/>
      </actionSet>
   </extension>
   
 <!-- file modification validator -->
   
   <extension
         point="org.eclipse.team.core.defaultFileModificationValidator">
      <validator class="org.eclipse.team.internal.ui.DefaultUIFileModificationValidator"/>
   </extension>
   
    <!-- adapter factory -->
    
   <extension
         point="org.eclipse.core.runtime.adapters">
      <factory
            adaptableType="org.eclipse.compare.structuremergeviewer.DiffNode"
            class="org.eclipse.team.internal.ui.TeamAdapterFactory">
         <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
      </factory>
      <factory
            adaptableType="org.eclipse.core.resources.mapping.ModelProvider"
            class="org.eclipse.team.internal.ui.TeamAdapterFactory">
         <adapter type="org.eclipse.team.core.mapping.IResourceMappingMerger"/>
         <adapter type="org.eclipse.team.ui.mapping.ICompareAdapter"/>
      </factory>
   </extension>
   <extension
         point="org.eclipse.ui.navigator.navigatorContent">
      <navigatorContent
            contentProvider="org.eclipse.team.internal.ui.mapping.ResourceTeamAwareContentProvider"
            id="org.eclipse.team.ui.resourceContent"
            labelProvider="org.eclipse.team.internal.ui.mapping.ResourceModelLabelProvider"
            name="%ResourcesContentExtension"
            sorter="org.eclipse.team.internal.ui.mapping.ResourceModelSorter">
         <enablement>
           <or>         
            <instanceof value="org.eclipse.core.internal.resources.mapping.ResourceModelProvider"/>
            <instanceof value="org.eclipse.core.resources.IResource"/>
            <instanceof value="org.eclipse.team.core.mapping.IResourceMappingScope"/>
            <instanceof value="org.eclipse.team.core.mapping.ISynchronizationContext"/>
           </or>
         </enablement>
         <actionProvider class="org.eclipse.team.internal.ui.mapping.ResourceModelActionProvider"/>
       </navigatorContent>
   </extension>
   <extension
         point="org.eclipse.ui.navigator.viewer">
      <viewerContentBinding 
         viewerId="org.eclipse.team.ui.navigatorViewer">                     
         <includes>                     
            <contentExtension   
               pattern="org.eclipse.team.ui.resourceContent" 
               isRoot="true"/>
         </includes>
       </viewerContentBinding>
       <viewer
             viewerId="org.eclipse.team.ui.navigatorViewer">
           <popupMenu
                allowsPlatformContributions="false"
                id="org.eclipse.team.ui.navigatorViewer#PopupMenu">  
             <insertionPoint name="file"/>  
             <insertionPoint name="edit"/>          
             <insertionPoint name="synchronize"/>
             <insertionPoint
                   name="navigate"
                   separator="true"/>
             <insertionPoint
                   name="merge"
                   separator="true"/>
             <insertionPoint
                   name="other"
                   separator="true"/> 
             <insertionPoint
                   name="sort"
                   separator="true"/>
             <insertionPoint
                   name="additions"
                   separator="true"/>              
             <insertionPoint
                   name="properties"
                   separator="true"/>
          </popupMenu>
       </viewer>
   </extension>
   
   <!-- *************** Synchronize View Participant **************** -->
   <extension
         point="org.eclipse.team.ui.synchronizeParticipants">
      <participant
            name="%ModelSyncParticipant"
            icon="$nl$/icons/full/eview16/synch_synch.gif"
            class="org.eclipse.team.ui.operations.ResourceMappingSynchronizeParticipant"
            id="org.eclipse.team.ui.synchronization_context_synchronize_participant">
      </participant>
   </extension>
   <extension
         id="teamContentProvider"
         point="org.eclipse.team.ui.teamContentProviders">
      <teamContentProvider
            contentExtensionId="org.eclipse.team.ui.resourceContent"
            modelProviderId="org.eclipse.core.resources.modelProvider"/>
   </extension>
   <extension
         point="org.eclipse.team.core.storageMergers">
      <storageMerger
            class="org.eclipse.team.internal.ui.mapping.TextStorageMerger"
            extensions="txt"
            id="org.eclipse.team.ui.textStorageMerger"/>
      <contentTypeBinding
            contentTypeId="org.eclipse.core.runtime.text"
            storageMergerId="org.eclipse.team.ui.textStorageMerger"/>
   </extension>

</plugin>

Back to the top