PGP sign p2 artefacts
[egit/eclipse.git] / org.eclipse.egit.ui / plugin.xml
blob29992de79dd8a13c83951f0aac23040891328a41
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.0"?>
3 <plugin>
4    <extension-point id="commitMessageProvider" name="%CommitMessageProviderExtension-point.name" schema="schema/commitMessageProvider.exsd"/>
5    <extension-point id="cloneSourceProvider" name="%CloneSourceProviderExtension-point.name" schema="schema/cloneSourceProvider.exsd"/>
6    <extension-point id="branchNameProvider" name="%BranchNameProviderExtension-point.name" schema="schema/branchNameProvider.exsd"/>
7    <extension point="org.eclipse.core.runtime.preferences">
8       <initializer class="org.eclipse.egit.ui.PluginPreferenceInitializer"/>
9    </extension>
11    <extension point="org.eclipse.ui.importWizards">
12       <category name="%Git_clone_category"
13             id="org.eclipse.egit.ui.internal.clone.gitclonecategory"/>
14       <wizard name="%Git_clone_wizard"
15             icon="icons/obj16/import_obj.png"
16             class="org.eclipse.egit.ui.internal.clone.GitImportWizard"
17             id="org.eclipse.egit.ui.internal.clone.GitCloneWizard"
18             category="org.eclipse.egit.ui.internal.clone.gitclonecategory">
19             <description>%Git_clone_description</description>
20       </wizard>
21       <wizard
22             category="org.eclipse.egit.ui.internal.clone.gitclonecategory"
23             icon="icons/obj16/import_prj.png"
24             class="org.eclipse.egit.ui.internal.clone.SmartImportGitWizard"
25             id="org.eclipse.egit.ui.internal.clone.SmartImportGitWizard"
26             name="%SmartImportGitWizard_label">
27             <description>%SmartImportGitWizard_description</description>
28       </wizard>
29    </extension>
31    <extension point="org.eclipse.team.ui.configurationWizards">
32       <wizard name="%SharingWizard_name"
33             icon="icons/etool16/newconnect_wiz.png"
34             class="org.eclipse.egit.ui.internal.sharing.SharingWizard"
35             id="org.eclipse.egit.ui.internal.sharing.SharingWizard">
36       </wizard>
37    </extension>
39    <extension point="org.eclipse.ui.popupMenus">
40      <objectContribution id="org.eclipse.egit.ui.containerContributions"
41             objectClass="org.eclipse.core.resources.IContainer"
42             adaptable="true">
43          <filter name="projectPersistentProperty"
44                value="org.eclipse.team.core.repository=org.eclipse.egit.core.GitProvider">
45          </filter>
46          <action
47                class="org.eclipse.egit.ui.internal.actions.SynchronizeWorkspaceAction"
48                id="org.eclipse.egit.ui.internal.actions.SynchronizeWorkspace"
49                icon="$nl$/icons/obj16/synchronize.png"
50                label="%SynchronizeWorkspace_label"
51                menubarPath="team.main/group3"/>
52      </objectContribution>
53      <objectContribution
54             adaptable="true"
55             id="org.eclipse.egit.ui.resourceContributions"
56             objectClass="org.eclipse.core.resources.IResource">
57          <filter name="projectPersistentProperty"
58                value="org.eclipse.team.core.repository=org.eclipse.egit.core.GitProvider">
59          </filter>
60          <action
61                class="org.eclipse.egit.ui.internal.actions.ApplyPatchAction"
62                definitionId="org.eclipse.egit.ui.team.ApplyPatch"
63                enablesFor="*"
64                id="org.eclipse.egit.ui.internal.actions.applyPatch"
65                label="%ApplyPatchAction_label"
66                menubarPath="team.main/applyPatchGroup"
67                overrideActionId="org.eclipse.team.ui.applyPatch">
68          </action>
69          <action
70                class="org.eclipse.egit.ui.internal.actions.MergeToolAction"
71                definitionId="org.eclipse.egit.ui.team.MergeTool"
72                icon="icons/obj16/mergetool.png"
73                id="org.eclipse.egit.ui.internal.actions.MergeTool"
74                label="%MergeToolAction.label"
75                menubarPath="team.main/group4">
76          </action>
77       </objectContribution>
78    </extension>
80    <extension
81          point="org.eclipse.core.runtime.adapters">
82       <factory
83             adaptableType="org.eclipse.ui.IURIEditorInput"
84             class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
85          <adapter type="java.io.File" />
86          <adapter type="org.eclipse.jgit.lib.Repository" />
87       </factory>
88       <factory
89             adaptableType="org.eclipse.ui.IURIEditorInput"
90             class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory">
91          <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" />
92       </factory>
93       <factory
94             adaptableType="org.eclipse.egit.core.internal.storage.GitFileHistoryProvider"
95             class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory">
96          <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" />
97       </factory>
98       <factory
99             adaptableType="org.eclipse.core.resources.IResource"
100             class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory">
101          <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" />
102       </factory>
103       <factory
104             adaptableType="org.eclipse.core.runtime.Path"
105             class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory">
106          <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" />
107       </factory>
108       <factory
109             adaptableType="org.eclipse.ui.IWorkingSet"
110             class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory">
111          <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" />
112       </factory>
113       <factory
114             adaptableType="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode"
115             class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory">
116          <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" />
117       </factory>
118       <factory
119             adaptableType="org.eclipse.egit.ui.internal.commit.RepositoryCommit"
120             class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory">
121          <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" />
122       </factory>
123       <factory
124             adaptableType="org.eclipse.egit.core.internal.IRepositoryCommit"
125             class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory">
126          <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" />
127       </factory>
128       <factory
129             adaptableType="org.eclipse.egit.ui.internal.history.HistoryPageInput"
130             class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory">
131          <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" />
132       </factory>
133       <factory
134             adaptableType="org.eclipse.egit.ui.internal.reflog.ReflogItem"
135             class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory">
136          <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" />
137       </factory>
138       <factory
139             adaptableType="org.eclipse.egit.core.internal.rebase.RebaseInteractivePlan$PlanElement"
140             class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory">
141          <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" />
142       </factory>
143       <factory
144             adaptableType="org.eclipse.egit.core.info.GitInfo"
145             class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory">
146          <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" />
147       </factory>
148       <factory
149             adaptableType="org.eclipse.ui.IWorkingSet"
150             class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
151          <adapter type="org.eclipse.jgit.lib.Repository" />
152       </factory>
153       <factory
154             adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelRoot"
155             class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
156          <adapter type="org.eclipse.ui.model.IWorkbenchAdapter" />
157       </factory>
158       <factory
159             adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelRepository"
160             class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
161          <adapter type="org.eclipse.ui.model.IWorkbenchAdapter" />
162       </factory>
163       <factory
164             adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelCommit"
165             class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
166          <adapter type="org.eclipse.ui.model.IWorkbenchAdapter" />
167       </factory>
168       <factory
169             adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelCache"
170             class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
171          <adapter type="org.eclipse.ui.model.IWorkbenchAdapter" />
172       </factory>
173       <factory
174             adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelWorkingTree"
175             class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
176          <adapter type="org.eclipse.ui.model.IWorkbenchAdapter" />
177       </factory>
178       <factory
179             adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelTree"
180             class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
181          <adapter type="org.eclipse.ui.model.IWorkbenchAdapter" />
182       </factory>
183       <factory
184             adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelBlob"
185             class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
186          <adapter type="org.eclipse.ui.model.IWorkbenchAdapter" />
187       </factory>
188       <factory
189             adaptableType="org.eclipse.egit.ui.internal.history.FileDiff"
190             class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
191          <adapter type="org.eclipse.ui.model.IWorkbenchAdapter" />
192       </factory>
193       <factory
194             adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelObject"
195             class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
196          <adapter type="org.eclipse.core.resources.mapping.ResourceMapping" />
197          <adapter type="org.eclipse.core.resources.IResource" />
198       </factory>
199       <factory
200             adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelRepository"
201             class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
202          <adapter type="org.eclipse.core.resources.mapping.ResourceMapping" />
203       </factory>
204       <factory
205             adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelCommit"
206             class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
207          <adapter type="org.eclipse.core.resources.mapping.ResourceMapping" />
208       </factory>
209       <factory
210             adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelCache"
211             class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
212          <adapter type="org.eclipse.core.resources.mapping.ResourceMapping" />
213       </factory>
214       <factory
215             adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelWorkingTree"
216             class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
217          <adapter type="org.eclipse.core.resources.mapping.ResourceMapping" />
218       </factory>
219       <factory
220             adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelTree"
221             class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
222          <adapter type="org.eclipse.core.resources.mapping.ResourceMapping" />
223          <adapter type="org.eclipse.core.resources.IResource" />
224       </factory>
225       <factory
226             adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelBlob"
227             class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
228          <adapter type="org.eclipse.core.resources.mapping.ResourceMapping" />
229          <adapter type="org.eclipse.core.resources.IResource" />
230       </factory>
231       <factory
232             adaptableType="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode"
233             class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
234          <adapter type="org.eclipse.ui.model.IWorkbenchAdapter" />
235       </factory>
236       <factory
237             adaptableType="org.eclipse.team.ui.history.IHistoryView"
238             class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
239          <adapter type="org.eclipse.ui.part.IShowInSource" />
240       </factory>
241       <factory
242             adaptableType="org.eclipse.egit.ui.internal.staging.StagingEntry"
243             class="org.eclipse.egit.ui.internal.staging.StagingEntryAdapterFactory">
244          <adapter type="org.eclipse.core.resources.IResource" />
245          <adapter type="org.eclipse.core.runtime.IPath" />
246          <adapter type="org.eclipse.jgit.lib.Repository" />
247       </factory>
248    </extension>
250    <extension
251          point="org.eclipse.core.expressions.definitions">
252       <definition
253             id="org.eclipse.egit.ui.repositoryTreePathNode">
254          <and>
255             <count
256                   value="1">
257             </count>
258             <iterate>
259                <or>
260                   <instanceof
261                         value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
262                   </instanceof>
263                   <instanceof
264                         value="org.eclipse.egit.ui.internal.repository.tree.FileNode">
265                   </instanceof>
266                   <instanceof
267                         value="org.eclipse.egit.ui.internal.repository.tree.FolderNode">
268                   </instanceof>
269                   <and>
270                      <instanceof
271                            value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode">
272                      </instanceof>
273                      <test property="GitRepository.isBare" value="false" />
274                   </and>
275                </or>
276             </iterate>
277          </and>
278       </definition>
279       <definition id="org.eclipse.egit.ui.repositoryTreePushFetchNode">
280          <and>
281             <count
282                   value="1">
283             </count>
284             <iterate
285                   ifEmpty="false"
286                   operator="and">
287                <or>
288                   <instanceof
289                         value="org.eclipse.egit.ui.internal.repository.tree.PushNode">
290                   </instanceof>
291                   <instanceof
292                         value="org.eclipse.egit.ui.internal.repository.tree.FetchNode">
293                   </instanceof>
294                </or>
295             </iterate>
296          </and>
297       </definition>
298       <definition id="org.eclipse.egit.ui.repositoriesViewCanConfigureFetch">
299          <and>
300             <count
301                   value="1">
302             </count>
303             <iterate>
304                <or>
305                   <and>
306                      <instanceof
307                            value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
308                      </instanceof>
309                      <test property="GitRepository.fetchExists" value="false" />
310                   </and>
311                   <instanceof
312                         value="org.eclipse.egit.ui.internal.repository.tree.FetchNode">
313                   </instanceof>
314                </or>
315             </iterate>
316          </and>
317       </definition>
318       <definition id="org.eclipse.egit.ui.repositoriesViewCanConfigurePush">
319          <and>
320             <count
321                   value="1">
322             </count>
323             <iterate>
324                <or>
325                   <and>
326                      <instanceof
327                            value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
328                      </instanceof>
329                      <test property="GitRepository.pushExists" value="false" />
330                   </and>
331                   <instanceof
332                         value="org.eclipse.egit.ui.internal.repository.tree.PushNode">
333                   </instanceof>
334                </or>
335             </iterate>
336          </and>
337       </definition>
338       <definition id="org.eclipse.egit.ui.singleRefNode">
339          <and>
340             <count
341                   value="1">
342             </count>
343             <iterate>
344                <instanceof
345                      value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
346                </instanceof>
347             </iterate>
348          </and>
349       </definition>
350       <definition id="org.eclipse.egit.ui.resourcesSingleRepository">
351          <or>
352             <test
353                   property="GitSelection.resourcesSingleRepository">
354             </test>
355             <with variable="activePart">
356                <instanceof
357                      value="org.eclipse.ui.IEditorPart">
358                </instanceof>
359                <with
360                      variable="activeEditorInput">
361                   <adapt
362                         type="org.eclipse.core.resources.IResource">
363                      <test
364                            property="GitResource.isShared">
365                      </test>
366                   </adapt>
367                </with>
368             </with>
369          </or>
370       </definition>
371       <definition id="org.eclipse.egit.ui.fileOrFolderInRepository">
372          <or>
373             <test
374                   property="GitSelection.fileOrFolderInRepository">
375             </test>
376             <with variable="activePart">
377                <instanceof
378                      value="org.eclipse.ui.IEditorPart">
379                </instanceof>
380                <with
381                      variable="activeEditorInput">
382                   <adapt
383                         type="org.eclipse.core.resources.IResource">
384                      <test
385                            property="GitResource.isShared">
386                      </test>
387                   </adapt>
388                </with>
389             </with>
390          </or>
391       </definition>
392       <definition id="org.eclipse.egit.ui.fileOrFolderPushToGerrit">
393          <or>
394             <test
395                   property="GitSelection.fileOrFolderInRepository"
396                   args="canPushToGerrit">
397             </test>
398             <with variable="activePart">
399                <instanceof
400                      value="org.eclipse.ui.IEditorPart">
401                </instanceof>
402                <with
403                      variable="activeEditorInput">
404                   <adapt
405                         type="org.eclipse.core.resources.IResource">
406                      <test
407                            property="GitResource.isShared">
408                      </test>
409                      <test
410                            property="GitResource.canPushToGerrit">
411                      </test>
412                   </adapt>
413                </with>
414             </with>
415          </or>
416       </definition>
417       <definition id="org.eclipse.egit.ui.fileOrFolderFetchFromGerrit">
418          <or>
419             <test
420                   property="GitSelection.fileOrFolderInRepository"
421                   args="canFetchFromGerrit">
422             </test>
423             <with variable="activePart">
424                <instanceof
425                      value="org.eclipse.ui.IEditorPart">
426                </instanceof>
427                <with
428                      variable="activeEditorInput">
429                   <adapt
430                         type="org.eclipse.core.resources.IResource">
431                      <test
432                            property="GitResource.isShared">
433                      </test>
434                      <test
435                            property="GitResource.canFetchFromGerrit">
436                      </test>
437                   </adapt>
438                </with>
439             </with>
440          </or>
441       </definition>
442       <definition id="org.eclipse.egit.ui.fileOrFolderFetchFromGitHub">
443          <or>
444             <test
445                   property="GitSelection.fileOrFolderInRepository"
446                   args="hasGitHubConfiguration">
447             </test>
448             <with variable="activePart">
449                <instanceof
450                      value="org.eclipse.ui.IEditorPart">
451                </instanceof>
452                <with
453                      variable="activeEditorInput">
454                   <adapt
455                         type="org.eclipse.core.resources.IResource">
456                      <test
457                            property="GitResource.isShared">
458                      </test>
459                      <test
460                            property="GitResource.hasGitHubConfiguration">
461                      </test>
462                   </adapt>
463                </with>
464             </with>
465          </or>
466       </definition>
467       <definition id="org.eclipse.egit.ui.fileOrFolderFetchFromGitLab">
468          <or>
469             <test
470                   property="GitSelection.fileOrFolderInRepository"
471                   args="hasGitLabConfiguration">
472             </test>
473             <with variable="activePart">
474                <instanceof
475                      value="org.eclipse.ui.IEditorPart">
476                </instanceof>
477                <with
478                      variable="activeEditorInput">
479                   <adapt
480                         type="org.eclipse.core.resources.IResource">
481                      <test
482                            property="GitResource.isShared">
483                      </test>
484                      <test
485                            property="GitResource.hasGitLabConfiguration">
486                      </test>
487                   </adapt>
488                </with>
489             </with>
490          </or>
491       </definition>
492       <definition id="org.eclipse.egit.ui.fileOrFolderFetchFromGitea">
493          <or>
494             <test
495                   property="GitSelection.fileOrFolderInRepository"
496                   args="hasGiteaConfiguration">
497             </test>
498             <with variable="activePart">
499                <instanceof
500                      value="org.eclipse.ui.IEditorPart">
501                </instanceof>
502                <with
503                      variable="activeEditorInput">
504                   <adapt
505                         type="org.eclipse.core.resources.IResource">
506                      <test
507                            property="GitResource.isShared">
508                      </test>
509                      <test
510                            property="GitResource.hasGiteaConfiguration">
511                      </test>
512                   </adapt>
513                </with>
514             </with>
515          </or>
516       </definition>
517       <definition
518             id="org.eclipse.egit.ui.resourcesAllInRepository">
519             <test
520                   property="GitSelection.resourcesAllInRepository">
521             </test>
522       </definition>
523       <definition
524             id="org.eclipse.egit.ui.singleRepositoryCommit">
525          <and>
526             <count value="1" />
527             <iterate>
528                <adapt type="org.eclipse.egit.ui.internal.commit.RepositoryCommit" />
529             </iterate>
530          </and>
531       </definition>
532       <definition
533             id="org.eclipse.egit.ui.singleFileCommit">
534          <and>
535             <count value="1" />
536             <iterate>
537                <instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
538             </iterate>
539             <with variable="activePart">
540                <test property="GitHistory.isSingleFileHistory" />
541             </with>
542          </and>
543       </definition>
544       <definition
545             id="org.eclipse.egit.ui.repoGroups.onlyGroupsSelected">
546          <iterate ifEmpty="false"
547                   operator="and">
548             <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryGroupNode" />
549          </iterate>
550       </definition>
551    </extension>
553    <extension point="org.eclipse.ui.preferencePages">
554       <page name="%GitPreferences_name"
555             category="org.eclipse.team.ui.TeamPreferences"
556             class="org.eclipse.egit.ui.internal.preferences.GitPreferenceRoot"
557             id="org.eclipse.egit.ui.GitPreferences">
558          <keywordReference
559                id="org.eclipse.egit.ui.GitPreferences">
560          </keywordReference>
561       </page>
562       <page name="%GitPreferences_DiffTools_name"
563             category="org.eclipse.egit.ui.GitPreferences"
564             class="org.eclipse.egit.ui.internal.preferences.DiffPreferencePage"
565             id="org.eclipse.egit.ui.DiffPreferencePage">
566          <keywordReference
567                id="org.eclipse.egit.ui.DiffPreferencePage">
568          </keywordReference>
569       </page>
570       <page name="%GitPreferences_ProjectPreferencePage_name"
571             category="org.eclipse.egit.ui.GitPreferences"
572             class="org.eclipse.egit.ui.internal.preferences.ProjectsPreferencePage"
573             id="org.eclipse.egit.ui.internal.preferences.ProjectsPreferencePage" >
574          <keywordReference
575                id="org.eclipse.egit.ui.internal.preferences.ProjectsPreferencePage">
576          </keywordReference>
577       </page>
578       <page name="%GitPreferences_WindowCachePreferencePage_name"
579             category="org.eclipse.egit.ui.GitPreferences"
580             class="org.eclipse.egit.ui.internal.preferences.WindowCachePreferencePage"
581             id="org.eclipse.egit.ui.internal.preferences.WindowCachePreferencePage" >
582          <keywordReference
583                id="org.eclipse.egit.ui.internal.preferences.WindowCachePreferencePage">
584          </keywordReference>
585       </page>
586       <page name="%GitPreferences_DateFormatPreferencePage_name"
587             category="org.eclipse.egit.ui.GitPreferences"
588             class="org.eclipse.egit.ui.internal.preferences.DateFormatPreferencePage"
589             id="org.eclipse.egit.ui.internal.preferences.DateFormatPreferencePage" >
590          <keywordReference
591                id="org.eclipse.egit.ui.internal.preferences.DateFormatPreferencePage">
592          </keywordReference>
593       </page>
594       <page name="%GitPreferences_DecoratorPreferencePage_name"
595             category="org.eclipse.egit.ui.GitPreferences"
596             class="org.eclipse.egit.ui.internal.preferences.GitDecoratorPreferencePage"
597             id="org.eclipse.egit.ui.internal.preferences.GitDecoratorPreferencePage" >
598          <keywordReference
599                id="org.eclipse.egit.ui.internal.preferences.GitDecoratorPreferencePage">
600          </keywordReference>
601       </page>
602       <page
603             category="org.eclipse.egit.ui.GitPreferences"
604             class="org.eclipse.egit.ui.internal.preferences.GlobalConfigurationPreferencePage"
605             id="org.eclipse.egit.ui.internal.preferences.GlobalConfigurationPreferencePage"
606             name="%ConfigurationPage.name">
607          <keywordReference
608                id="org.eclipse.egit.ui.internal.preferences.GlobalConfigurationPreferencePage">
609          </keywordReference>
610       </page>
611       <page
612             category="org.eclipse.egit.ui.GitPreferences"
613             class="org.eclipse.egit.ui.internal.preferences.CommittingPreferencePage"
614             id="org.eclipse.egit.ui.internal.preferences.CommittingPreferencePage"
615             name="%GitPreferences_CommittingPreferencePage_name">
616          <keywordReference
617                id="org.eclipse.egit.ui.internal.preferences.CommittingPreferencePage">
618          </keywordReference>
619       </page>
620       <page
621             category="org.eclipse.egit.ui.GitPreferences"
622             class="org.eclipse.egit.ui.internal.preferences.StagingViewPreferencePage"
623             id="org.eclipse.egit.ui.internal.preferences.StagingViewPreferencePage"
624             name="%GitPreferences_StagingViewPreferencePage_name">
625          <keywordReference
626                id="org.eclipse.egit.ui.internal.preferences.StagingViewPreferencePage">
627          </keywordReference>
628       </page>
629       <page
630             category="org.eclipse.egit.ui.GitPreferences"
631             class="org.eclipse.egit.ui.internal.preferences.DialogsPreferencePage"
632             id="org.eclipse.egit.ui.internal.preferences.DialogsPreferencePage"
633             name="%DialogsPreferencePage.name">
634          <keywordReference
635                id="org.eclipse.egit.ui.internal.preferences.DialogsPreferencePage">
636          </keywordReference>
637       </page>
638       <page
639             category="org.eclipse.egit.ui.GitPreferences"
640             class="org.eclipse.egit.ui.internal.preferences.SynchronizePreferencePage"
641             id="org.eclipse.egit.ui.internal.preferences.SynchronizePreferencePage"
642             name="%SynchronizePreferencePage.name">
643          <keywordReference
644                id="org.eclipse.egit.ui.internal.preferences.SynchronizePreferencePage">
645          </keywordReference>
646       </page>
647       <page
648             category="org.eclipse.egit.ui.GitPreferences"
649             class="org.eclipse.egit.ui.internal.preferences.GitServersPreferencePage"
650             id="org.eclipse.egit.ui.internal.preferences.GitServersPreferencePage"
651             name="%GitServersPreferencePage.name">
652          <keywordReference
653                id="org.eclipse.egit.ui.internal.preferences.GitServersPreferencePage">
654          </keywordReference>
655       </page>
656       <page
657             category="org.eclipse.egit.ui.GitPreferences"
658             class="org.eclipse.egit.ui.internal.preferences.HistoryPreferencePage"
659             id="org.eclipse.egit.ui.internal.preferences.HistoryPreferencePage"
660             name="%HistoryPreferencePage.name">
661          <keywordReference
662                id="org.eclipse.egit.ui.internal.preferences.HistoryPreferencePage">
663          </keywordReference>
664       </page>
665       <page
666             category="org.eclipse.egit.ui.internal.preferences.HistoryPreferencePage"
667             class="org.eclipse.egit.ui.internal.preferences.HistoryColumnsPreferencePage"
668             id="org.eclipse.egit.ui.internal.preferences.HistoryColumnsPreferencePage"
669             name="%HistoryColumnsPreferencePage.name">
670          <keywordReference
671                id="org.eclipse.egit.ui.internal.preferences.HistoryColumnsPreferencePage">
672          </keywordReference>
673       </page>
674    </extension>
676    <extension point="org.eclipse.ui.propertyPages">
677       <page
678             name="%Git"
679             class="org.eclipse.egit.ui.internal.preferences.GitProjectPropertyPage"
680             id="org.eclipse.egit.ui.preferences.GitProjectPropertyPage">
681          <enabledWhen>
682             <adapt type="org.eclipse.core.resources.IResource">
683                <test
684                      property="org.eclipse.core.resources.projectPersistentProperty"
685                      args="org.eclipse.team.core.repository, org.eclipse.egit.core.GitProvider">
686                </test>
687             </adapt>
688          </enabledWhen>
689       </page>
690       <page
691             class="org.eclipse.egit.ui.internal.repository.RepositoryPropertyPage"
692             id="org.eclipse.egit.ui.property.RepositoryPropertyPage"
693             name="%RepositoryConfigPropertyPage">
694          <enabledWhen>
695             <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
696          </enabledWhen>
697       </page>
698       <page
699             class="org.eclipse.egit.ui.internal.repository.RepositoryStatisticsPage"
700             id="org.eclipse.egit.ui.property.RepositoryStatisticsPage"
701             name="%RepositoryStatisticsPage">
702          <enabledWhen>
703             <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
704          </enabledWhen>
705       </page>
706    </extension>
708    <extension point="org.eclipse.ui.keywords">
709       <keyword
710             id="org.eclipse.egit.ui.GitPreferences"
711             label="%GitPreferences_keywords">
712       </keyword>
713       <keyword
714             id="org.eclipse.egit.ui.internal.preferences.ProjectsPreferencePage"
715             label="%ProjectsPreferencePage_keywords">
716       </keyword>
717       <keyword
718             id="org.eclipse.egit.ui.internal.preferences.WindowCachePreferencePage"
719             label="%WindowCachePreferencePage_keywords">
720       </keyword>
721       <keyword
722             id="org.eclipse.egit.ui.internal.preferences.DateFormatPreferencePage"
723             label="%DateFormatPreferencePage_keywords">
724       </keyword>
725       <keyword
726             id="org.eclipse.egit.ui.internal.preferences.GitDecoratorPreferencePage"
727             label="%GitDecoratorPreferencePage_keywords">
728       </keyword>
729       <keyword
730             id="org.eclipse.egit.ui.internal.preferences.GlobalConfigurationPreferencePage"
731             label="%GlobalConfigurationPreferencePage_keywords">
732       </keyword>
733       <keyword
734             id="org.eclipse.egit.ui.internal.preferences.CommittingPreferencePage"
735             label="%CommittingPreferencePage_keywords">
736       </keyword>
737       <keyword
738             id="org.eclipse.egit.ui.internal.preferences.StagingViewPreferencePage"
739             label="%StagingViewPreferencePage_keywords">
740       </keyword>
741       <keyword
742             id="org.eclipse.egit.ui.internal.preferences.DialogsPreferencePage"
743             label="%DialogsPreferencePage_keywords">
744       </keyword>
745       <keyword
746             id="org.eclipse.egit.ui.internal.preferences.SynchronizePreferencePage"
747             label="%SynchronizePreferencePage_keywords">
748       </keyword>
749       <keyword
750             id="org.eclipse.egit.ui.internal.preferences.GitServersPreferencePage"
751             label="%GitServersPreferencePage_keywords">
752       </keyword>
753       <keyword
754             id="org.eclipse.egit.ui.internal.preferences.HistoryPreferencePage"
755             label="%HistoryPreferencePage_keywords">
756       </keyword>
757       <keyword
758             id="org.eclipse.egit.ui.internal.preferences.HistoryColumnsPreferencePage"
759             label="%HistoryColumnsPreferencePage_keywords">
760       </keyword>
761    </extension>
763    <extension point="org.eclipse.ui.decorators">
764       <decorator
765             lightweight="true"
766             adaptable="true"
767             label="%Decorator_name"
768             class="org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator"
769             state="true"
770             location="BOTTOM_RIGHT"
771             id="org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator">
772             <enablement>
773               <objectClass name="org.eclipse.core.resources.mapping.ResourceMapping"/>
774             </enablement>
775          <description>
776             %Decorator_description
777          </description>
778       </decorator>
779       <decorator
780             lightweight="true"
781             adaptable="false"
782             label="%Repo_decorator_name"
783             class="org.eclipse.egit.ui.internal.repository.RepositoryTreeNodeDecorator"
784             state="true"
785             location="BOTTOM_RIGHT"
786             id="org.eclipse.egit.ui.internal.repository.RepositoryTreeNodeDecorator">
787             <enablement>
788               <objectClass name="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode"/>
789             </enablement>
790          <description>
791             %Repo_decorator_description
792          </description>
793       </decorator>
794    </extension>
796    <extension point="org.eclipse.ui.themes">
797       <themeElementCategory
798             id="org.eclipse.egit.ui.GitTheme"
799             label="%Theme_label"/>
800       <fontDefinition
801             id="org.eclipse.egit.ui.CommitGraphNormalFont"
802             categoryId="org.eclipse.egit.ui.GitTheme"
803             label="%Theme_CommitGraphNormalFont_label"
804             defaultsTo="org.eclipse.jface.dialogfont">
805          <description>
806             %Theme_CommitGraphNormalFont_description
807          </description>
808       </fontDefinition>
809       <fontDefinition
810             id="org.eclipse.egit.ui.CommitGraphHighlightFont"
811             categoryId="org.eclipse.egit.ui.GitTheme"
812             label="%Theme_CommitGraphHighlightFont_label"
813             defaultsTo="org.eclipse.jface.dialogfont">
814          <description>
815             %Theme_CommitGraphHighlightFont_description
816          </description>
817       </fontDefinition>
818       <fontDefinition
819             id="org.eclipse.egit.ui.CommitMessageFont"
820             categoryId="org.eclipse.egit.ui.GitTheme"
821             label="%Theme_CommitMessageFont_label"
822             defaultsTo="org.eclipse.jface.textfont">
823          <description>
824             %Theme_CommitMessageFont_description
825          </description>
826       </fontDefinition>
827       <colorDefinition
828             categoryId="org.eclipse.egit.ui.GitTheme"
829             id="org.eclipse.egit.ui.CommitMessageCommentColor"
830             isEditable="true"
831             label="%Theme_CommitMessageCommentColor_label"
832             value="63,127,95">
833          <description>
834             %Theme_CommitMessageCommentColor_description
835          </description>
836       </colorDefinition>
837           <colorDefinition
838         id="org.eclipse.egit.ui.UncommittedChangeForegroundColor"
839         categoryId="org.eclipse.egit.ui.GitTheme"
840         label="%Theme_UncommittedChangeForegroundColor_label"
841         value="COLOR_LIST_FOREGROUND">
842         <description>
843         %Theme_UncommittedChangeForegroundColor_description
844         </description>
845       </colorDefinition>
846       <colorDefinition
847         id="org.eclipse.egit.ui.UncommittedChangeBackgroundColor"
848         categoryId="org.eclipse.egit.ui.GitTheme"
849         label="%Theme_UncommittedChangeBackgroundColor_label"
850         value="COLOR_LIST_BACKGROUND">
851         <description>
852         %Theme_UncommittedChangeBackgroundColor_description
853         </description>
854       </colorDefinition>
855       <fontDefinition
856         id="org.eclipse.egit.ui.UncommittedChangeFont"
857         categoryId="org.eclipse.egit.ui.GitTheme"
858         label="%Theme_UncommittedChangeFont_label">
859         <description>
860         %Theme_UncommittedChangeFont_description
861         </description>
862       </fontDefinition>
863       <fontDefinition
864             categoryId="org.eclipse.egit.ui.GitTheme"
865             defaultsTo="org.eclipse.jface.textfont"
866             id="org.eclipse.egit.ui.CommitMessageEditorFont"
867             label="%Theme_CommitMessageEditorFont_label">
868          <description>
869             %Theme_CommitMessageEditorFont_description
870          </description>
871       </fontDefinition>
872       <colorDefinition
873             categoryId="org.eclipse.egit.ui.GitTheme"
874             id="org.eclipse.egit.ui.DiffHunkBackgroundColor"
875             isEditable="true"
876             label="%Theme_DiffHunkBackgroundColor_label"
877             value="234,242,245">
878          <description>
879             %Theme_DiffHunkBackgroundColor_description
880          </description>
881       </colorDefinition>
882       <colorDefinition
883             categoryId="org.eclipse.egit.ui.GitTheme"
884             id="org.eclipse.egit.ui.DiffHunkForegroundColor"
885             isEditable="true"
886             label="%Theme_DiffHunkForegroundColor_label"
887             value="153,153,153">
888          <description>
889             %Theme_DiffHunkForegroundColor_description
890          </description>
891       </colorDefinition>
892       <colorDefinition
893             categoryId="org.eclipse.egit.ui.GitTheme"
894             id="org.eclipse.egit.ui.DiffAddBackgroundColor"
895             isEditable="true"
896             label="%Theme_DiffAddBackgroundColor_label"
897             value="221,255,221">
898          <description>
899             %Theme_DiffAddBackgroundColor_description
900          </description>
901       </colorDefinition>
902       <colorDefinition
903             categoryId="org.eclipse.egit.ui.GitTheme"
904             id="org.eclipse.egit.ui.DiffAddForegroundColor"
905             isEditable="true"
906             label="%Theme_DiffAddForegroundColor_label"
907             value="COLOR_BLACK">
908          <description>
909             %Theme_DiffAddForegroundColor_description
910          </description>
911       </colorDefinition>
912       <colorDefinition
913             categoryId="org.eclipse.egit.ui.GitTheme"
914             id="org.eclipse.egit.ui.DiffRemoveBackgroundColor"
915             isEditable="true"
916             label="%Theme_DiffRemoveBackgroundColor_label"
917             value="255,221,221">
918          <description>
919             %Theme_DiffRemoveBackgroundColor_description
920          </description>
921       </colorDefinition>
922       <colorDefinition
923             categoryId="org.eclipse.egit.ui.GitTheme"
924             id="org.eclipse.egit.ui.DiffRemoveForegroundColor"
925             isEditable="true"
926             label="%Theme_DiffRemoveForegroundColor_label"
927             value="COLOR_BLACK">
928          <description>
929             %Theme_DiffRemoveForegroundColor_description
930          </description>
931       </colorDefinition>
932       <colorDefinition
933             categoryId="org.eclipse.egit.ui.GitTheme"
934             id="org.eclipse.egit.ui.DiffHeadlineForegroundColor"
935             isEditable="true"
936             label="%Theme_DiffHeadlineForegroundColor_label"
937             value="COLOR_BLACK">
938          <description>
939             %Theme_DiffHeadlineForegroundColor_description
940          </description>
941       </colorDefinition>
942       <colorDefinition
943             categoryId="org.eclipse.egit.ui.GitTheme"
944             id="org.eclipse.egit.ui.DiffHeadlineBackgroundColor"
945             isEditable="true"
946             label="%Theme_DiffHeadlineBackgroundColor_label"
947             value="170,170,170">
948          <description>
949             %Theme_DiffHeadlineBackgroundColor_description
950          </description>
951       </colorDefinition>
952       <fontDefinition
953             categoryId="org.eclipse.egit.ui.GitTheme"
954             defaultsTo="org.eclipse.jface.textfont"
955             id="org.eclipse.egit.ui.DiffHeadlineFont"
956             label="%Theme_DiffHeadlineFont_label">
957          <description>
958             %Theme_DiffHeadlineFont_description
959          </description>
960       </fontDefinition>
961       <colorDefinition
962         id="org.eclipse.egit.ui.IgnoredResourceForegroundColor"
963         categoryId="org.eclipse.egit.ui.GitTheme"
964         label="%Theme_IgnoredResourceForegroundColor_label"
965         value="COLOR_LIST_FOREGROUND">
966         <description>
967         %Theme_IgnoredResourceForegroundColor_description
968         </description>
969       </colorDefinition>
970       <colorDefinition
971         id="org.eclipse.egit.ui.IgnoredResourceBackgroundColor"
972         categoryId="org.eclipse.egit.ui.GitTheme"
973         label="%Theme_IgnoredResourceBackgroundColor_label"
974         value="COLOR_LIST_BACKGROUND">
975         <description>
976         %Theme_IgnoredResourceBackgroundColor_description
977         </description>
978       </colorDefinition>
979       <fontDefinition
980             categoryId="org.eclipse.egit.ui.GitTheme"
981             id="org.eclipse.egit.ui.IgnoredResourceFont"
982             label="%Theme_IgnoredResourceFont_label">
983         <description>
984         %Theme_IgnoredResourceFont_description
985         </description>
986       </fontDefinition>
987    </extension>
989 <!-- ********** QuickDiff text editor support ************** -->
990    <extension
991          point="org.eclipse.ui.workbench.texteditor.quickDiffReferenceProvider">
992       <referenceprovider
993             label="%GitRemoteQuickDiffProvider_label"
994             class="org.eclipse.egit.ui.internal.decorators.GitQuickDiffProvider"
995             id="org.eclipse.egit.ui.internal.decorators.GitQuickDiffProvider">
996       </referenceprovider>
997    </extension>
998    <extension
999          point="org.eclipse.ui.actionSets">
1000       <actionSet
1001            description="%GitActions_description"
1002            id="org.eclipse.egit.ui.gitaction"
1003            label="%GitActions_label"
1004            visible="false">
1005          <menu
1006            id="org.eclipse.egit.ui.gitmenu"
1007            label="%GitMenu_label"
1008            path="additions">
1009             <separator name="repositoryGroup" />
1010              </menu>
1011          <action
1012            class="org.eclipse.egit.ui.internal.actions.PullFromUpstreamConfigAction"
1013            definitionId="org.eclipse.egit.ui.team.Pull"
1014            icon="icons/obj16/pull.png"
1015            id="org.eclipse.egit.ui.actionpull"
1016            label="%PullIntoCurrentBranchMenuLabel"
1017            menubarPath="org.eclipse.egit.ui.gitmenu/repo"
1018            style="push"
1019            toolbarPath="org.eclipse.egit.ui"
1020            tooltip="%PullIntoCurrentBranch.tooltip">
1021          </action>
1022          <action
1023            class="org.eclipse.egit.ui.internal.actions.PullWithOptionsAction"
1024            definitionId="org.eclipse.egit.ui.team.PullWithOptions"
1025            icon="icons/obj16/pull_with_options.png"
1026            id="org.eclipse.egit.ui.actionpullwithoptions"
1027            label="%PullWithOptions.name"
1028            menubarPath="org.eclipse.egit.ui.gitmenu/repo"
1029            style="push"
1030            toolbarPath="org.eclipse.egit.ui"
1031            tooltip="%PullWithOptions.tooltip">
1032          </action>
1033                  <action
1034            class="org.eclipse.egit.ui.internal.actions.SimpleFetchAction"
1035            definitionId="org.eclipse.egit.ui.team.SimpleFetch"
1036            icon="icons/obj16/fetch.png"
1037            id="org.eclipse.egit.ui.actionfetch"
1038            label="%FetchFromUpstreamAction.label"
1039            menubarPath="org.eclipse.egit.ui.gitmenu/repo"
1040            style="push"
1041            toolbarPath="org.eclipse.egit.ui"
1042            tooltip="%FetchAction_tooltip">
1043                  </action>
1044                  <action
1045            class="org.eclipse.egit.ui.internal.actions.PushUpstreamOrBranchAction"
1046            definitionId="org.eclipse.egit.ui.team.SimplePush"
1047            icon="icons/obj16/push.png"
1048            id="org.eclipse.egit.ui.actionpush"
1049            label="%PushToUpstreamAction.label"
1050            menubarPath="org.eclipse.egit.ui.gitmenu/repo"
1051            style="push"
1052            toolbarPath="org.eclipse.egit.ui"
1053            tooltip="%PushToUpstreamAction.tooltip">
1054                  </action>
1055                  <action
1056            class="org.eclipse.egit.ui.internal.actions.ResetAction"
1057            definitionId="org.eclipse.egit.ui.team.Reset"
1058            icon="icons/obj16/reset.png"
1059            id="org.eclipse.egit.ui.actionreset"
1060            label="%ResetAction_label"
1061            menubarPath="org.eclipse.egit.ui.gitmenu/repositoryGroup"
1062            style="push"
1063            toolbarPath="Normal/additions"
1064            tooltip="%ResetAction_tooltip">
1065                  </action>
1066                  <action
1067            class="org.eclipse.egit.ui.internal.actions.MergeAction"
1068            definitionId="org.eclipse.egit.ui.team.Merge"
1069            icon="icons/obj16/merge.png"
1070            id="org.eclipse.egit.ui.actionmerge"
1071            label="%MergeAction_label"
1072            menubarPath="org.eclipse.egit.ui.gitmenu/repositoryGroup"
1073            style="push"
1074            toolbarPath="Normal/additions"
1075            tooltip="%MergeAction_tooltip">
1076                  </action>
1077                  <action
1078            class="org.eclipse.egit.ui.internal.actions.RebaseAction"
1079            definitionId="org.eclipse.egit.ui.team.Rebase"
1080            icon="icons/obj16/rebase.png"
1081            id="org.eclipse.egit.ui.actionrebase"
1082            label="%RebaseAction_label"
1083            style="pulldown"
1084            toolbarPath="Normal/additions"
1085            tooltip="%RebaseAction_tooltip">
1086          </action>
1087          <action
1088            class="org.eclipse.egit.ui.internal.actions.BranchAction"
1089            definitionId="org.eclipse.egit.ui.team.Branch"
1090            icon="icons/obj16/branch_obj.png"
1091            id="org.eclipse.egit.ui.actionbranch"
1092            label="%BranchAction_label"
1093            menubarPath="org.eclipse.egit.ui.gitmenu/repositoryGroup"
1094            style="push"
1095            toolbarPath="Normal/additions"
1096            tooltip="%BranchAction_tooltip">
1097          </action>
1098          <action
1099            class="org.eclipse.egit.ui.internal.actions.StashToolbarAction"
1100            definitionId="org.eclipse.egit.ui.team.stash.create"
1101            icon="icons/obj16/stash.png"
1102            id="org.eclipse.egit.ui.actionstash"
1103            label="%StashToolbarAction_label"
1104            style="pulldown"
1105            toolbarPath="Normal/additions"
1106            tooltip="%StashToolbarAction_tooltip">
1107          </action>
1108          <action
1109            class="org.eclipse.egit.ui.internal.actions.CommitAction"
1110            definitionId="org.eclipse.egit.ui.team.Commit"
1111            icon="icons/obj16/commit.png"
1112            id="org.eclipse.egit.ui.actioncommit"
1113            label="%CommitAction_label"
1114            menubarPath="org.eclipse.egit.ui.gitmenu/repositoryGroup"
1115            style="push"
1116            toolbarPath="Normal/additions"
1117            tooltip="%CommitAction_tooltip">
1118          </action>
1119          <action
1120            class="org.eclipse.egit.ui.internal.actions.AddToIndexAction"
1121            definitionId="org.eclipse.egit.ui.team.AddToIndex"
1122            icon="icons/obj16/add.png"
1123            id="org.eclipse.egit.ui.actionadd"
1124            label="%AddToIndexAction_label"
1125            menubarPath="org.eclipse.egit.ui.gitmenu/repositoryGroup"
1126            style="push"
1127            toolbarPath="Normal/additions"
1128            tooltip="%AddToIndexAction_tooltip">
1129          </action>
1130       </actionSet>
1131    </extension>
1132    <extension
1133          name="%SharedCommandsLabel"
1134          point="org.eclipse.ui.commands">
1135       <command
1136             defaultHandler="org.eclipse.egit.ui.internal.commands.ShareSingleProjectCommand"
1137             description="%ShareProjectCommand_desc"
1138             id="org.eclipse.egit.ui.command.shareProject"
1139             name="%ShareProjectCommand_name">
1140          <commandParameter
1141                id="org.eclipse.egit.ui.command.projectNameParameter"
1142                name="%ShareProjectCommandParameter_name"
1143                optional="false"
1144                values="org.eclipse.egit.ui.internal.commands.ProjectNameParameterValues">
1145          </commandParameter>
1146       </command>
1147       <category
1148             id="org.eclipse.egit.ui.commandCategory"
1149             name="%Git">
1150       </category>
1151       <command
1152             categoryId="org.eclipse.egit.ui.commandCategory"
1153             defaultHandler="org.eclipse.egit.ui.internal.commands.ConfigureDebugTraceCommand"
1154             id="org.eclipse.egit.ui.command.configureTrace"
1155             name="%ConfigureTraceCommand.name">
1156       </command>
1157       <command
1158             categoryId="org.eclipse.egit.ui.commandCategory"
1159             defaultHandler="org.eclipse.egit.ui.internal.commands.shared.FetchChangeFromGerritCommand"
1160             id="org.eclipse.egit.ui.FetchGerritChange"
1161             name="%FetchFromGerritCommand.name">
1162       </command>
1163       <command
1164             categoryId="org.eclipse.egit.ui.commandCategory"
1165             defaultHandler="org.eclipse.egit.ui.internal.commands.shared.FetchChangeFromServerCommandFactory:GITHUB"
1166             id="org.eclipse.egit.ui.FetchGitHubPR"
1167             name="%FetchFromGitHubCommand.name">
1168       </command>
1169       <command
1170             categoryId="org.eclipse.egit.ui.commandCategory"
1171             defaultHandler="org.eclipse.egit.ui.internal.commands.shared.FetchChangeFromServerCommandFactory:GITLAB"
1172             id="org.eclipse.egit.ui.FetchGitLabMergeRequest"
1173             name="%FetchFromGitLabCommand.name">
1174       </command>
1175       <command
1176             categoryId="org.eclipse.egit.ui.commandCategory"
1177             defaultHandler="org.eclipse.egit.ui.internal.commands.shared.FetchChangeFromServerCommandFactory:GITEA"
1178             id="org.eclipse.egit.ui.FetchGiteaPullRequest"
1179             name="%FetchFromGiteaCommand.name">
1180       </command>
1181       <command
1182             categoryId="org.eclipse.egit.ui.commandCategory"
1183             id="org.eclipse.egit.ui.team.Commit"
1184             name="%CommitCommand.name">
1185       </command>
1186       <command
1187             categoryId="org.eclipse.egit.ui.commandCategory"
1188             id="org.eclipse.egit.ui.team.SimpleFetch"
1189             name="%FetchUpstreamCommand.name">
1190       </command>
1191       <command
1192             categoryId="org.eclipse.egit.ui.commandCategory"
1193             id="org.eclipse.egit.ui.team.SimplePush"
1194             name="%PushUpstreamCommand.name">
1195       </command>
1196       <command
1197             categoryId="org.eclipse.egit.ui.commandCategory"
1198             id="org.eclipse.egit.ui.team.Pull"
1199             name="%TeamPullCommand.name">
1200       </command>
1201       <command
1202             categoryId="org.eclipse.egit.ui.commandCategory"
1203             id="org.eclipse.egit.ui.team.PullWithOptions"
1204             name="%PullWithOptions.name">
1205       </command>
1206       <command
1207             categoryId="org.eclipse.egit.ui.commandCategory"
1208             id="org.eclipse.egit.ui.team.Fetch"
1209             name="%FetchCommand.name">
1210       </command>
1211       <command
1212             categoryId="org.eclipse.egit.ui.commandCategory"
1213             id="org.eclipse.egit.ui.team.Push"
1214             name="%PushCommand.name">
1215       </command>
1216       <command
1217             categoryId="org.eclipse.egit.ui.commandCategory"
1218             id="org.eclipse.egit.ui.team.PushBranch"
1219             name="%PushBranchCommand.name">
1220       </command>
1221       <command
1222             categoryId="org.eclipse.egit.ui.commandCategory"
1223             id="org.eclipse.egit.ui.team.PushTags"
1224             name="%PushTagsCommand.name">
1225       </command>
1226       <command
1227             categoryId="org.eclipse.egit.ui.commandCategory"
1228             id="org.eclipse.egit.ui.team.Merge"
1229             name="%MergeCommand.name">
1230       </command>
1231       <command
1232             categoryId="org.eclipse.egit.ui.commandCategory"
1233             id="org.eclipse.egit.ui.team.Synchronize"
1234             name="%SynchronizeCommand.name">
1235       </command>
1236       <command
1237             categoryId="org.eclipse.egit.ui.commandCategory"
1238             id="org.eclipse.egit.ui.team.ShowHistory"
1239             name="%ShowInHistoryCommand.name">
1240       </command>
1241       <command
1242             categoryId="org.eclipse.egit.ui.commandCategory"
1243             id="org.eclipse.egit.ui.team.OpenCommit"
1244             name="%OpenCommit.name">
1245       </command>
1246       <command
1247             categoryId="org.eclipse.egit.ui.commandCategory"
1248             id="org.eclipse.egit.ui.team.Reset"
1249             name="%ResetCommand.name">
1250       </command>
1251       <command
1252             categoryId="org.eclipse.egit.ui.commandCategory"
1253             id="org.eclipse.egit.ui.team.Rebase"
1254             name="%RebaseCommand.name">
1255       </command>
1256       <command
1257             categoryId="org.eclipse.egit.ui.commandCategory"
1258             id="org.eclipse.egit.ui.team.ShowBlame"
1259             name="%ShowBlameCommand.name">
1260       </command>
1261       <command
1262             categoryId="org.eclipse.egit.ui.commandCategory"
1263             defaultHandler="org.eclipse.egit.ui.internal.commands.shared.PushHeadToGerritCommand"
1264             id="org.eclipse.egit.ui.PushHeadToGerrit"
1265             name="%PushToGerritCommand.label">
1266       </command>
1267       <command
1268             categoryId="org.eclipse.egit.ui.commandCategory"
1269             id="org.eclipse.egit.ui.team.GarbageCollect"
1270             name="%GarbageCollectCommand.label">
1271       </command>
1272       <command
1273             categoryId="org.eclipse.egit.ui.commandCategory"
1274             id="org.eclipse.egit.ui.team.InstallLfsLocal"
1275             name="%InstallLfsLocalCommand.label">
1276       </command>
1277       <command
1278             categoryId="org.eclipse.egit.ui.commandCategory"
1279             id="org.eclipse.egit.ui.team.Disconnect"
1280             name="%DisconnectCommand.name">
1281       </command>
1282       <command
1283             categoryId="org.eclipse.egit.ui.commandCategory"
1284             id="org.eclipse.egit.ui.team.CherryPick"
1285             name="%CherryPickCommand.name">
1286       </command>
1287       <command
1288             categoryId="org.eclipse.egit.ui.commandCategory"
1289             id="org.eclipse.egit.ui.team.Revert"
1290             name="%RevertCommand.name">
1291       </command>
1292       <command
1293             categoryId="org.eclipse.egit.ui.commandCategory"
1294             id="org.eclipse.egit.ui.commit.DiffEditorQuickOutlineCommand"
1295             name="%UnifiedDiffQuickOutlineCommand.name"
1296             description="%UnifiedDiffQuickOutlineCommand.description">
1297       </command>
1298       <command
1299             categoryId="org.eclipse.egit.ui.commandCategory"
1300             id="org.eclipse.egit.ui.internal.merge.ToggleCurrentChangesCommand"
1301             name="%ToggleCurrentChangesCommand.name"
1302             description="%ToggleCurrentChangesCommand.description">
1303       </command>
1304    </extension>
1305    <extension
1306          point="org.eclipse.ui.handlers">
1307       <handler
1308             commandId="org.eclipse.egit.ui.CheckoutCommand">
1309          <class
1310                class="org.eclipse.egit.ui.internal.reflog.command.CheckoutHandler">
1311          </class>
1312          <activeWhen>
1313             <and>
1314                <count value="1" />
1315                <iterate>
1316                   <adapt type="org.eclipse.jgit.lib.ReflogEntry" />
1317                </iterate>
1318             </and>
1319          </activeWhen>
1320       </handler>
1321       <handler
1322             commandId="org.eclipse.egit.ui.history.OpenInCommitViewerCommand">
1323          <class
1324                class="org.eclipse.egit.ui.internal.reflog.command.OpenInCommitViewerHandler">
1325          </class>
1326          <activeWhen>
1327             <and>
1328                <count value="1" />
1329                <iterate>
1330                   <adapt type="org.eclipse.jgit.lib.ReflogEntry" />
1331                </iterate>
1332             </and>
1333          </activeWhen>
1334       </handler>
1335       <handler
1336             commandId="org.eclipse.egit.ui.history.Reset">
1337          <class
1338                class="org.eclipse.egit.ui.internal.reflog.command.ResetHandler">
1339          </class>
1340          <activeWhen>
1341             <and>
1342                <count value="1" />
1343                <iterate>
1344                   <adapt type="org.eclipse.jgit.lib.ReflogEntry" />
1345                </iterate>
1346             </and>
1347          </activeWhen>
1348       </handler>
1349       <handler
1350             commandId="org.eclipse.egit.ui.team.Commit">
1351          <class
1352                class="org.eclipse.egit.ui.internal.actions.CommitActionHandler">
1353          </class>
1354          <activeWhen>
1355             <or>
1356                <reference
1357                      definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
1358                </reference>
1359                <and>
1360                   <count
1361                         value="1">
1362                   </count>
1363                   <iterate>
1364                      <instanceof
1365                            value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode">
1366                      </instanceof>
1367                      <not>
1368                         <instanceof
1369                               value="org.eclipse.egit.ui.internal.selection.RepositoryVirtualNode">
1370                         </instanceof>
1371                      </not>
1372                      <test property="GitRepository.isBare" value="false" />
1373                   </iterate>
1374                </and>
1375             </or>
1376          </activeWhen>
1377       </handler>
1378       <handler
1379             commandId="org.eclipse.egit.ui.team.SimpleFetch">
1380          <class
1381                class="org.eclipse.egit.ui.internal.repository.tree.command.FetchConfiguredRemoteCommand">
1382          </class>
1383          <activeWhen>
1384             <and>
1385                <count
1386                      value="1">
1387                </count>
1388                <and>
1389                   <iterate>
1390                      <or>
1391                         <instanceof
1392                               value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
1393                         </instanceof>
1394                         <instanceof
1395                               value="org.eclipse.egit.ui.internal.repository.tree.FetchNode">
1396                         </instanceof>
1397                         <instanceof
1398                               value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
1399                         </instanceof>
1400                      </or>
1401                   </iterate>
1402                </and>
1403             </and>
1404          </activeWhen>
1405       </handler>
1406       <handler
1407             commandId="org.eclipse.egit.ui.team.SimpleFetch">
1408          <class
1409                class="org.eclipse.egit.ui.internal.actions.SimpleFetchActionHandler">
1410          </class>
1411          <activeWhen>
1412             <test
1413                   property="GitSelection.resourcesSingleRepository">
1414             </test>
1415          </activeWhen>
1416       </handler>
1417       <handler
1418             commandId="org.eclipse.egit.ui.team.SimplePush">
1419          <class
1420                class="org.eclipse.egit.ui.internal.repository.tree.command.PushConfiguredRemoteCommand">
1421          </class>
1422          <activeWhen>
1423             <and>
1424                <count
1425                      value="1">
1426                </count>
1427                <and>
1428                   <iterate>
1429                      <or>
1430                         <instanceof
1431                               value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
1432                         </instanceof>
1433                         <instanceof
1434                               value="org.eclipse.egit.ui.internal.repository.tree.PushNode">
1435                         </instanceof>
1436                         <instanceof
1437                               value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
1438                         </instanceof>
1439                      </or>
1440                   </iterate>
1441                </and>
1442             </and>
1443          </activeWhen>
1444       </handler>
1445       <handler
1446             commandId="org.eclipse.ui.edit.findReplace">
1447          <class
1448                class="org.eclipse.egit.ui.internal.repository.tree.command.FilterCommand">
1449          </class>
1450          <activeWhen>
1451             <and>
1452                <with variable="activePartId">
1453                   <equals value="org.eclipse.egit.ui.RepositoriesView" />
1454                </with>
1455                <count value="1" />
1456                <iterate>
1457                   <instanceof value="org.eclipse.egit.ui.internal.repository.tree.TagsNode" />
1458                </iterate>
1459             </and>
1460          </activeWhen>
1461       </handler>
1462       <handler
1463             commandId="org.eclipse.egit.ui.team.SimplePush">
1464          <class
1465                class="org.eclipse.egit.ui.internal.actions.SimplePushActionHandler">
1466          </class>
1467          <activeWhen>
1468             <test
1469                   property="GitSelection.resourcesSingleRepository">
1470             </test>
1471          </activeWhen>
1472       </handler>
1473       <handler
1474             commandId="org.eclipse.egit.ui.team.Pull">
1475          <class
1476                class="org.eclipse.egit.ui.internal.actions.PullFromUpstreamActionHandler">
1477          </class>
1478          <activeWhen>
1479             <or>
1480                <test
1481                      property="GitSelection.resourcesAllInRepository">
1482                </test>
1483                <iterate>
1484                   <instanceof
1485                         value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode">
1486                   </instanceof>
1487                   <not>
1488                      <instanceof
1489                            value="org.eclipse.egit.ui.internal.selection.RepositoryVirtualNode">
1490                      </instanceof>
1491                   </not>
1492                </iterate>
1493             </or>
1494          </activeWhen>
1495       </handler>
1496       <handler
1497             commandId="org.eclipse.egit.ui.team.PullWithOptions">
1498          <class
1499                class="org.eclipse.egit.ui.internal.actions.PullWithOptionsActionHandler">
1500          </class>
1501         <activeWhen>
1502             <or>
1503                <reference
1504                      definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
1505                </reference>
1506                <and>
1507                   <count
1508                         value="1">
1509                   </count>
1510                   <iterate>
1511                      <instanceof
1512                            value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode">
1513                      </instanceof>
1514                      <not>
1515                         <instanceof
1516                               value="org.eclipse.egit.ui.internal.selection.RepositoryVirtualNode">
1517                         </instanceof>
1518                      </not>
1519                      <test property="GitRepository.isBare" value="false" />
1520                   </iterate>
1521                </and>
1522             </or>
1523          </activeWhen>
1524       </handler>
1525       <handler
1526             commandId="org.eclipse.egit.ui.team.Fetch">
1527          <class
1528                class="org.eclipse.egit.ui.internal.repository.tree.command.FetchCommand">
1529          </class>
1530          <activeWhen>
1531             <and>
1532                <count
1533                      value="1">
1534                </count>
1535                <and>
1536                   <iterate>
1537                      <instanceof
1538                            value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
1539                      </instanceof>
1540                   </iterate>
1541                </and>
1542             </and>
1543          </activeWhen>
1544       </handler>
1545       <handler
1546             commandId="org.eclipse.egit.ui.team.Fetch">
1547          <class
1548                class="org.eclipse.egit.ui.internal.actions.FetchActionHandler">
1549          </class>
1550          <activeWhen>
1551             <test
1552                   property="GitSelection.projectsSingleRepository">
1553             </test>
1554          </activeWhen>
1555       </handler>
1556       <handler
1557             commandId="org.eclipse.egit.ui.team.Push">
1558          <class
1559                class="org.eclipse.egit.ui.internal.repository.tree.command.PushCommand">
1560          </class>
1561          <activeWhen>
1562             <or>
1563                <and>
1564                   <count
1565                         value="1">
1566                   </count>
1567                   <iterate>
1568                      <or>
1569                         <instanceof
1570                               value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
1571                         </instanceof>
1572                         <instanceof
1573                               value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
1574                         </instanceof>
1575                      </or>
1576                   </iterate>
1577                </and>
1578                <and>
1579                   <count
1580                         value="+">
1581                   </count>
1582                   <iterate>
1583                      <instanceof
1584                            value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
1585                      </instanceof>
1586                   </iterate>
1587                </and>
1588             </or>
1589          </activeWhen>
1590       </handler>
1591       <handler
1592             commandId="org.eclipse.egit.ui.team.Push">
1593          <class
1594                class="org.eclipse.egit.ui.internal.actions.PushActionHandler">
1595          </class>
1596          <activeWhen>
1597             <test
1598                   property="GitSelection.projectsSingleRepository">
1599             </test>
1600          </activeWhen>
1601       </handler>
1602       <handler
1603             commandId="org.eclipse.egit.ui.team.PushBranch">
1604          <class
1605                class="org.eclipse.egit.ui.internal.actions.PushBranchActionHandler">
1606          </class>
1607          <activeWhen>
1608             <or>
1609                <reference
1610                      definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
1611                </reference>
1612                <and>
1613                   <count
1614                         value="1">
1615                   </count>
1616                   <iterate>
1617                              <instanceof
1618                                    value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
1619                              </instanceof>
1620                   </iterate>
1621                </and>
1622             </or>
1623          </activeWhen>
1624       </handler>
1625       <handler
1626             commandId="org.eclipse.egit.ui.team.PushTags">
1627          <class
1628                class="org.eclipse.egit.ui.internal.actions.PushTagsActionHandler">
1629          </class>
1630          <activeWhen>
1631             <or>
1632                <test
1633                      property="GitSelection.projectsSingleRepository">
1634                </test>
1635                <and>
1636                   <count
1637                         value="1">
1638                   </count>
1639                   <iterate>
1640                              <instanceof
1641                                    value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
1642                              </instanceof>
1643                   </iterate>
1644                </and>
1645                <and>
1646                   <count
1647                         value="1">
1648                   </count>
1649                   <iterate>
1650                              <instanceof
1651                                    value="org.eclipse.egit.ui.internal.repository.tree.TagsNode">
1652                              </instanceof>
1653                   </iterate>
1654                </and>
1655             </or>
1656          </activeWhen>
1657       </handler>
1658       <handler
1659             commandId="org.eclipse.egit.ui.team.Merge">
1660          <class
1661                class="org.eclipse.egit.ui.internal.repository.tree.command.MergeCommand">
1662          </class>
1663          <activeWhen>
1664             <and>
1665                <count
1666                      value="1">
1667                </count>
1668                <and>
1669                   <iterate>
1670                      <or>
1671                         <instanceof
1672                               value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
1673                         </instanceof>
1674                         <instanceof
1675                               value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
1676                         </instanceof>
1677                         <instanceof
1678                               value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
1679                         </instanceof>
1680                      </or>
1681                   </iterate>
1682                </and>
1683             </and>
1684          </activeWhen>
1685       </handler>
1686       <handler
1687             class="org.eclipse.egit.ui.internal.repository.tree.command.AddToIndexCommand"
1688             commandId="org.eclipse.egit.ui.team.AddToIndex">
1689          <activeWhen>
1690             <and>
1691                <count
1692                      value="+">
1693                </count>
1694                <iterate
1695                      ifEmpty="false"
1696                      operator="and">
1697                   <or>
1698                      <instanceof
1699                            value="org.eclipse.egit.ui.internal.repository.tree.FileNode">
1700                      </instanceof>
1701                      <instanceof
1702                            value="org.eclipse.egit.ui.internal.repository.tree.FolderNode">
1703                      </instanceof>
1704                      <instanceof
1705                            value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode">
1706                      </instanceof>
1707                   </or>
1708                </iterate>
1709             </and>
1710          </activeWhen>
1711       </handler>
1712       <handler
1713             commandId="org.eclipse.ui.edit.delete">
1714          <class
1715                class="org.eclipse.egit.ui.internal.repository.tree.command.DeleteFileCommand">
1716          </class>
1717          <activeWhen>
1718                <and>
1719                   <count
1720                         value="+">
1721                   </count>
1722                   <iterate
1723                         ifEmpty="false"
1724                         operator="and">
1725                      <or>
1726                         <instanceof
1727                               value="org.eclipse.egit.ui.internal.repository.tree.FileNode">
1728                         </instanceof>
1729                         <instanceof
1730                               value="org.eclipse.egit.ui.internal.repository.tree.FolderNode">
1731                         </instanceof>
1732                      </or>
1733                   </iterate>
1734                </and>
1735          </activeWhen>
1736       </handler>
1737       <handler
1738             commandId="org.eclipse.ui.edit.delete">
1739          <class
1740                class="org.eclipse.egit.ui.internal.repository.tree.command.RemoveOrDeleteRepositoryCommand">
1741          </class>
1742          <activeWhen>
1743             <and>
1744                <count
1745                      value="1">
1746                </count>
1747                <iterate>
1748                   <instanceof
1749                         value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
1750                   </instanceof>
1751                </iterate>
1752             </and>
1753          </activeWhen>
1754       </handler>
1755       <handler
1756             commandId="org.eclipse.ui.edit.delete">
1757          <class
1758                class="org.eclipse.egit.ui.internal.repository.tree.command.DeleteBranchCommand">
1759          </class>
1760          <activeWhen>
1761                <and>
1762                   <count
1763                         value="+">
1764                   </count>
1765                   <iterate>
1766                      <and>
1767                         <or>
1768                            <instanceof
1769                                  value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
1770                            </instanceof>
1771                            <instanceof
1772                                  value="org.eclipse.egit.ui.internal.repository.tree.BranchHierarchyNode">
1773                            </instanceof>
1774                            <test
1775                                  property="GitRepository.isLocalBranch">
1776                            </test>
1777                         </or>
1778                         <test property="GitRepository.isRefCheckedOut" value="false" />
1779                      </and>
1780                   </iterate>
1781                </and>
1782          </activeWhen>
1783       </handler>
1784       <handler
1785             commandId="org.eclipse.ui.edit.delete">
1786          <class
1787                class="org.eclipse.egit.ui.internal.repository.tree.command.RemoveRemoteCommand">
1788          </class>
1789          <activeWhen>
1790             <and>
1791                <count
1792                      value="1">
1793                </count>
1794                <iterate
1795                      ifEmpty="false"
1796                      operator="and">
1797                   <instanceof
1798                         value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
1799                   </instanceof>
1800                </iterate>
1801             </and>
1802          </activeWhen>
1803       </handler>
1804       <handler
1805             commandId="org.eclipse.ui.edit.delete">
1806          <class
1807                class="org.eclipse.egit.ui.internal.repository.tree.command.DeleteFetchCommand">
1808          </class>
1809          <activeWhen>
1810             <and>
1811                <count
1812                      value="1">
1813                </count>
1814                <iterate
1815                      ifEmpty="false"
1816                      operator="and">
1817                   <instanceof
1818                         value="org.eclipse.egit.ui.internal.repository.tree.FetchNode">
1819                   </instanceof>
1820                </iterate>
1821             </and>
1822          </activeWhen>
1823       </handler>
1824       <handler
1825             commandId="org.eclipse.ui.edit.delete">
1826          <class
1827                class="org.eclipse.egit.ui.internal.repository.tree.command.DeletePushCommand">
1828          </class>
1829          <activeWhen>
1830             <and>
1831                <count
1832                      value="1">
1833                </count>
1834                <iterate
1835                      ifEmpty="false"
1836                      operator="and">
1837                   <instanceof
1838                         value="org.eclipse.egit.ui.internal.repository.tree.PushNode">
1839                   </instanceof>
1840                </iterate>
1841             </and>
1842          </activeWhen>
1843       </handler>
1844       <handler
1845             commandId="org.eclipse.egit.ui.RepositoriesViewConfigureBranch">
1846          <class
1847                class="org.eclipse.egit.ui.internal.repository.tree.command.ConfigureBranchCommand">
1848          </class>
1849          <activeWhen>
1850             <reference
1851                   definitionId="org.eclipse.egit.ui.singleRefNode">
1852             </reference>
1853          </activeWhen>
1854       </handler>
1855       <handler
1856             commandId="org.eclipse.egit.ui.RepositoriesViewConfigureFetch">
1857          <class
1858                class="org.eclipse.egit.ui.internal.repository.tree.command.ConfigureFetchCommand">
1859          </class>
1860          <activeWhen>
1861             <reference
1862                   definitionId="org.eclipse.egit.ui.repositoriesViewCanConfigureFetch">
1863             </reference>
1864          </activeWhen>
1865       </handler>
1866       <handler
1867             commandId="org.eclipse.egit.ui.RepositoriesViewConfigurePush">
1868          <class
1869                class="org.eclipse.egit.ui.internal.repository.tree.command.ConfigurePushCommand">
1870          </class>
1871          <activeWhen>
1872             <reference
1873                   definitionId="org.eclipse.egit.ui.repositoriesViewCanConfigurePush">
1874             </reference>
1875          </activeWhen>
1876       </handler>
1877       <handler
1878             commandId="org.eclipse.egit.ui.RepositoriesViewChangeCredentials">
1879          <class
1880                class="org.eclipse.egit.ui.internal.repository.tree.command.ChangeCredentialsCommand">
1881          </class>
1882          <activeWhen>
1883             <reference
1884                   definitionId="org.eclipse.egit.ui.repositoryTreePushFetchNode">
1885             </reference>
1886          </activeWhen>
1887       </handler>
1888       <handler
1889             commandId="org.eclipse.egit.ui.RepositoriesViewClearCredentials">
1890          <class
1891                class="org.eclipse.egit.ui.internal.repository.tree.command.ClearCredentialsCommand">
1892          </class>
1893          <activeWhen>
1894             <reference
1895                   definitionId="org.eclipse.egit.ui.repositoryTreePushFetchNode">
1896             </reference>
1897          </activeWhen>
1898       </handler>
1899       <handler
1900             commandId="org.eclipse.ui.edit.delete">
1901          <class
1902                class="org.eclipse.egit.ui.internal.repository.tree.command.DeleteTagCommand">
1903          </class>
1904          <activeWhen>
1905             <and>
1906               <count
1907                      value="+">
1908               </count>
1909               <iterate>
1910                  <instanceof
1911                         value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
1912                   </instanceof>
1913                </iterate>
1914             </and>
1915          </activeWhen>
1916       </handler>
1917       <handler
1918             commandId="org.eclipse.egit.ui.team.Merge">
1919          <class
1920                class="org.eclipse.egit.ui.internal.actions.MergeActionHandler">
1921          </class>
1922          <activeWhen>
1923             <test
1924                   property="GitSelection.projectsSingleRepository">
1925             </test>
1926          </activeWhen>
1927       </handler>
1928       <handler
1929             commandId="org.eclipse.egit.ui.team.Rebase">
1930          <class
1931                class="org.eclipse.egit.ui.internal.commands.shared.RebaseCurrentRefCommand">
1932          </class>
1933          <activeWhen>
1934             <and>
1935                <count
1936                      value="1">
1937                </count>
1938                <iterate>
1939                   <instanceof
1940                         value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode">
1941                   </instanceof>
1942                   <not>
1943                      <instanceof
1944                            value="org.eclipse.egit.ui.internal.selection.RepositoryVirtualNode">
1945                      </instanceof>
1946                   </not>
1947                </iterate>
1948             </and>
1949          </activeWhen>
1950       </handler>
1951       <handler
1952             commandId="org.eclipse.egit.ui.team.Rebase">
1953          <class
1954                class="org.eclipse.egit.ui.internal.actions.RebaseActionHandler">
1955          </class>
1956          <activeWhen>
1957             <test
1958                   property="GitSelection.projectsSingleRepository">
1959             </test>
1960          </activeWhen>
1961       </handler>
1962       <handler
1963             commandId="org.eclipse.egit.ui.team.Synchronize">
1964          <class
1965                class="org.eclipse.egit.ui.internal.repository.tree.command.SynchronizeCommand">
1966          </class>
1967          <activeWhen>
1968             <or>
1969                <and>
1970                   <count value="1" />
1971                   <iterate>
1972                      <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode" />
1973                      <not>
1974                         <instanceof value="org.eclipse.egit.ui.internal.selection.RepositoryVirtualNode" />
1975                      </not>
1976                   </iterate>
1977                </and>
1978                <and>
1979                   <count value="2" />
1980                   <iterate>
1981                      <or>
1982                         <instanceof value="org.eclipse.egit.ui.internal.repository.tree.TagNode" />
1983                         <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RefNode" />
1984                      </or>
1985                   </iterate>
1986                   <test property="GitSelection.selectionSingleRepository" />
1987                </and>
1988             </or>
1989          </activeWhen>
1990       </handler>
1991       <handler
1992             commandId="org.eclipse.egit.ui.team.ShowHistory">
1993          <class
1994                class="org.eclipse.egit.ui.internal.actions.ShowHistoryActionHandler">
1995          </class>
1996          <activeWhen>
1997             <reference
1998                   definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
1999             </reference>
2000          </activeWhen>
2001       </handler>
2002       <handler
2003             commandId="org.eclipse.egit.ui.team.Reset">
2004          <class
2005                class="org.eclipse.egit.ui.internal.repository.tree.command.ResetCommand">
2006          </class>
2007          <activeWhen>
2008             <and>
2009                <count
2010                      value="1">
2011                </count>
2012                <iterate>
2013                   <instanceof
2014                         value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode">
2015                   </instanceof>
2016                   <not>
2017                      <instanceof
2018                            value="org.eclipse.egit.ui.internal.selection.RepositoryVirtualNode">
2019                      </instanceof>
2020                   </not>
2021                </iterate>
2022             </and>
2023          </activeWhen>
2024       </handler>
2025       <handler
2026             commandId="org.eclipse.egit.ui.team.Reset">
2027          <class
2028                class="org.eclipse.egit.ui.internal.actions.ResetActionHandler">
2029          </class>
2030          <activeWhen>
2031             <test
2032                   property="GitSelection.projectsSingleRepository">
2033             </test>
2034          </activeWhen>
2035       </handler>
2036       <handler
2037             commandId="org.eclipse.ui.file.refresh">
2038          <class
2039                class="org.eclipse.egit.ui.internal.repository.tree.command.RefreshCommand">
2040          </class>
2041          <activeWhen>
2042              <with
2043                    variable="activePartId">
2044                 <equals
2045                         value="org.eclipse.egit.ui.RepositoriesView">
2046                 </equals>
2047              </with>
2048           </activeWhen>
2049       </handler>
2050       <handler
2051             commandId="org.eclipse.egit.ui.RepositoriesViewRemoveRemote">
2052          <class
2053                class="org.eclipse.egit.ui.internal.repository.tree.command.RemoveRemoteCommand">
2054          </class>
2055          <activeWhen>
2056              <and>
2057                   <count
2058                         value="1">
2059                   </count>
2060                   <iterate
2061                         ifEmpty="false"
2062                         operator="and">
2063                      <instanceof
2064                            value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
2065                      </instanceof>
2066                   </iterate>
2067                </and>
2068          </activeWhen>
2069       </handler>
2070       <handler
2071             commandId="org.eclipse.egit.ui.RepositoriesViewConfigureGerritRemote">
2072          <class
2073                class="org.eclipse.egit.ui.internal.repository.tree.command.ConfigureGerritRemoteCommand">
2074          </class>
2075          <activeWhen>
2076              <and>
2077                   <count
2078                         value="1">
2079                   </count>
2080                   <iterate
2081                         ifEmpty="false"
2082                         operator="and">
2083                      <instanceof
2084                            value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
2085                      </instanceof>
2086                   </iterate>
2087                </and>
2088          </activeWhen>
2089       </handler>
2090       <handler
2091             commandId="org.eclipse.egit.ui.RepositoriesViewCopyPath">
2092          <class
2093                class="org.eclipse.egit.ui.internal.repository.tree.command.CopyPathCommand">
2094          </class>
2095          <activeWhen>
2096             <reference
2097                   definitionId="org.eclipse.egit.ui.repositoryTreePathNode">
2098             </reference>
2099          </activeWhen>
2100       </handler>
2101       <handler
2102             commandId="org.eclipse.ui.edit.paste">
2103          <class
2104                class="org.eclipse.egit.ui.internal.repository.tree.command.PasteCommand">
2105          </class>
2106          <activeWhen>
2107             <with variable="activePart">
2108                <instanceof value="org.eclipse.egit.ui.internal.repository.RepositoriesView" />
2109             </with>
2110          </activeWhen>
2111       </handler>
2112       <handler
2113             commandId="org.eclipse.ui.edit.rename">
2114          <class
2115                class="org.eclipse.egit.ui.internal.repository.tree.command.RenameBranchCommand">
2116          </class>
2117          <activeWhen>
2118             <reference
2119                   definitionId="org.eclipse.egit.ui.singleRefNode">
2120             </reference>
2121          </activeWhen>
2122       </handler>
2123       <handler
2124             commandId="org.eclipse.egit.ui.team.RenameBranch">
2125          <class
2126                class="org.eclipse.egit.ui.internal.repository.tree.command.RenameBranchCommand">
2127          </class>
2128          <activeWhen>
2129             <and>
2130                <count value="1" />
2131                <iterate>
2132                   <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
2133                </iterate>
2134             </and>
2135          </activeWhen>
2136       </handler>
2137       <handler
2138             commandId="org.eclipse.egit.ui.team.RenameBranch"
2139             class="org.eclipse.egit.ui.internal.actions.RenameBranchActionHandler">
2140          <activeWhen>
2141             <test property="GitSelection.projectsSingleRepository" />
2142          </activeWhen>
2143       </handler>
2144       <handler
2145             commandId="org.eclipse.ui.edit.rename"
2146             class="org.eclipse.egit.ui.internal.history.command.RenameBranchOnCommitHandler">
2147          <activeWhen>
2148             <and>
2149                <count value="1" />
2150                <iterate>
2151                   <instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
2152                   <test property="Git.hasRef" args="refs/heads/,refs/remotes" />
2153                </iterate>
2154             </and>
2155          </activeWhen>
2156       </handler>
2157       <handler
2158             commandId="org.eclipse.egit.ui.team.submodule.update">
2159          <class
2160                class="org.eclipse.egit.ui.internal.repository.tree.command.SubmoduleUpdateCommand">
2161          </class>
2162          <activeWhen>
2163              <and>
2164                   <count
2165                         value="+">
2166                   </count>
2167                   <iterate>
2168                      <or>
2169                         <and>
2170                            <instanceof
2171                                  value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
2172                            </instanceof>
2173                            <test
2174                                  property="GitRepository.isSubmodule">
2175                            </test>
2176                         </and>
2177                         <instanceof
2178                               value="org.eclipse.egit.ui.internal.repository.tree.SubmodulesNode">
2179                         </instanceof>
2180                      </or>
2181                   </iterate>
2182                </and>
2183          </activeWhen>
2184       </handler>
2185       <handler
2186             commandId="org.eclipse.egit.ui.team.submodule.sync">
2187          <class
2188                class="org.eclipse.egit.ui.internal.repository.tree.command.SubmoduleSyncCommand">
2189          </class>
2190          <activeWhen>
2191              <and>
2192                   <count
2193                         value="+">
2194                   </count>
2195                   <iterate>
2196                      <or>
2197                         <and>
2198                            <instanceof
2199                                  value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
2200                            </instanceof>
2201                            <test
2202                                  property="GitRepository.isSubmodule">
2203                            </test>
2204                         </and>
2205                         <instanceof
2206                               value="org.eclipse.egit.ui.internal.repository.tree.SubmodulesNode">
2207                         </instanceof>
2208                      </or>
2209                   </iterate>
2210                </and>
2211          </activeWhen>
2212       </handler>
2213       <handler
2214             commandId="org.eclipse.egit.ui.team.submodule.add">
2215          <class
2216                class="org.eclipse.egit.ui.internal.repository.tree.command.SubmoduleAddCommand">
2217          </class>
2218          <activeWhen>
2219              <and>
2220                   <count
2221                         value="1">
2222                   </count>
2223                   <iterate>
2224                      <or>
2225                         <and>
2226                            <instanceof
2227                                  value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
2228                            </instanceof>
2229                            <test property="GitRepository.isSubmodule" value="false" />
2230                            <test property="GitRepository.isBare" value="false" />
2231                         </and>
2232                         <instanceof
2233                               value="org.eclipse.egit.ui.internal.repository.tree.SubmodulesNode">
2234                         </instanceof>
2235                      </or>
2236                   </iterate>
2237                </and>
2238          </activeWhen>
2239       </handler>
2240       <handler
2241             commandId="org.eclipse.ui.edit.delete">
2242          <class
2243                class="org.eclipse.egit.ui.internal.repository.tree.command.StashDropCommand">
2244          </class>
2245          <activeWhen>
2246              <and>
2247                   <count
2248                         value="+">
2249                   </count>
2250                   <iterate>
2251                      <and>
2252                         <instanceof
2253                               value="org.eclipse.egit.ui.internal.repository.tree.StashedCommitNode">
2254                         </instanceof>
2255                         <test property="GitRepository.isBare" value="false" />
2256                         <test property="GitRepository.isSafe" />
2257                      </and>
2258                   </iterate>
2259                </and>
2260          </activeWhen>
2261       </handler>
2262       <handler
2263             commandId="org.eclipse.egit.ui.internal.reflog.CopyCommand">
2264          <class
2265                class="org.eclipse.egit.ui.internal.reflog.command.CopyHandler">
2266          </class>
2267          <activeWhen>
2268             <and>
2269                <count
2270                      value="1">
2271                </count>
2272                <iterate>
2273                   <adapt
2274                         type="org.eclipse.jgit.lib.ReflogEntry">
2275                   </adapt>
2276                </iterate>
2277             </and>
2278          </activeWhen>
2279       </handler>
2280       <handler
2281             commandId="org.eclipse.egit.ui.team.GarbageCollect">
2282          <class
2283                class="org.eclipse.egit.ui.internal.repository.tree.command.GarbageCollectCommand">
2284          </class>
2285          <activeWhen>
2286              <and>
2287                   <count
2288                         value="+">
2289                   </count>
2290                   <iterate>
2291                      <and>
2292                         <instanceof
2293                               value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
2294                         </instanceof>
2295                         <test
2296                               property="GitRepository.isSafe">
2297                         </test>
2298                         <test
2299                               property="GitRepository.containsHead">
2300                         </test>
2301                      </and>
2302                   </iterate>
2303                </and>
2304          </activeWhen>
2305       </handler>
2306       <handler
2307             commandId="org.eclipse.egit.ui.team.InstallLfsLocal">
2308          <class
2309                class="org.eclipse.egit.ui.internal.repository.tree.command.InstallLfsLocalCommand">
2310          </class>
2311          <activeWhen>
2312              <and>
2313                   <count
2314                         value="+">
2315                   </count>
2316                   <iterate>
2317                      <and>
2318                         <instanceof
2319                               value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
2320                         </instanceof>
2321                         <test
2322                               property="GitRepository.isSafe">
2323                         </test>
2324                         <test
2325                               property="GitRepository.canEnableLfs">
2326                         </test>
2327                      </and>
2328                   </iterate>
2329                </and>
2330          </activeWhen>
2331       </handler>
2332       <handler
2333             class="org.eclipse.egit.ui.internal.actions.UntrackActionHandler"
2334             commandId="org.eclipse.egit.ui.team.Untrack">
2335          <activeWhen>
2336             <reference
2337                   definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
2338             </reference>
2339          </activeWhen>
2340       </handler>
2341       <handler
2342             class="org.eclipse.egit.ui.internal.actions.DisconnectActionHandler"
2343             commandId="org.eclipse.egit.ui.team.Disconnect">
2344          <activeWhen>
2345             <test
2346                   property="GitSelection.projectsWithRepositories">
2347             </test>
2348          </activeWhen>
2349       </handler>
2350       <handler
2351             class="org.eclipse.egit.ui.internal.actions.ShowBlameActionHandler"
2352             commandId="org.eclipse.egit.ui.team.ShowBlame">
2353          <activeWhen>
2354             <or>
2355                <and>
2356                   <count value="1" />
2357                   <iterate>
2358                      <adapt type="org.eclipse.core.resources.IResource">
2359                         <instanceof value="org.eclipse.core.resources.IFile" />
2360                         <test property="GitResource.isShared" />
2361                      </adapt>
2362                   </iterate>
2363                </and>
2364                <with variable="activePart">
2365                   <instanceof value="org.eclipse.ui.IEditorPart" />
2366                   <with variable="activeEditorInput">
2367                      <or>
2368                         <adapt type="org.eclipse.core.resources.IFile">
2369                            <test property="GitResource.isShared" />
2370                         </adapt>
2371                         <adapt type="org.eclipse.team.core.history.IFileRevision">
2372                            <instanceof value="org.eclipse.egit.core.internal.storage.CommitFileRevision" />
2373                         </adapt>
2374                      </or>
2375                   </with>
2376                </with>
2377             </or>
2378          </activeWhen>
2379       </handler>
2380       <handler
2381             commandId="org.eclipse.egit.ui.team.CompareWithHead">
2382          <class
2383                class="org.eclipse.egit.ui.internal.actions.CompareWithHeadActionHandler">
2384          </class>
2385          <activeWhen>
2386             <and>
2387                <test property="GitSelection.selectionSingleRepository" />
2388                <test property="org.eclipse.egit.ui.resources.ResourceState.hasNotIgnoredResources" />
2389             </and>
2390          </activeWhen>
2391       </handler>
2392       <handler
2393             commandId="org.eclipse.egit.ui.team.CompareWithHead">
2394          <class
2395                class="org.eclipse.egit.ui.internal.repository.tree.command.CompareWithHeadCommand">
2396          </class>
2397          <activeWhen>
2398             <and>
2399                <test property="GitSelection.selectionSingleRepository" />
2400                <iterate>
2401                   <or>
2402                     <instanceof value="org.eclipse.egit.ui.internal.repository.tree.FileNode" />
2403                     <instanceof value="org.eclipse.egit.ui.internal.repository.tree.FolderNode" />
2404                     <instanceof value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode" />
2405                   </or>
2406                </iterate>
2407             </and>
2408          </activeWhen>
2409       </handler>
2410       <handler
2411             commandId="org.eclipse.egit.ui.team.CompareWithIndex">
2412          <class
2413                class="org.eclipse.egit.ui.internal.actions.CompareWithIndexActionHandler">
2414          </class>
2415          <activeWhen>
2416             <and>
2417                <test property="GitSelection.selectionSingleRepository" />
2418                <test property="org.eclipse.egit.ui.resources.ResourceState.hasNotIgnoredResources" />
2419             </and>
2420          </activeWhen>
2421       </handler>
2422       <handler
2423             commandId="org.eclipse.egit.ui.team.CompareIndexWithHead">
2424          <class
2425                class="org.eclipse.egit.ui.internal.actions.CompareIndexWithHeadActionHandler">
2426          </class>
2427          <activeWhen>
2428             <and>
2429                <count value="1" />
2430                <test property="org.eclipse.egit.ui.resources.ResourceState.hasStagedChanges" />
2431             </and>
2432          </activeWhen>
2433       </handler>
2434       <handler
2435             commandId="org.eclipse.egit.ui.team.CompareWithPrevious">
2436          <class
2437                class="org.eclipse.egit.ui.internal.actions.CompareWithPreviousActionHandler">
2438          </class>
2439          <activeWhen>
2440             <and>
2441                <count value="1" />
2442                <test property="org.eclipse.egit.ui.resources.ResourceState.hasTrackedResources" />
2443             </and>
2444          </activeWhen>
2445       </handler>
2446       <handler
2447             commandId="org.eclipse.egit.ui.team.CompareWithCommit">
2448          <class
2449                class="org.eclipse.egit.ui.internal.actions.CompareWithCommitActionHandler">
2450          </class>
2451          <activeWhen>
2452             <reference definitionId="org.eclipse.egit.ui.resourcesSingleRepository" />
2453          </activeWhen>
2454       </handler>
2455       <handler
2456             commandId="org.eclipse.egit.ui.team.CompareWithCommit">
2457          <class
2458                class="org.eclipse.egit.ui.internal.repository.tree.command.CompareWithCommitCommand">
2459          </class>
2460          <activeWhen>
2461             <and>
2462                <test property="GitSelection.selectionSingleRepository" />
2463                <iterate>
2464                   <or>
2465                     <instanceof value="org.eclipse.egit.ui.internal.repository.tree.FileNode" />
2466                     <instanceof value="org.eclipse.egit.ui.internal.repository.tree.FolderNode" />
2467                     <instanceof value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode" />
2468                   </or>
2469                </iterate>
2470             </and>
2471          </activeWhen>
2472       </handler>
2473       <handler
2474             commandId="org.eclipse.egit.ui.team.CompareWithRef">
2475          <class
2476                class="org.eclipse.egit.ui.internal.actions.CompareWithRefActionHandler">
2477          </class>
2478          <activeWhen>
2479             <reference definitionId="org.eclipse.egit.ui.resourcesSingleRepository" />
2480          </activeWhen>
2481       </handler>
2482       <handler
2483             commandId="org.eclipse.egit.ui.team.CompareWithRef">
2484          <class
2485                class="org.eclipse.egit.ui.internal.repository.tree.command.CompareWithRefCommand">
2486          </class>
2487          <activeWhen>
2488             <and>
2489                <test property="GitSelection.selectionSingleRepository" />
2490                <iterate>
2491                   <or>
2492                     <instanceof value="org.eclipse.egit.ui.internal.repository.tree.FileNode" />
2493                     <instanceof value="org.eclipse.egit.ui.internal.repository.tree.FolderNode" />
2494                     <instanceof value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode" />
2495                   </or>
2496                </iterate>
2497             </and>
2498          </activeWhen>
2499       </handler>
2500       <handler
2501             commandId="org.eclipse.egit.ui.team.ReplaceWithPrevious">
2502          <class
2503                class="org.eclipse.egit.ui.internal.actions.ReplaceWithPreviousActionHandler">
2504          </class>
2505          <activeWhen>
2506             <and>
2507                <count value="1" />
2508                <test property="GitSelection.resourcesSingleRepository" args="isSafe" />
2509                <test property="org.eclipse.egit.ui.resources.ResourceState.hasTrackedResources" />
2510             </and>
2511          </activeWhen>
2512       </handler>
2513       <handler
2514             commandId="org.eclipse.egit.ui.team.Discard">
2515          <class
2516                class="org.eclipse.egit.ui.internal.actions.DiscardChangesActionHandler">
2517          </class>
2518          <activeWhen>
2519             <test property="GitSelection.resourcesAllInRepository" args="isSafe" />
2520          </activeWhen>
2521       </handler>
2522       <handler
2523             commandId="org.eclipse.egit.ui.team.ReplaceWithHead">
2524          <class
2525                class="org.eclipse.egit.ui.internal.actions.ReplaceWithHeadActionHandler">
2526          </class>
2527          <activeWhen>
2528             <test property="GitSelection.resourcesAllInRepository" args="!isBare,hasHead" />
2529          </activeWhen>
2530       </handler>
2531       <handler
2532             commandId="org.eclipse.egit.ui.team.ReplaceWithCommit">
2533          <class
2534                class="org.eclipse.egit.ui.internal.actions.ReplaceWithCommitActionHandler">
2535          </class>
2536          <activeWhen>
2537             <test property="GitSelection.resourcesSingleRepository" args="isSafe" />
2538          </activeWhen>
2539       </handler>
2540       <handler
2541             commandId="org.eclipse.egit.ui.team.ReplaceWithRef">
2542          <class
2543                class="org.eclipse.egit.ui.internal.actions.ReplaceWithRefActionHandler">
2544          </class>
2545          <activeWhen>
2546             <test property="GitSelection.resourcesSingleRepository" args="isSafe" />
2547          </activeWhen>
2548       </handler>
2549       <handler
2550             commandId="org.eclipse.egit.ui.team.ReplaceWithOurs">
2551          <class
2552                class="org.eclipse.egit.ui.internal.actions.ReplaceWithOursActionHandler">
2553          </class>
2554          <activeWhen>
2555             <test property="GitSelection.conflictsInSingleRepository" />
2556          </activeWhen>
2557       </handler>
2558       <handler
2559             commandId="org.eclipse.egit.ui.team.ReplaceWithTheirs">
2560          <class
2561                class="org.eclipse.egit.ui.internal.actions.ReplaceWithTheirsActionHandler">
2562          </class>
2563          <activeWhen>
2564             <test property="GitSelection.conflictsInSingleRepository" />
2565          </activeWhen>
2566       </handler>
2567       <handler
2568             commandId="org.eclipse.egit.ui.RepositoriesViewImportProjects">
2569          <class
2570                class="org.eclipse.egit.ui.internal.repository.tree.command.ImportProjectsCommand">
2571          </class>
2572          <activeWhen>
2573             <or>
2574                <and>
2575                   <count
2576                         value="1">
2577                   </count>
2578                   <iterate>
2579                      <or>
2580                         <instanceof
2581                               value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
2582                         </instanceof>
2583                         <instanceof
2584                               value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode">
2585                         </instanceof>
2586                      </or>
2587                      <test property="GitRepository.isBare" value="false" />
2588                   </iterate>
2589                </and>
2590                <and>
2591                   <count
2592                         value="+">
2593                   </count>
2594                   <iterate>
2595                      <or>
2596                         <instanceof
2597                               value="org.eclipse.egit.ui.internal.repository.tree.FolderNode">
2598                         </instanceof>
2599                      </or>
2600                      <test property="GitRepository.isBare" value="false" />
2601                   </iterate>
2602                </and>
2603             </or>
2604          </activeWhen>
2605       </handler>
2606       <handler
2607             commandId="org.eclipse.egit.ui.RepositoriesViewCreateBranch">
2608          <class
2609                class="org.eclipse.egit.ui.internal.repository.tree.command.CreateBranchCommand">
2610          </class>
2611          <activeWhen>
2612             <and>
2613                <count value="1" />
2614                <iterate>
2615                   <or>
2616                      <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RefNode" />
2617                      <instanceof value="org.eclipse.egit.ui.internal.repository.tree.TagNode" />
2618                      <instanceof value="org.eclipse.egit.ui.internal.repository.tree.AdditionalRefNode" />
2619                   </or>
2620                </iterate>
2621             </and>
2622          </activeWhen>
2623       </handler>
2624       <handler
2625             commandId="org.eclipse.egit.ui.RepositoriesViewCreateBranch">
2626          <class
2627                class="org.eclipse.egit.ui.internal.commit.command.CreateBranchHandler">
2628          </class>
2629          <activeWhen>
2630             <and>
2631                <count value="1" />
2632                <iterate>
2633                   <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit">
2634                      <test property="Git.isStash" value="false" />
2635                   </adapt>
2636                </iterate>
2637             </and>
2638          </activeWhen>
2639       </handler>
2640       <handler
2641             commandId="org.eclipse.egit.ui.RepositoriesViewNewRemote">
2642          <class
2643                class="org.eclipse.egit.ui.internal.repository.tree.command.ConfigureRemoteCommand">
2644          </class>
2645          <activeWhen>
2646             <and>
2647                <count value="1" />
2648                <iterate>
2649                   <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RemotesNode" />
2650                </iterate>
2651             </and>
2652          </activeWhen>
2653       </handler>
2654       <handler
2655             commandId="org.eclipse.egit.ui.RepositoriesViewOpenInEditor">
2656          <class
2657                class="org.eclipse.egit.ui.internal.repository.tree.command.OpenInEditorCommand">
2658          </class>
2659          <activeWhen>
2660             <and>
2661                <count value="1" />
2662                <iterate>
2663                   <instanceof value="org.eclipse.egit.ui.internal.repository.tree.FileNode" />
2664                </iterate>
2665             </and>
2666          </activeWhen>
2667       </handler>
2668       <handler
2669             commandId="org.eclipse.egit.ui.RepositoriesViewOpen">
2670          <class
2671                class="org.eclipse.egit.ui.internal.repository.tree.command.OpenCommand">
2672          </class>
2673          <activeWhen>
2674             <and>
2675                <count value="1" />
2676                <iterate>
2677                   <or>
2678                      <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RefNode" />
2679                      <instanceof value="org.eclipse.egit.ui.internal.repository.tree.TagNode" />
2680                      <instanceof value="org.eclipse.egit.ui.internal.repository.tree.FileNode" />
2681                      <instanceof value="org.eclipse.egit.ui.internal.repository.tree.StashedCommitNode" />
2682                   </or>
2683                </iterate>
2684             </and>
2685          </activeWhen>
2686       </handler>
2687       <handler
2688             commandId="org.eclipse.egit.ui.RepositoriesViewRemove">
2689          <class
2690                class="org.eclipse.egit.ui.internal.repository.tree.command.RemoveCommand">
2691          </class>
2692          <activeWhen>
2693             <iterate
2694                   ifEmpty="false"
2695                   operator="and">
2696                <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
2697                <test property="GitRepository.isSubmodule" value="false" />
2698             </iterate>
2699          </activeWhen>
2700       </handler>
2701       <handler
2702             commandId="org.eclipse.egit.ui.RepositoriesViewDelete">
2703          <class
2704                class="org.eclipse.egit.ui.internal.repository.tree.command.DeleteCommand">
2705          </class>
2706          <activeWhen>
2707             <and>
2708                <count value="1" />
2709                <iterate>
2710                   <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
2711                </iterate>
2712             </and>
2713          </activeWhen>
2714       </handler>
2715       <handler
2716             commandId="org.eclipse.egit.ui.CheckoutCommand">
2717          <class
2718                class="org.eclipse.egit.ui.internal.repository.tree.command.CheckoutCommand">
2719          </class>
2720          <activeWhen>
2721             <and>
2722                <count value="1" />
2723                <iterate>
2724                   <or>
2725                      <instanceof value="org.eclipse.egit.ui.internal.repository.tree.TagNode" />
2726                      <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RefNode" />
2727                      <instanceof value="org.eclipse.egit.ui.internal.repository.tree.AdditionalRefNode" />
2728                   </or>
2729                   <test property="GitRepository.isRefCheckedOut" value="false" />
2730                   <test property="GitRepository.isBare" value="false" />
2731                </iterate>
2732             </and>
2733          </activeWhen>
2734       </handler>
2735       <handler
2736             commandId="org.eclipse.egit.ui.ImportChangedProjectsCommandId">
2737          <class
2738                class="org.eclipse.egit.ui.internal.history.command.ImportChangedProjectsCommand">
2739          </class>
2740          <activeWhen>
2741             <iterate ifEmpty="false">
2742                <instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
2743             </iterate>
2744          </activeWhen>
2745       </handler>
2746       <handler
2747             commandId="org.eclipse.egit.ui.CheckoutCommand">
2748          <class
2749                class="org.eclipse.egit.ui.internal.history.command.CheckoutCommitHandler">
2750          </class>
2751          <activeWhen>
2752             <and>
2753                <count value="1" />
2754                <iterate>
2755                   <instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
2756                   <test property="Git.canCommit" />
2757                </iterate>
2758             </and>
2759          </activeWhen>
2760       </handler>
2761       <handler
2762             commandId="org.eclipse.egit.ui.CheckoutCommand">
2763          <class
2764                class="org.eclipse.egit.ui.internal.commit.command.CheckoutHandler">
2765          </class>
2766          <activeWhen>
2767             <and>
2768                <with variable="activePart">
2769                   <instanceof value="org.eclipse.egit.ui.internal.commit.CommitEditor" />
2770                </with>
2771                <count value="1" />
2772                <iterate>
2773                   <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit">
2774                      <test property="Git.isStash" value="false" />
2775                      <test property="Git.canCommit" />
2776                   </adapt>
2777                </iterate>
2778             </and>
2779          </activeWhen>
2780       </handler>
2781       <handler
2782             commandId="org.eclipse.egit.ui.team.ShowHistory">
2783          <class
2784                class="org.eclipse.egit.ui.internal.commit.command.ShowInHistoryHandler">
2785          </class>
2786          <activeWhen>
2787             <and>
2788                <with variable="activePart">
2789                   <instanceof value="org.eclipse.egit.ui.internal.commit.CommitEditor" />
2790                </with>
2791                <count value="1" />
2792                <iterate>
2793                   <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit">
2794                      <test property="Git.isStash" value="false" />
2795                   </adapt>
2796                </iterate>
2797             </and>
2798          </activeWhen>
2799       </handler>
2800       <handler
2801             commandId="org.eclipse.egit.ui.team.CherryPick">
2802          <class
2803                class="org.eclipse.egit.ui.internal.commit.command.CherryPickHandler">
2804          </class>
2805          <activeWhen>
2806             <and>
2807                <count value="1" />
2808                <iterate>
2809                   <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit">
2810                      <test property="Git.isStash" value="false" />
2811                      <test property="Git.isSafe" />
2812                   </adapt>
2813                </iterate>
2814             </and>
2815          </activeWhen>
2816       </handler>
2817       <handler
2818             commandId="org.eclipse.egit.ui.team.Revert">
2819          <class
2820                class="org.eclipse.egit.ui.internal.commit.command.RevertHandler">
2821          </class>
2822          <activeWhen>
2823             <iterate ifEmpty="false">
2824                <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit">
2825                   <test property="Git.isStash" value="false" />
2826                   <test property="Git.isBare" value="false" />
2827                </adapt>
2828             </iterate>
2829          </activeWhen>
2830       </handler>
2831       <handler
2832             commandId="org.eclipse.egit.ui.team.stash.apply">
2833          <class
2834                class="org.eclipse.egit.ui.internal.commit.command.StashApplyHandler">
2835          </class>
2836          <activeWhen>
2837             <or>
2838                <and>
2839                   <count value="1" />
2840                   <iterate>
2841                      <instanceof value="org.eclipse.egit.ui.internal.repository.tree.StashedCommitNode" />
2842                      <test property="GitRepository.isBare" value="false" />
2843                      <test property="GitRepository.isSafe" />
2844                   </iterate>
2845                </and>
2846                <and>
2847                   <with variable="activePart">
2848                      <instanceof value="org.eclipse.egit.ui.internal.commit.CommitEditor" />
2849                   </with>
2850                   <count value="1" />
2851                   <iterate>
2852                      <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit">
2853                         <test property="Git.isStash" />
2854                         <test property="Git.isBare" value="false" />
2855                         <test property="Git.isSafe" />
2856                      </adapt>
2857                   </iterate>
2858                </and>
2859             </or>
2860          </activeWhen>
2861       </handler>
2862       <handler
2863             commandId="org.eclipse.egit.ui.team.stash.drop">
2864          <class
2865                class="org.eclipse.egit.ui.internal.commit.command.StashDropHandler">
2866          </class>
2867          <activeWhen>
2868             <and>
2869                <with variable="activePart">
2870                   <instanceof value="org.eclipse.egit.ui.internal.commit.CommitEditor" />
2871                </with>
2872                <count value="1" />
2873                <iterate>
2874                   <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit">
2875                      <test property="Git.isStash" />
2876                      <test property="Git.isBare" value="false" />
2877                      <test property="Git.isSafe" />
2878                   </adapt>
2879                </iterate>
2880             </and>
2881          </activeWhen>
2882       </handler>
2883       <handler
2884             commandId="org.eclipse.egit.ui.team.Tag">
2885          <class
2886                class="org.eclipse.egit.ui.internal.actions.TagActionHandler">
2887          </class>
2888          <activeWhen>
2889             <or>
2890                <test property="GitSelection.projectsSingleRepository" args="canCheckout" />
2891                <and>
2892                   <count value="1" />
2893                   <iterate>
2894                      <or>
2895                         <and>
2896                            <instanceof value="org.eclipse.egit.ui.internal.repository.tree.TagsNode" />
2897                            <test property="GitRepository.canCheckout" />
2898                         </and>
2899                         <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit">
2900                            <test property="Git.isStash" value="false" />
2901                         </adapt>
2902                      </or>
2903                   </iterate>
2904                </and>
2905             </or>
2906          </activeWhen>
2907       </handler>
2908       <handler
2909             commandId="org.eclipse.egit.ui.AbortRebase">
2910          <class
2911                class="org.eclipse.egit.ui.internal.commands.shared.AbortRebaseCommand">
2912          </class>
2913          <activeWhen>
2914             <or>
2915                <and>
2916                   <count value="1" />
2917                   <iterate>
2918                      <and>
2919                         <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
2920                         <test property="GitRepository.canAbortRebase" />
2921                      </and>
2922                   </iterate>
2923                </and>
2924                <test
2925                      property="GitSelection.projectsSingleRepository"
2926                      args="canAbortRebase">
2927                </test>
2928             </or>
2929          </activeWhen>
2930       </handler>
2931       <handler
2932             commandId="org.eclipse.egit.ui.ContinueRebase">
2933          <class
2934                class="org.eclipse.egit.ui.internal.commands.shared.ContinueRebaseCommand">
2935          </class>
2936          <activeWhen>
2937             <or>
2938                <and>
2939                   <count value="1" />
2940                   <iterate>
2941                      <and>
2942                         <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
2943                         <test property="GitRepository.canContinueRebase" />
2944                      </and>
2945                   </iterate>
2946                </and>
2947                <test
2948                      property="GitSelection.projectsSingleRepository"
2949                      args="canContinueRebase">
2950                </test>
2951             </or>
2952          </activeWhen>
2953       </handler>
2954       <handler
2955             commandId="org.eclipse.egit.ui.SkipRebase">
2956          <class
2957                class="org.eclipse.egit.ui.internal.commands.shared.SkipRebaseCommand">
2958          </class>
2959          <activeWhen>
2960             <or>
2961                <and>
2962                   <count value="1" />
2963                   <iterate>
2964                      <and>
2965                         <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
2966                         <test property="GitRepository.canAbortRebase" />
2967                      </and>
2968                   </iterate>
2969                </and>
2970                <test
2971                      property="GitSelection.projectsSingleRepository"
2972                      args="canAbortRebase">
2973                </test>
2974             </or>
2975          </activeWhen>
2976       </handler>
2977       <handler
2978             commandId="org.eclipse.egit.ui.team.clean">
2979          <class
2980                class="org.eclipse.egit.ui.internal.actions.CleanActionHandler">
2981          </class>
2982          <activeWhen>
2983             <or>
2984                <and>
2985                   <count value="1" />
2986                   <iterate>
2987                      <or>
2988                         <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
2989                         <instanceof value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode" />
2990                      </or>
2991                      <test property="GitRepository.isBare" value="false" />
2992                   </iterate>
2993                </and>
2994                <test property="GitSelection.projectsSingleRepository" />
2995             </or>
2996          </activeWhen>
2997       </handler>
2998       <handler
2999             commandId="org.eclipse.egit.ui.history.OpenInCommitViewerCommand">
3000          <class
3001                class="org.eclipse.egit.ui.internal.history.command.OpenInCommitViewerHandler">
3002          </class>
3003          <activeWhen>
3004              <iterate operator="or" ifEmpty="false">
3005                 <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit" />
3006              </iterate>
3007          </activeWhen>
3008       </handler>
3009       <handler
3010             commandId="org.eclipse.egit.ui.history.OpenInCommitViewerCommand">
3011          <class
3012                class="org.eclipse.egit.ui.internal.repository.tree.command.OpenInCommitViewerCommand">
3013          </class>
3014          <activeWhen>
3015             <or>
3016                <and>
3017                   <count value="1" />
3018                   <iterate>
3019                      <or>
3020                         <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RefNode" />
3021                         <instanceof value="org.eclipse.egit.ui.internal.repository.tree.AdditionalRefNode" />
3022                         <and>
3023                                <instanceof value="org.eclipse.egit.ui.internal.repository.tree.TagNode" />
3024                                <test property="GitRepository.isCommit" />
3025                         </and>
3026                         <instanceof value="org.eclipse.egit.ui.internal.repository.tree.StashedCommitNode" />
3027                      </or>
3028                   </iterate>
3029                </and>
3030                <and>
3031                   <count value="(1-" />
3032                   <iterate>
3033                      <or>
3034                         <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RefNode" />
3035                         <instanceof value="org.eclipse.egit.ui.internal.repository.tree.AdditionalRefNode" />
3036                             <instanceof value="org.eclipse.egit.ui.internal.repository.tree.TagNode" />
3037                         <instanceof value="org.eclipse.egit.ui.internal.repository.tree.StashedCommitNode" />
3038                      </or>
3039                   </iterate>
3040                </and>
3041             </or>
3042          </activeWhen>
3043       </handler>
3044       <handler
3045             commandId="org.eclipse.egit.ui.commit.UnifiedDiffCommand">
3046          <class
3047                class="org.eclipse.egit.ui.internal.commit.command.UnifiedDiffHandler">
3048          </class>
3049          <activeWhen>
3050             <and>
3051                <count value="2" />
3052                <iterate>
3053                   <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit" />
3054                </iterate>
3055             </and>
3056          </activeWhen>
3057       </handler>
3058       <handler
3059             commandId="org.eclipse.egit.ui.commit.UnifiedDiffCommand">
3060          <class
3061                class="org.eclipse.egit.ui.internal.reflog.command.ReflogUnifiedDiffHandler">
3062          </class>
3063          <activeWhen>
3064             <and>
3065                <count value="2" />
3066                <iterate>
3067                   <adapt type="org.eclipse.jgit.lib.ReflogEntry" />
3068                </iterate>
3069             </and>
3070          </activeWhen>
3071       </handler>
3072       <handler
3073             commandId="org.eclipse.egit.ui.history.CompareWithWorkingTree">
3074          <class
3075                class="org.eclipse.egit.ui.internal.history.command.CompareWithWorkingTreeHandler">
3076          </class>
3077          <activeWhen>
3078             <and>
3079                <count value="1" />
3080                <iterate>
3081                   <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit">
3082                      <test property="Git.isBare" value="false" />
3083                   </adapt>
3084                </iterate>
3085             </and>
3086          </activeWhen>
3087       </handler>
3088       <handler
3089             commandId="org.eclipse.egit.ui.history.ShowVersions">
3090          <class
3091                class="org.eclipse.egit.ui.internal.history.command.ShowVersionsHandler">
3092          </class>
3093          <activeWhen>
3094             <and>
3095                <count value="1" />
3096                <iterate>
3097                   <instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
3098                </iterate>
3099             </and>
3100          </activeWhen>
3101       </handler>
3102       <handler
3103             commandId="org.eclipse.egit.ui.history.ShowBlame">
3104          <class
3105                class="org.eclipse.egit.ui.internal.history.command.ShowBlameHandler">
3106          </class>
3107          <activeWhen>
3108             <reference definitionId="org.eclipse.egit.ui.singleFileCommit" />
3109          </activeWhen>
3110       </handler>
3111       <handler
3112             commandId="org.eclipse.egit.ui.history.OpenInTextEditorCommand">
3113          <class
3114                class="org.eclipse.egit.ui.internal.history.command.OpenInTextEditorHandler">
3115          </class>
3116          <activeWhen>
3117             <reference definitionId="org.eclipse.egit.ui.singleFileCommit" />
3118          </activeWhen>
3119       </handler>
3120       <handler
3121             commandId="org.eclipse.egit.ui.history.PushCommit">
3122          <class
3123                class="org.eclipse.egit.ui.internal.history.command.PushCommitHandler">
3124          </class>
3125          <activeWhen>
3126             <and>
3127                <count value="1" />
3128                <iterate>
3129                   <instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
3130                </iterate>
3131             </and>
3132          </activeWhen>
3133       </handler>
3134       <handler
3135             commandId="org.eclipse.egit.ui.history.DeleteBranch">
3136          <class
3137                class="org.eclipse.egit.ui.internal.history.command.DeleteBranchOnCommitHandler">
3138          </class>
3139          <activeWhen>
3140             <and>
3141                <count value="1" />
3142                <iterate>
3143                   <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit">
3144                      <test property="Git.hasRef" args="refs/heads/,refs/remotes/" />
3145                   </adapt>
3146                </iterate>
3147             </and>
3148          </activeWhen>
3149       </handler>
3150       <handler
3151             commandId="org.eclipse.egit.ui.history.DeleteTag">
3152          <class
3153                class="org.eclipse.egit.ui.internal.history.command.DeleteTagOnCommitHandler">
3154          </class>
3155          <activeWhen>
3156             <and>
3157                <count value="1" />
3158                <iterate>
3159                   <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit">
3160                      <test property="Git.hasRef" args="refs/tags/" />
3161                   </adapt>
3162                </iterate>
3163             </and>
3164          </activeWhen>
3165       </handler>
3166       <handler
3167             commandId="org.eclipse.egit.ui.history.CreatePatch">
3168          <class
3169                class="org.eclipse.egit.ui.internal.history.command.CreatePatchHandler">
3170          </class>
3171          <activeWhen>
3172             <and>
3173                <count value="1" />
3174                <iterate>
3175                   <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit">
3176                      <or>
3177                         <test property="Git.parentCount" value="1" />
3178                         <test property="Git.parentCount" value="0" />
3179                      </or>
3180                   </adapt>
3181                </iterate>
3182             </and>
3183          </activeWhen>
3184       </handler>
3185       <handler
3186             commandId="org.eclipse.egit.ui.history.Merge">
3187          <class
3188                class="org.eclipse.egit.ui.internal.history.command.MergeHandler">
3189          </class>
3190          <activeWhen>
3191             <and>
3192                <count value="1" />
3193                <iterate>
3194                   <instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
3195                   <test property="Git.isSafe" />
3196                </iterate>
3197             </and>
3198          </activeWhen>
3199       </handler>
3200       <handler
3201             commandId="org.eclipse.egit.ui.RebaseCurrent">
3202          <class
3203                class="org.eclipse.egit.ui.internal.history.command.RebaseCurrentHandler">
3204          </class>
3205          <activeWhen>
3206             <and>
3207                <count value="1" />
3208                <iterate>
3209                   <instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
3210                   <test property="Git.isSafe" />
3211                </iterate>
3212             </and>
3213          </activeWhen>
3214       </handler>
3215       <handler
3216             commandId="org.eclipse.egit.ui.RebaseInteractiveCurrent">
3217          <class
3218                class="org.eclipse.egit.ui.internal.history.command.RebaseInteractiveCurrentHandler">
3219          </class>
3220          <activeWhen>
3221             <and>
3222                <count value="1" />
3223                <iterate>
3224                   <instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
3225                   <test property="Git.isSafe" />
3226                </iterate>
3227             </and>
3228          </activeWhen>
3229       </handler>
3230       <handler
3231             commandId="org.eclipse.egit.ui.history.Reset">
3232          <class
3233                class="org.eclipse.egit.ui.internal.history.command.ResetHandler">
3234          </class>
3235          <activeWhen>
3236             <and>
3237                <count value="1" />
3238                <iterate>
3239                   <instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
3240                </iterate>
3241             </and>
3242          </activeWhen>
3243       </handler>
3244       <handler
3245             commandId="org.eclipse.egit.ui.history.SetQuickdiffBaseline">
3246          <class
3247                class="org.eclipse.egit.ui.internal.history.command.SetQuickdiffBaselineHandler">
3248          </class>
3249          <activeWhen>
3250             <and>
3251                <count value="1" />
3252                <iterate>
3253                   <instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
3254                </iterate>
3255             </and>
3256          </activeWhen>
3257       </handler>
3258       <handler
3259             commandId="org.eclipse.egit.ui.history.ResetQuickdiffBaseline">
3260          <class
3261                class="org.eclipse.egit.ui.internal.history.command.ResetQuickdiffBaselineHandler">
3262          </class>
3263          <activeWhen>
3264             <iterate ifEmpty="false">
3265                <instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
3266             </iterate>
3267          </activeWhen>
3268       </handler>
3269       <handler
3270             commandId="org.eclipse.egit.ui.history.Reword">
3271          <class
3272                class="org.eclipse.egit.ui.internal.history.command.RewordHandler">
3273          </class>
3274          <activeWhen>
3275             <and>
3276                <count value="1" />
3277                <iterate>
3278                   <instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
3279                   <test property="Git.isSafe" />
3280                </iterate>
3281             </and>
3282          </activeWhen>
3283       </handler>
3284       <handler
3285             commandId="org.eclipse.egit.ui.history.Edit">
3286          <class
3287                class="org.eclipse.egit.ui.internal.history.command.EditHandler">
3288          </class>
3289          <activeWhen>
3290             <and>
3291                <count value="1" />
3292                <iterate>
3293                   <instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
3294                   <test property="Git.isSafe" />
3295                   <test property="Git.parentCount" value="1" />
3296                </iterate>
3297             </and>
3298          </activeWhen>
3299       </handler>
3300       <handler
3301             commandId="org.eclipse.egit.ui.history.Squash">
3302          <class
3303                class="org.eclipse.egit.ui.internal.history.command.SquashHandler">
3304          </class>
3305          <activeWhen>
3306             <and>
3307                <not>
3308                   <count value="1" />
3309                </not>
3310                <iterate ifEmpty="false">
3311                   <instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
3312                   <test property="Git.isSafe" />
3313                </iterate>
3314             </and>
3315          </activeWhen>
3316       </handler>
3317       <handler
3318             commandId="org.eclipse.egit.ui.history.CompareVersions">
3319          <class
3320                class="org.eclipse.egit.ui.internal.history.command.CompareVersionsHandler">
3321          </class>
3322          <activeWhen>
3323             <and>
3324                <count value="2" />
3325                <iterate>
3326                   <instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
3327                </iterate>
3328             </and>
3329          </activeWhen>
3330       </handler>
3331       <handler
3332             commandId="org.eclipse.egit.ui.history.CompareVersions">
3333          <class
3334                class="org.eclipse.egit.ui.internal.repository.tree.command.CompareCommand">
3335          </class>
3336          <activeWhen>
3337             <or>
3338                <and>
3339                   <count value="2" />
3340                   <iterate>
3341                      <or>
3342                         <instanceof value="org.eclipse.egit.ui.internal.repository.tree.TagNode" />
3343                         <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RefNode" />
3344                         <instanceof value="org.eclipse.egit.ui.internal.repository.tree.AdditionalRefNode" />
3345                      </or>
3346                   </iterate>
3347                   <test property="GitSelection.selectionSingleRepository" />
3348                </and>
3349                <and>
3350                   <count value="1" />
3351                   <iterate>
3352                      <or>
3353                         <instanceof value="org.eclipse.egit.ui.internal.repository.tree.TagNode" />
3354                         <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RefNode" />
3355                         <instanceof value="org.eclipse.egit.ui.internal.repository.tree.AdditionalRefNode" />
3356                      </or>
3357                      <test property="GitRepository.isBare" value="false" />
3358                   </iterate>
3359                </and>
3360             </or>
3361          </activeWhen>
3362       </handler>
3363       <handler
3364             commandId="org.eclipse.egit.ui.history.CompareVersionsInTree">
3365          <class
3366                class="org.eclipse.egit.ui.internal.repository.tree.command.CompareInTreeCommand">
3367          </class>
3368          <activeWhen>
3369             <and>
3370                <count value="2" />
3371                <iterate>
3372                   <or>
3373                      <instanceof value="org.eclipse.egit.ui.internal.repository.tree.TagNode" />
3374                      <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RefNode" />
3375                      <instanceof value="org.eclipse.egit.ui.internal.repository.tree.AdditionalRefNode" />
3376                   </or>
3377                </iterate>
3378                <test property="GitSelection.selectionSingleRepository" />
3379             </and>
3380          </activeWhen>
3381       </handler>
3382       <handler
3383             commandId="org.eclipse.egit.ui.commit.UnifiedDiffCommand">
3384          <class
3385                class="org.eclipse.egit.ui.internal.repository.tree.command.CompareUnifiedCommand">
3386          </class>
3387          <activeWhen>
3388             <and>
3389                <count value="2" />
3390                <iterate>
3391                   <or>
3392                      <instanceof value="org.eclipse.egit.ui.internal.repository.tree.TagNode" />
3393                      <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RefNode" />
3394                      <instanceof value="org.eclipse.egit.ui.internal.repository.tree.AdditionalRefNode" />
3395                   </or>
3396                </iterate>
3397                <test property="GitSelection.selectionSingleRepository" />
3398             </and>
3399          </activeWhen>
3400       </handler>
3401       <handler
3402             commandId="org.eclipse.egit.ui.history.CompareVersionsInTree">
3403          <class
3404                class="org.eclipse.egit.ui.internal.history.command.CompareVersionsInTreeHandler">
3405          </class>
3406          <activeWhen>
3407             <and>
3408                <count value="2" />
3409                <iterate>
3410                   <instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
3411                </iterate>
3412                <with variable="activePart">
3413                   <test property="GitHistory.isSingleFileHistory" value="false" />
3414                </with>
3415             </and>
3416          </activeWhen>
3417       </handler>
3418       <handler
3419             commandId="org.eclipse.egit.ui.RepositoriesViewShowInSystemExplorer">
3420          <class
3421                class="org.eclipse.egit.ui.internal.actions.ShowInSystemExplorerActionHandler">
3422          </class>
3423          <activeWhen>
3424             <and>
3425                <count value="1" />
3426                <iterate>
3427                   <or>
3428                      <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
3429                      <instanceof value="org.eclipse.egit.ui.internal.repository.tree.FileNode" />
3430                      <instanceof value="org.eclipse.egit.ui.internal.repository.tree.FolderNode" />
3431                      <instanceof value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode" />
3432                   </or>
3433                </iterate>
3434             </and>
3435          </activeWhen>
3436       </handler>
3437       <handler
3438             commandId="org.eclipse.ui.edit.rename">
3439          <class
3440                class="org.eclipse.egit.ui.internal.repository.tree.command.RenameRepositoryGroupCommand">
3441          </class>
3442          <activeWhen>
3443             <and>
3444                <count value="1"/>
3445                <reference definitionId="org.eclipse.egit.ui.repoGroups.onlyGroupsSelected"/>
3446             </and>
3447          </activeWhen>
3448       </handler>
3449       <handler
3450             commandId="org.eclipse.ui.edit.delete">
3451          <class
3452                class="org.eclipse.egit.ui.internal.repository.tree.command.DeleteRepositoryGroupCommand">
3453          </class>
3454          <activeWhen>
3455             <and>
3456                <count value="+"/>
3457                <reference definitionId="org.eclipse.egit.ui.repoGroups.onlyGroupsSelected"/>
3458             </and>
3459          </activeWhen>
3460       </handler>
3461       <handler
3462             commandId="org.eclipse.egit.ui.RepositoriesCreateGroup">
3463          <class
3464                class="org.eclipse.egit.ui.internal.repository.tree.command.CreateRepositoryGroupCommand">
3465          </class>
3466          <activeWhen>
3467             <with variable="activePart">
3468                <instanceof value="org.eclipse.egit.ui.internal.repository.RepositoriesView" />
3469             </with>
3470          </activeWhen>
3471       </handler>
3472        <handler
3473             commandId="org.eclipse.egit.ui.RepositoriesViewCollapseWorkingTree">
3474          <class
3475                class="org.eclipse.egit.ui.internal.repository.tree.command.CollapseWorkingTreeCommand">
3476          </class>
3477          <activeWhen>
3478             <iterate>
3479                <or>
3480                   <instanceof value="org.eclipse.egit.ui.internal.repository.tree.FileNode" />
3481                   <instanceof value="org.eclipse.egit.ui.internal.repository.tree.FolderNode" />
3482                   <instanceof value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode" />
3483                </or>
3484             </iterate>
3485          </activeWhen>
3486       </handler>
3487    </extension>
3488    <extension
3489          point="org.eclipse.ui.views">
3490       <view
3491             category="org.eclipse.egit.ui.GitCategory"
3492             class="org.eclipse.egit.ui.internal.repository.RepositoriesView"
3493             icon="icons/eview16/repo_rep.png"
3494             id="org.eclipse.egit.ui.RepositoriesView"
3495             name="%GitRepositoriesView_name"
3496             restorable="true">
3497       </view>
3498       <view
3499             category="org.eclipse.egit.ui.GitCategory"
3500             class="org.eclipse.egit.ui.internal.staging.StagingView"
3501             icon="icons/eview16/staging.png"
3502             id="org.eclipse.egit.ui.StagingView"
3503             name="%GitStagingView_name">
3504       </view>
3505       <view
3506             category="org.eclipse.egit.ui.GitCategory"
3507             class="org.eclipse.egit.ui.internal.rebase.RebaseInteractiveView"
3508             icon="icons/eview16/rebase_interactive.png"
3509             id="org.eclipse.egit.ui.InteractiveRebaseView"
3510             name="%GitInteractiveRebaseView_name">
3511       </view>
3512       <category
3513             id="org.eclipse.egit.ui.GitCategory"
3514             name="%GitCategory_name">
3515       </category>
3516       <view
3517             category="org.eclipse.egit.ui.GitCategory"
3518             class="org.eclipse.egit.ui.internal.dialogs.CompareTreeView"
3519             icon="icons/obj16/gitrepository.png"
3520             id="org.eclipse.egit.ui.CompareTreeView"
3521             name="%TreeCompareView.name"
3522             restorable="false">
3523       </view>
3524       <view
3525             allowMultiple="false"
3526             category="org.eclipse.egit.ui.GitCategory"
3527             class="org.eclipse.egit.ui.internal.reflog.ReflogView"
3528             icon="icons/eview16/reflog.png"
3529             id="org.eclipse.egit.ui.ReflogView"
3530             name="%ReflogView">
3531       </view>
3532    </extension>
3533    <extension
3534          point="org.eclipse.ui.perspectives">
3535       <perspective
3536             class="org.eclipse.egit.ui.GitRepositoriesPerspectiveFactory"
3537             icon="icons/obj16/gitrepository.png"
3538             id="org.eclipse.egit.ui.GitRepositoryExploring"
3539             name="%GitRepositoryPerspective_name">
3540          <description>
3541             %GitRepositoryPerspective_description
3542          </description>
3543       </perspective>
3544    </extension>
3545    <extension
3546          point="org.eclipse.ui.perspectiveExtensions">
3547       <perspectiveExtension
3548             targetID="org.eclipse.ui.resourcePerspective">
3549          <showInPart
3550                id="org.eclipse.egit.ui.RepositoriesView">
3551          </showInPart>
3552       </perspectiveExtension>
3553       <perspectiveExtension
3554             targetID="org.eclipse.jdt.ui.JavaPerspective">
3555          <showInPart
3556                id="org.eclipse.egit.ui.RepositoriesView">
3557          </showInPart>
3558          <view
3559                id="org.eclipse.egit.ui.RepositoriesView"
3560                minimized="false"
3561                ratio="0.6"
3562                relationship="bottom"
3563                relative="org.eclipse.jdt.ui.PackageExplorer"
3564                visible="false">
3565          </view>
3566       </perspectiveExtension>
3567       <perspectiveExtension
3568             targetID="org.eclipse.debug.ui.DebugPerspective">
3569          <showInPart
3570                id="org.eclipse.egit.ui.RepositoriesView">
3571          </showInPart>
3572       </perspectiveExtension>
3573       <perspectiveExtension
3574             targetID="org.eclipse.pde.ui.PDEPerspective">
3575          <showInPart
3576                id="org.eclipse.egit.ui.RepositoriesView">
3577          </showInPart>
3578          <view
3579                id="org.eclipse.egit.ui.RepositoriesView"
3580                minimized="false"
3581                ratio="0.6"
3582                relationship="bottom"
3583                relative="org.eclipse.jdt.ui.PackageExplorer"
3584                visible="false">
3585          </view>
3586       </perspectiveExtension>
3587    </extension>
3588    <extension
3589          point="org.eclipse.ui.navigator.navigatorContent">
3590       <navigatorContent
3591             contentProvider="org.eclipse.egit.ui.internal.repository.RepositoriesViewExtensionFactory:org.eclipse.egit.ui.internal.repository.RepositoriesViewContentProvider"
3592             icon="icons/obj16/repository_rep.png"
3593             id="org.eclipse.egit.ui.RepositoriesViewContent"
3594             labelProvider="org.eclipse.egit.ui.internal.repository.RepositoryTreeNodeLabelProvider"
3595             name="%GitRepositoriesContentName">
3596          <enablement>
3597             <or>
3598                <instanceof
3599                      value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode">
3600                </instanceof>
3601                <instanceof
3602                      value="org.eclipse.core.resources.IWorkspaceRoot">
3603                </instanceof>
3604             </or>
3605          </enablement>
3606          <commonSorter
3607                class="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNodeSorter">
3608          </commonSorter>
3609          <dropAssistant
3610                class="org.eclipse.egit.ui.internal.repository.DropAdapterAssistant"
3611                id="org.eclipse.egit.ui.repositoriesView.dropAssistant">
3612             <possibleDropTargets>
3613                <or>
3614                  <instanceof
3615                        value="org.eclipse.core.resources.IWorkspaceRoot">
3616                  </instanceof>
3617                  <instanceof
3618                        value="org.eclipse.egit.ui.internal.repository.tree.RepositoryGroupNode">
3619                  </instanceof>
3620                </or>
3621             </possibleDropTargets>
3622          </dropAssistant>
3623          <actionProvider
3624                class="org.eclipse.egit.ui.internal.repository.RepositoriesViewActionProvider">
3625          </actionProvider>
3626       </navigatorContent>
3627       <commonFilter id="org.eclipse.egit.ui.repositoriesView.filters.remoteBranches"
3628           name="%RepoViewFilterRemoteBranches.label" description="%RepoViewFilterRemoteBranches.description" activeByDefault="false"
3629           class="org.eclipse.egit.ui.internal.repository.tree.filter.NodeFilterFactory:REMOTETRACKING"/>
3630       <commonFilter id="org.eclipse.egit.ui.repositoriesView.filters.tags"
3631           name="%RepoViewFilterTags.label" description="%RepoViewFilterTags.description" activeByDefault="false"
3632           class="org.eclipse.egit.ui.internal.repository.tree.filter.NodeFilterFactory:TAGS"/>
3633       <commonFilter id="org.eclipse.egit.ui.repositoriesView.filters.references"
3634           name="%RepoViewFilterReferences.label" description="%RepoViewFilterReferences.description" activeByDefault="false"
3635           class="org.eclipse.egit.ui.internal.repository.tree.filter.NodeFilterFactory:ADDITIONALREFS"/>
3636       <commonFilter id="org.eclipse.egit.ui.repositoriesView.filters.remotes"
3637           name="%RepoViewFilterRemotes.label" description="%RepoViewFilterRemotes.description" activeByDefault="false"
3638           class="org.eclipse.egit.ui.internal.repository.tree.filter.NodeFilterFactory:REMOTES"/>
3639       <commonFilter id="org.eclipse.egit.ui.repositoriesView.filters.stashes"
3640           name="%RepoViewFilterStashes.label" description="%RepoViewFilterStashes.description" activeByDefault="false"
3641           class="org.eclipse.egit.ui.internal.repository.tree.filter.NodeFilterFactory:STASH"/>
3642       <commonFilter id="org.eclipse.egit.ui.repositoriesView.filters.submodules"
3643           name="%RepoViewFilterSubmodules.label" description="%RepoViewFilterSubmodules.description" activeByDefault="false"
3644           class="org.eclipse.egit.ui.internal.repository.tree.filter.NodeFilterFactory:SUBMODULES"/>
3645       <commonFilter id="org.eclipse.egit.ui.repositoriesView.filters.worktree"
3646           name="%RepoViewFilterWorktree.label" description="%RepoViewFilterWorktree.description" activeByDefault="false"
3647           class="org.eclipse.egit.ui.internal.repository.tree.filter.NodeFilterFactory:WORKINGDIR"/>
3648    </extension>
3649    <extension
3650          point="org.eclipse.ui.navigator.viewer">
3651       <viewer
3652             viewerId="org.eclipse.egit.ui.RepositoriesView">
3653          <options>
3654             <property
3655                name="org.eclipse.ui.navigator.hideAvailableCustomizationsDialog"
3656                value="false"/>
3657             <!-- Hide the "Content" tab of the "Available Customizations" dialog -->
3658             <property
3659                name="org.eclipse.ui.navigator.hideAvailableExtensionsTab"
3660                value="true"/>
3661             <!-- Hide the "Link with Editor" action from the toolbar of the viewer -->
3662             <!-- We implement our own "Link with Editor and Selection"; the built-in -->
3663             <!-- ILinkHelper works only for linking with an active editor, but not -->
3664             <!-- for synchronizing the selection with that in other views. -->
3665             <property
3666                name="org.eclipse.ui.navigator.hideLinkWithEditorAction"
3667                value="true"/>
3668          </options>
3669          <popupMenu>
3670             <insertionPoint
3671                   name="branch"
3672                   separator="true">
3673             </insertionPoint>
3674             <insertionPoint
3675                   name="remotes"
3676                   separator="true">
3677             </insertionPoint>
3678             <insertionPoint
3679                   name="tag"
3680                   separator="true">
3681             </insertionPoint>
3682             <insertionPoint
3683                   name="remote"
3684                   separator="true">
3685             </insertionPoint>
3686             <insertionPoint
3687                   name="repo-0"
3688                   separator="true"> <!-- switch to -->
3689             </insertionPoint>
3690             <insertionPoint
3691                   name="repo-1"
3692                   separator="true"> <!-- commit, stash, apply stash -->
3693             </insertionPoint>
3694             <insertionPoint
3695                   name="repo-commit"
3696                   separator="true">
3697             </insertionPoint>
3698             <insertionPoint
3699                   name="repo-2"
3700                   separator="true"> <!-- merge, rebase, reset -->
3701             </insertionPoint>
3702             <insertionPoint
3703                   name="repo-3"
3704                   separator="true"> <!-- add to index, delete, import projects -->
3705             </insertionPoint>
3706             <insertionPoint
3707                   name="group.open"
3708                   separator="true">
3709             </insertionPoint>
3710             <insertionPoint
3711                   name="group.show"
3712                   separator="false">
3713             </insertionPoint>
3714             <insertionPoint
3715                   name="repo-4"
3716                   separator="true"> <!-- clean, gc, lfs, delete, remove -->
3717             </insertionPoint>
3718             <insertionPoint
3719                   name="repo-5"
3720                   separator="true"> <!-- submodule add, sync, update -->
3721             </insertionPoint>
3722             <insertionPoint
3723                   name="repo-6"
3724                   separator="true"> <!-- copy path, paste URL -->
3725             </insertionPoint>
3726             <insertionPoint
3727                   name="group.properties"
3728                   separator="true">
3729             </insertionPoint>
3730          </popupMenu>
3731       </viewer>
3732       <viewerContentBinding
3733             viewerId="org.eclipse.egit.ui.RepositoriesView">
3734          <includes>
3735             <contentExtension
3736                   pattern="org.eclipse.egit.ui.RepositoriesViewContent">
3737             </contentExtension>
3738             <contentExtension
3739                   pattern="org.eclipse.egit.ui.repositoriesView.filters.remoteBranches">
3740             </contentExtension>
3741             <contentExtension
3742                   pattern="org.eclipse.egit.ui.repositoriesView.filters.tags">
3743             </contentExtension>
3744             <contentExtension
3745                   pattern="org.eclipse.egit.ui.repositoriesView.filters.references">
3746             </contentExtension>
3747             <contentExtension
3748                   pattern="org.eclipse.egit.ui.repositoriesView.filters.remotes">
3749             </contentExtension>
3750             <contentExtension
3751                   pattern="org.eclipse.egit.ui.repositoriesView.filters.stashes">
3752             </contentExtension>
3753             <contentExtension
3754                   pattern="org.eclipse.egit.ui.repositoriesView.filters.submodules">
3755             </contentExtension>
3756             <contentExtension
3757                   pattern="org.eclipse.egit.ui.repositoriesView.filters.worktree">
3758             </contentExtension>
3759          </includes>
3760       </viewerContentBinding>
3761       <dragAssistant
3762             viewerId="org.eclipse.egit.ui.RepositoriesView"
3763             class="org.eclipse.egit.ui.internal.repository.RepositoryDragAssistant">
3764       </dragAssistant>
3765       <viewerActionBinding
3766             viewerId="org.eclipse.egit.ui.RepositoriesView">
3767          <includes>
3768             <actionExtension
3769                   pattern="org.eclipse.ui.navigator.resources.UndoRedoActionProvider">
3770             </actionExtension>
3771          </includes>
3772       </viewerActionBinding>
3773    </extension>
3774    <extension
3775          point="org.eclipse.ui.menus">
3776       <menuContribution
3777             locationURI="popup:org.eclipse.egit.ui.historyPageContributions?after=history.group">
3778          <command
3779               commandId="org.eclipse.egit.ui.history.CompareWithWorkingTree"
3780               label="%HistoryCompareWithWorkingTree.label"
3781               style="push">
3782             <visibleWhen checkEnabled="true" />
3783          </command>
3784          <command
3785               commandId="org.eclipse.egit.ui.history.ShowVersions"
3786               label="%HistoryShowVersions.label"
3787               style="push">
3788             <visibleWhen checkEnabled="true" />
3789          </command>
3790          <command
3791               commandId="org.eclipse.egit.ui.history.OpenInTextEditorCommand"
3792               label="%HistoryOpenInTextEditorCommand.label"
3793               style="push">
3794             <visibleWhen checkEnabled="true" />
3795          </command>
3796          <command
3797               commandId="org.eclipse.egit.ui.history.ShowBlame"
3798               label="%HistoryShowBlame.label"
3799               style="push">
3800             <visibleWhen checkEnabled="true" />
3801          </command>
3802          <command
3803               commandId="org.eclipse.egit.ui.history.OpenInCommitViewerCommand"
3804               label="%HistoryOpenInCommitViewer.label"
3805               tooltip="%OpenInCommitViewerCommand.tooltip"
3806               style="push">
3807             <visibleWhen checkEnabled="true" />
3808          </command>
3809          <command
3810               commandId="org.eclipse.egit.ui.history.CompareVersions"
3811               label="%HistoryCompareVersions.label"
3812               style="push">
3813             <visibleWhen checkEnabled="true" />
3814          </command>
3815          <command
3816               commandId="org.eclipse.egit.ui.history.CompareVersionsInTree"
3817               label="%HistoryCompareVersionsInTree.label"
3818               style="push">
3819             <visibleWhen checkEnabled="true" />
3820          </command>
3821          <command
3822               commandId="org.eclipse.egit.ui.commit.UnifiedDiffCommand"
3823               label="%HistoryShowUnifiedDiff.label"
3824               style="push">
3825             <visibleWhen checkEnabled="true" />
3826          </command>
3827          <separator name="##Checkout" visible="true" />
3828          <command
3829               commandId="org.eclipse.egit.ui.CheckoutCommand"
3830               label="%HistoryCheckoutCommand.label"
3831               style="push">
3832             <visibleWhen>
3833                <and>
3834                   <count value="1"/>
3835                   <iterate>
3836                      <instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
3837                      <test property="Git.isBare" value="false" />
3838                      <test property="Git.hasMultipleRefs" args="refs/heads/" value="false" />
3839                   </iterate>
3840                </and>
3841             </visibleWhen>
3842          </command>
3843          <command
3844               commandId="org.eclipse.egit.ui.CheckoutCommand"
3845               label="%HistoryCheckoutCommand.label2"
3846               style="push">
3847             <visibleWhen>
3848                <and>
3849                   <count value="1"/>
3850                   <iterate>
3851                      <instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
3852                      <test property="Git.isBare" value="false" />
3853                      <test property="Git.hasMultipleRefs" args="refs/heads/"/>
3854                   </iterate>
3855                </and>
3856             </visibleWhen>
3857          </command>
3858          <command
3859               commandId="org.eclipse.egit.ui.history.PushCommit"
3860               label="%HistoryPushCommit.label"
3861               style="push">
3862             <visibleWhen checkEnabled="true" />
3863          </command>
3864          <separator name="##Refs" visible="true" />
3865          <command
3866               commandId="org.eclipse.egit.ui.RepositoriesViewCreateBranch"
3867               label="%HistoryCreateBranch.label"
3868               style="push">
3869             <visibleWhen checkEnabled="true" />
3870          </command>
3871          <command
3872               commandId="org.eclipse.egit.ui.history.DeleteBranch"
3873               label="%HistoryDeleteBranch.label"
3874               style="push">
3875             <visibleWhen checkEnabled="true" />
3876          </command>
3877          <command
3878                commandId="org.eclipse.ui.edit.rename"
3879                icon="icons/obj16/editconfig.png"
3880                label="%HistoryRenameBranch.label"
3881                style="push">
3882             <visibleWhen checkEnabled="true" />
3883          </command>
3884          <command
3885               commandId="org.eclipse.egit.ui.team.Tag"
3886               label="%HistoryCreateTag.label"
3887               style="push">
3888             <visibleWhen checkEnabled="true" />
3889          </command>
3890          <command
3891               commandId="org.eclipse.egit.ui.history.DeleteTag"
3892               label="%HistoryDeleteTag.label"
3893               style="push">
3894             <visibleWhen checkEnabled="true" />
3895          </command>
3896          <separator name="##Commits" visible="true" />
3897          <command
3898               commandId="org.eclipse.egit.ui.history.CreatePatch"
3899               label="%HistoryCreatePatch.label"
3900               style="push">
3901             <visibleWhen checkEnabled="true" />
3902          </command>
3903          <command
3904               commandId="org.eclipse.egit.ui.team.CherryPick"
3905               label="%HistoryCherryPick.label"
3906               style="push">
3907             <visibleWhen checkEnabled="true" />
3908          </command>
3909          <command
3910               commandId="org.eclipse.egit.ui.history.Merge"
3911               label="%HistoryMerge.label"
3912               style="push">
3913             <visibleWhen checkEnabled="true" />
3914          </command>
3915          <command
3916               commandId="org.eclipse.egit.ui.RebaseCurrent"
3917               label="%HistoryRebaseCurrent.label"
3918               style="push">
3919             <visibleWhen checkEnabled="true" />
3920          </command>
3921          <command
3922               commandId="org.eclipse.egit.ui.RebaseInteractiveCurrent"
3923               label="%HistoryRebaseInteractive.label"
3924               style="push">
3925             <visibleWhen checkEnabled="true" />
3926          </command>
3927          <separator name="##Reset" visible="true" />
3928          <!-- Reset submenu -->
3929          <menu
3930                icon="icons/obj16/reset.png"
3931                id="org.eclipse.egit.ui.history.resetMenu"
3932                label="%HistoryResetMenu.label">
3933             <visibleWhen>
3934                <and>
3935                   <count value="1" />
3936                   <iterate>
3937                      <instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
3938                   </iterate>
3939                </and>
3940             </visibleWhen>
3941             <command
3942                  commandId="org.eclipse.egit.ui.history.Reset"
3943                  label="%HistoryResetSoft.label"
3944                  style="push">
3945                <parameter name="org.eclipse.egit.ui.history.ResetMode" value="SOFT" />
3946                <visibleWhen checkEnabled="true" />
3947             </command>
3948             <command
3949                  commandId="org.eclipse.egit.ui.history.Reset"
3950                  label="%HistoryResetMixed.label"
3951                  style="push">
3952                <parameter name="org.eclipse.egit.ui.history.ResetMode" value="MIXED" />
3953                <visibleWhen checkEnabled="true" />
3954             </command>
3955             <command
3956                  commandId="org.eclipse.egit.ui.history.Reset"
3957                  label="%HistoryResetHard.label"
3958                  style="push">
3959                <parameter name="org.eclipse.egit.ui.history.ResetMode" value="HARD" />
3960                <visibleWhen checkEnabled="true" />
3961             </command>
3962          </menu>
3963          <command
3964               commandId="org.eclipse.egit.ui.team.Revert"
3965               label="%HistoryRevert.label"
3966               style="push">
3967             <visibleWhen checkEnabled="true" />
3968          </command>
3969          <separator name="##Submenus" visible="true" />
3970          <!-- QuickDiff submenu -->
3971          <menu
3972                id="org.eclipse.egit.ui.history.quickDiff"
3973                label="%HistoryQuickdiffMenu.label">
3974             <visibleWhen>
3975                <and>
3976                   <count value="1" />
3977                   <iterate>
3978                      <instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
3979                   </iterate>
3980                </and>
3981             </visibleWhen>
3982             <command
3983                  commandId="org.eclipse.egit.ui.history.SetQuickdiffBaseline"
3984                  label="%HistoryQuickdiffSet.label"
3985                  style="push">
3986                <visibleWhen checkEnabled="true" />
3987             </command>
3988             <command
3989                  commandId="org.eclipse.egit.ui.history.ResetQuickdiffBaseline"
3990                  label="%HistoryResetQuickDiffHead.label"
3991                  style="push">
3992                <parameter name="org.eclipse.egit.ui.history.ResetQuickdiffBaselineTarget" value="HEAD" />
3993                <visibleWhen checkEnabled="true" />
3994             </command>
3995             <command
3996                  commandId="org.eclipse.egit.ui.history.ResetQuickdiffBaseline"
3997                  label="%HistoryResetQuickDiffHeadParent.label"
3998                  style="push">
3999                <parameter name="org.eclipse.egit.ui.history.ResetQuickdiffBaselineTarget" value="HEAD^1" />
4000                <visibleWhen checkEnabled="true" />
4001             </command>
4002          </menu>
4003          <!-- Modify submenu -->
4004          <menu
4005                id="org.eclipse.egit.ui.history.modify"
4006                label="%HistoryModifyMenu.label">
4007             <visibleWhen>
4008                <iterate ifEmpty="false" >
4009                   <instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
4010                </iterate>
4011             </visibleWhen>
4012             <command
4013                  commandId="org.eclipse.egit.ui.history.Reword"
4014                  label="%HistoryModifyReword.label"
4015                  style="push">
4016                <visibleWhen checkEnabled="true" />
4017             </command>
4018             <command
4019                  commandId="org.eclipse.egit.ui.history.Edit"
4020                  label="%HistoryModifyEdit.label"
4021                  style="push">
4022                <visibleWhen checkEnabled="true" />
4023             </command>
4024             <command
4025                  commandId="org.eclipse.egit.ui.history.Squash"
4026                  label="%HistoryModifySquash.label"
4027                  style="push">
4028                <visibleWhen checkEnabled="true" />
4029             </command>
4030          </menu>
4031       </menuContribution>
4032       <menuContribution
4033             allPopups="false"
4034             locationURI="popup:org.eclipse.egit.ui.historyPageContributions?after=additions">
4035             <command
4036                commandId="org.eclipse.egit.ui.ImportChangedProjectsCommandId"
4037                icon="icons/obj16/import_prj.png"
4038                label="%ImportChangedProjects.label"
4039                style="push">
4040             <visibleWhen checkEnabled="true" />
4041          </command>
4042       </menuContribution>
4043       <menuContribution
4044             allPopups="false"
4045             locationURI="popup:org.eclipse.egit.ui.InteractiveRebaseView?after=additions">
4046          <command
4047                commandId="org.eclipse.egit.ui.history.OpenInCommitViewerCommand"
4048                label="%RebaseInteractiveOpenInCommitViewer.label"
4049                tooltip="%OpenInCommitViewerCommand.tooltip"
4050                style="push">
4051             <visibleWhen checkEnabled="true" />
4052          </command>
4053          <command
4054                commandId="org.eclipse.egit.ui.commit.UnifiedDiffCommand"
4055                label="%RebaseInteractiveShowUnifiedDiff.label"
4056                style="push">
4057             <visibleWhen checkEnabled="true" />
4058          </command>
4059       </menuContribution>
4060       <menuContribution
4061             locationURI="popup:org.eclipse.egit.ui.internal.reflogview.popup">
4062          <command
4063                commandId="org.eclipse.egit.ui.history.OpenInCommitViewerCommand"
4064                label="%RefLogViewOpenInCommitViewer.label"
4065                tooltip="%OpenInCommitViewerCommand.tooltip"
4066                style="push">
4067          </command>
4068          <command
4069               commandId="org.eclipse.egit.ui.commit.UnifiedDiffCommand"
4070               label="%RefLogShowUnifiedDiff.label"
4071               style="push">
4072             <visibleWhen checkEnabled="true" />
4073          </command>
4074          <separator
4075                name="##Checkout" visible="true">
4076          </separator>
4077          <command
4078                commandId="org.eclipse.egit.ui.CheckoutCommand"
4079                label="%RefLogViewCheckout.label"
4080                style="push">
4081          </command>
4082          <command
4083                commandId="org.eclipse.egit.ui.internal.reflog.CopyCommand"
4084                label="%ReflogCopyCommand.label"
4085                style="push">
4086          </command>
4087          <!-- Reset submenu -->
4088          <menu
4089                icon="icons/obj16/reset.png"
4090                id="org.eclipse.egit.ui.reflog.resetMenu"
4091                label="%ReflogResetMenu.label">
4092             <command
4093                  commandId="org.eclipse.egit.ui.history.Reset"
4094                  label="%ReflogResetSoft.label"
4095                  style="push">
4096                <parameter name="org.eclipse.egit.ui.history.ResetMode" value="SOFT" />
4097                <visibleWhen checkEnabled="true" />
4098             </command>
4099             <command
4100                  commandId="org.eclipse.egit.ui.history.Reset"
4101                  label="%ReflogResetMixed.label"
4102                  style="push">
4103                <parameter name="org.eclipse.egit.ui.history.ResetMode" value="MIXED" />
4104                <visibleWhen checkEnabled="true" />
4105             </command>
4106             <command
4107                  commandId="org.eclipse.egit.ui.history.Reset"
4108                  label="%ReflogResetHard.label"
4109                  style="push">
4110                <parameter name="org.eclipse.egit.ui.history.ResetMode" value="HARD" />
4111                <visibleWhen checkEnabled="true" />
4112             </command>
4113          </menu>
4114       </menuContribution>
4115       <menuContribution
4116             locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=branch">
4117          <command
4118                commandId="org.eclipse.egit.ui.CheckoutCommand"
4119                label="%RepoViewCheckout.label"
4120                style="push">
4121             <visibleWhen checkEnabled="true" />
4122          </command>
4123          <command
4124                commandId="org.eclipse.egit.ui.team.Push"
4125                icon="icons/obj16/push.png"
4126                label="%RepoViewPushBranch.label"
4127                style="push">
4128             <visibleWhen
4129                   checkEnabled="false">
4130                <and>
4131                   <count
4132                         value="1">
4133                   </count>
4134                   <iterate>
4135                      <instanceof
4136                            value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
4137                      </instanceof>
4138                   </iterate>
4139                </and>
4140             </visibleWhen>
4141          </command>
4142          <command
4143                commandId="org.eclipse.egit.ui.team.Push"
4144                icon="icons/obj16/push.png"
4145                label="%RepoViewPushTag.label"
4146                style="push">
4147             <visibleWhen
4148                   checkEnabled="false">
4149                <and>
4150                   <count
4151                         value="+">
4152                   </count>
4153                   <iterate>
4154                      <instanceof
4155                            value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
4156                      </instanceof>
4157                   </iterate>
4158                </and>
4159             </visibleWhen>
4160          </command>
4161          <command
4162                commandId="org.eclipse.egit.ui.RepositoriesViewCreateBranch"
4163                label="%RepoViewCreateBranch.label"
4164                style="push">
4165             <visibleWhen checkEnabled="true" />
4166          </command>
4167          <command
4168                commandId="org.eclipse.ui.edit.rename"
4169                icon="icons/obj16/editconfig.png"
4170                label="%RepoViewRenameBranch.label"
4171                style="push">
4172             <visibleWhen>
4173                <reference
4174                      definitionId="org.eclipse.egit.ui.singleRefNode">
4175                </reference>
4176             </visibleWhen>
4177          </command>
4178          <command
4179                commandId="org.eclipse.egit.ui.RepositoriesViewConfigureBranch"
4180                label="%ConfigurBranchCommand.label"
4181                style="push">
4182             <visibleWhen checkEnabled="true" />
4183          </command>
4184          <command
4185                commandId="org.eclipse.ui.edit.delete"
4186                label="%RepoViewDeleteBranch.label"
4187                style="push">
4188             <visibleWhen
4189                   checkEnabled="false">
4190                <and>
4191                   <count
4192                         value="+">
4193                   </count>
4194                   <iterate>
4195                      <and>
4196                         <or>
4197                            <instanceof
4198                                  value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
4199                            </instanceof>
4200                            <instanceof
4201                                  value="org.eclipse.egit.ui.internal.repository.tree.BranchHierarchyNode">
4202                            </instanceof>
4203                            <test property="GitRepository.isLocalBranch" />
4204                         </or>
4205                         <test property="GitRepository.isRefCheckedOut" value="false" />
4206                      </and>
4207                   </iterate>
4208                </and>
4209             </visibleWhen>
4210          </command>
4211          <separator
4212                name="##Branch-2"
4213                visible="true">
4214          </separator>
4215          <command
4216                commandId="org.eclipse.ui.edit.delete"
4217                label="%DeleteTagCommand.name"
4218                style="push">
4219             <visibleWhen
4220                   checkEnabled="false">
4221                <and>
4222                   <count
4223                         value="+">
4224                   </count>
4225                   <iterate>
4226                      <instanceof
4227                            value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
4228                      </instanceof>
4229                   </iterate>
4230                </and>
4231             </visibleWhen>
4232          </command>
4233          <command
4234                commandId="org.eclipse.egit.ui.team.Synchronize"
4235                icon="icons/obj16/synchronize.png"
4236                label="%RepoViewSynchronize.label"
4237                style="push">
4238             <visibleWhen
4239                   checkEnabled="false">
4240                <and>
4241                   <count
4242                         value="1">
4243                   </count>
4244                   <iterate>
4245                      <and>
4246                         <or>
4247                            <instanceof
4248                                  value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
4249                            </instanceof>
4250                            <instanceof
4251                                  value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
4252                            </instanceof>
4253                         </or>
4254                         <test property="GitRepository.isBare" value="false" />
4255                      </and>
4256                   </iterate>
4257                </and>
4258             </visibleWhen>
4259          </command>
4260          <command
4261                commandId="org.eclipse.egit.ui.team.Synchronize"
4262                icon="icons/obj16/synchronize.png"
4263                label="%RepoViewSynchronizeEachOther.label"
4264                style="push">
4265             <visibleWhen
4266                   checkEnabled="false">
4267                <and>
4268                   <count
4269                         value="2">
4270                   </count>
4271                   <iterate>
4272                      <and>
4273                         <or>
4274                            <instanceof
4275                                  value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
4276                            </instanceof>
4277                            <instanceof
4278                                  value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
4279                            </instanceof>
4280                         </or>
4281                         <test property="GitRepository.isBare" value="false" />
4282                      </and>
4283                   </iterate>
4284                </and>
4285             </visibleWhen>
4286          </command>
4287          <command
4288               commandId="org.eclipse.egit.ui.history.CompareVersions"
4289               label="%RepoViewCompareVersions.label"
4290               style="push">
4291             <visibleWhen checkEnabled="true" />
4292          </command>
4293          <command
4294               commandId="org.eclipse.egit.ui.history.CompareVersionsInTree"
4295               label="%RepoViewCompareVersionsInTree.label"
4296               style="push">
4297             <visibleWhen checkEnabled="true" />
4298          </command>
4299          <command
4300               commandId="org.eclipse.egit.ui.commit.UnifiedDiffCommand"
4301               label="%RepoViewCompareUnified.label"
4302               style="push">
4303             <visibleWhen checkEnabled="true" />
4304          </command>
4305       </menuContribution>
4306       <menuContribution
4307             locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=remotes">
4308                      <command
4309                commandId="org.eclipse.egit.ui.RepositoriesViewNewRemote"
4310                label="%RepoViewCreateRemote.label"
4311                style="push">
4312             <visibleWhen checkEnabled="true" />
4313          </command>
4314          <command
4315                commandId="org.eclipse.egit.ui.team.SimplePush"
4316                icon="icons/obj16/push.png"
4317                label="%RepoViewPushSimpleLabel"
4318                style="push">
4319             <visibleWhen
4320                   checkEnabled="false">
4321                <and>
4322                   <count
4323                         value="1">
4324                   </count>
4325                   <iterate
4326                         ifEmpty="false"
4327                         operator="and">
4328                      <or>
4329                         <instanceof
4330                               value="org.eclipse.egit.ui.internal.repository.tree.PushNode">
4331                         </instanceof>
4332                         <instanceof
4333                               value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
4334                         </instanceof>
4335                      </or>
4336                   </iterate>
4337                </and>
4338             </visibleWhen>
4339          </command>
4340          <command
4341                commandId="org.eclipse.egit.ui.team.SimpleFetch"
4342                icon="icons/obj16/fetch.png"
4343                label="%RepoViewFetchSimple.label"
4344                style="push">
4345             <visibleWhen
4346                   checkEnabled="false">
4347                <and>
4348                   <count
4349                         value="1">
4350                   </count>
4351                   <iterate
4352                         ifEmpty="false"
4353                         operator="and">
4354                      <or>
4355                         <instanceof
4356                               value="org.eclipse.egit.ui.internal.repository.tree.FetchNode">
4357                         </instanceof>
4358                         <instanceof
4359                               value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
4360                         </instanceof>
4361                      </or>
4362                   </iterate>
4363                </and>
4364             </visibleWhen>
4365          </command>
4366       </menuContribution>
4367       <menuContribution
4368             locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=tag">
4369          <command
4370                commandId="org.eclipse.egit.ui.team.Tag"
4371                label="%RepoViewCreateTag.label"
4372                style="push">
4373             <visibleWhen checkEnabled="true" />
4374          </command>
4375          <command
4376                commandId="org.eclipse.egit.ui.team.PushTags"
4377                label="%PushTagsCommand.label"
4378                style="push">
4379             <visibleWhen
4380                   checkEnabled="false">
4381                <and>
4382                   <count
4383                         value="1">
4384                   </count>
4385                   <iterate>
4386                      <or>
4387                         <instanceof
4388                               value="org.eclipse.egit.ui.internal.repository.tree.TagsNode">
4389                         </instanceof>
4390                      </or>
4391                   </iterate>
4392                </and>
4393             </visibleWhen>
4394          </command>
4395          <command
4396                commandId="org.eclipse.ui.edit.findReplace"
4397                label="%RepoViewFilterTagCommand.label"
4398                icon="icons/elcl16/find.png"
4399                tooltip="%RepoViewFilterTagCommand.tooltip"
4400                style="push">
4401             <visibleWhen checkEnabled="true" />
4402          </command>
4403       </menuContribution>
4404       <menuContribution
4405             locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=remote">
4406          <command
4407                commandId="org.eclipse.egit.ui.RepositoriesViewConfigureFetch"
4408                icon="icons/obj16/editconfig.png"
4409                label="%RepoViewConfigureFetch.label"
4410                style="push">
4411             <visibleWhen checkEnabled="true" />
4412          </command>
4413          <command
4414                commandId="org.eclipse.egit.ui.RepositoriesViewConfigurePush"
4415                icon="icons/obj16/editconfig.png"
4416                label="%RepoViewConfigurePush.label"
4417                style="push">
4418             <visibleWhen checkEnabled="true" />
4419          </command>
4420          <command
4421                commandId="org.eclipse.egit.ui.RepositoriesViewChangeCredentials"
4422                label="%RepoViewChangeCredentialsLabel"
4423                style="push">
4424             <visibleWhen checkEnabled="true"/>
4425          </command>
4426          <command
4427                commandId="org.eclipse.egit.ui.RepositoriesViewClearCredentials"
4428                label="%RepoViewClearCredentialsLabel"
4429                style="push">
4430             <visibleWhen checkEnabled="true" />
4431          </command>
4432          <command
4433                commandId="org.eclipse.ui.edit.delete"
4434                label="%RepoViewDeleteFetch.label"
4435                style="push">
4436             <visibleWhen
4437                   checkEnabled="false">
4438                <and>
4439                   <count
4440                         value="1">
4441                   </count>
4442                   <iterate
4443                         ifEmpty="false"
4444                         operator="and">
4445                      <instanceof
4446                            value="org.eclipse.egit.ui.internal.repository.tree.FetchNode">
4447                      </instanceof>
4448                   </iterate>
4449                </and>
4450             </visibleWhen>
4451          </command>
4452          <command
4453                commandId="org.eclipse.ui.edit.delete"
4454                label="%RepoViewDeletePush.label"
4455                style="push">
4456             <visibleWhen
4457                   checkEnabled="false">
4458                <and>
4459                   <count
4460                         value="1">
4461                   </count>
4462                   <iterate
4463                         ifEmpty="false"
4464                         operator="and">
4465                      <instanceof
4466                            value="org.eclipse.egit.ui.internal.repository.tree.PushNode">
4467                      </instanceof>
4468                   </iterate>
4469                </and>
4470             </visibleWhen>
4471          </command>
4472          <command
4473                commandId="org.eclipse.egit.ui.RepositoriesViewConfigureGerritRemote"
4474                label="%RepoViewConfigureGerritRemote.label"
4475                style="push">
4476             <visibleWhen
4477                   checkEnabled="false">
4478                <and>
4479                   <count
4480                         value="1">
4481                   </count>
4482                   <iterate
4483                         ifEmpty="false"
4484                         operator="and">
4485                      <instanceof
4486                            value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
4487                      </instanceof>
4488                   </iterate>
4489                </and>
4490             </visibleWhen>
4491          </command>
4492          <command
4493                commandId="org.eclipse.ui.edit.delete"
4494                label="%RepoViewRemoveRemote.label"
4495                style="push">
4496             <visibleWhen
4497                   checkEnabled="false">
4498                <and>
4499                   <count
4500                         value="1">
4501                   </count>
4502                   <iterate
4503                         ifEmpty="false"
4504                         operator="and">
4505                      <instanceof
4506                            value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
4507                      </instanceof>
4508                   </iterate>
4509                </and>
4510             </visibleWhen>
4511          </command>
4512       </menuContribution>
4513       <menuContribution
4514             locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-0">
4515          <command
4516                commandId="org.eclipse.egit.ui.RepositoriesViewAddRepository"
4517                style="push"
4518                tooltip="%RepoViewAddRepository.tooltip">
4519             <visibleWhen checkEnabled="false">
4520                <count value="0" />
4521             </visibleWhen>
4522          </command>
4523          <command
4524                commandId="org.eclipse.egit.ui.RepositoriesViewClone"
4525                style="push"
4526                tooltip="%RepoViewCloneRepository.tooltip">
4527             <visibleWhen checkEnabled="false">
4528                <count value="0" />
4529             </visibleWhen>
4530          </command>
4531          <command
4532                commandId="org.eclipse.egit.ui.RepositoriesViewCreateRepository"
4533                style="push"
4534                tooltip="%RepoViewCreateRepository.tooltip">
4535              <visibleWhen checkEnabled="false">
4536                <count value="0" />
4537             </visibleWhen>
4538          </command>
4539          <command
4540                commandId="org.eclipse.egit.ui.RepositoriesCreateGroup"
4541                label="%CreateRepositoryGroupCommand.label"
4542                style="push">
4543             <visibleWhen checkEnabled="false">
4544                <count value="0" />
4545             </visibleWhen>
4546          </command>
4547          <command
4548                commandId="org.eclipse.ui.edit.paste"
4549                label="%RepoViewPastePath.label"
4550                style="push">
4551             <visibleWhen checkEnabled="false">
4552                <count value="0" />
4553             </visibleWhen>
4554          </command>
4555          <menu
4556                icon="icons/obj16/branches_obj.png"
4557                label="%SwitchToMenuMultiple.label">
4558             <dynamic
4559                   class="org.eclipse.egit.ui.internal.actions.SwitchToMenu"
4560                   id="org.eclipse.egit.ui.switchToMenu">
4561             </dynamic>
4562             <visibleWhen
4563                   checkEnabled="false">
4564                <and>
4565                   <iterate
4566                         ifEmpty="false"
4567                         operator="and">
4568                      <and>
4569                         <or>
4570                            <instanceof
4571                                  value="org.eclipse.egit.ui.internal.repository.tree.RepositoryGroupNode">
4572                            </instanceof>
4573                            <instanceof
4574                                  value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
4575                            </instanceof>
4576                            <instanceof
4577                                  value="org.eclipse.egit.ui.internal.repository.tree.BranchesNode">
4578                            </instanceof>
4579                            <instanceof
4580                                  value="org.eclipse.egit.ui.internal.repository.tree.LocalNode">
4581                            </instanceof>
4582                         </or>
4583                         <test property="GitRepository.isBare" value="false" />
4584                      </and>
4585                   </iterate>
4586                   <test
4587                         property="GitSelection.selectionMultipleRepositories">
4588                   </test>
4589                </and>
4590             </visibleWhen>
4591          </menu>
4592          <menu
4593                icon="icons/obj16/branches_obj.png"
4594                label="%SwitchToMenu.label">
4595             <dynamic
4596                   class="org.eclipse.egit.ui.internal.actions.SwitchToMenu"
4597                   id="org.eclipse.egit.ui.switchToMenu">
4598             </dynamic>
4599             <visibleWhen
4600                   checkEnabled="false">
4601                <and>
4602                   <count
4603                         value="1">
4604                   </count>
4605                   <iterate
4606                         ifEmpty="false"
4607                         operator="and">
4608                      <and>
4609                         <or>
4610                            <instanceof
4611                                  value="org.eclipse.egit.ui.internal.repository.tree.RepositoryGroupNode">
4612                            </instanceof>
4613                            <instanceof
4614                                  value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
4615                            </instanceof>
4616                            <instanceof
4617                                  value="org.eclipse.egit.ui.internal.repository.tree.BranchesNode">
4618                            </instanceof>
4619                            <instanceof
4620                                  value="org.eclipse.egit.ui.internal.repository.tree.LocalNode">
4621                            </instanceof>
4622                         </or>
4623                         <test property="GitRepository.isBare" value="false" />
4624                      </and>
4625                   </iterate>
4626                   <test
4627                         property="GitSelection.selectionMultipleRepositories" value="false">
4628                   </test>
4629                </and>
4630             </visibleWhen>
4631          </menu>
4632       </menuContribution>
4633       <menuContribution
4634             locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-1">
4635          <command
4636                commandId="org.eclipse.egit.ui.team.Commit"
4637                icon="icons/obj16/commit.png"
4638                label="%RepoViewCommit.label"
4639                style="push">
4640             <visibleWhen
4641                   checkEnabled="false">
4642                <and>
4643                   <count
4644                         value="1">
4645                   </count>
4646                   <iterate
4647                         ifEmpty="false"
4648                         operator="and">
4649                      <and>
4650                         <instanceof
4651                               value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
4652                         </instanceof>
4653                         <test property="GitRepository.isBare" value="false" />
4654                      </and>
4655                   </iterate>
4656                </and>
4657             </visibleWhen>
4658          </command>
4659          <menu
4660                label="%StashesMenu.label"
4661                icon="icons/obj16/stash.png">
4662             <dynamic
4663                   class="org.eclipse.egit.ui.internal.actions.StashesMenu"
4664                   id="org.eclipse.egit.ui.stashedChanges">
4665             </dynamic>
4666             <visibleWhen
4667                   checkEnabled="false">
4668                <and>
4669                   <count
4670                         value="1">
4671                   </count>
4672                   <iterate>
4673                      <instanceof
4674                            value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
4675                      </instanceof>
4676                      <test property="GitRepository.isSubmodule" value="false" />
4677                      <test property="GitRepository.isBare" value="false" />
4678                      <test property="GitRepository.canStash" />
4679                      <test property="GitRepository.containsHead" />
4680                   </iterate>
4681                </and>
4682             </visibleWhen>
4683          </menu>
4684          <command
4685                commandId="org.eclipse.egit.ui.team.stash.apply"
4686                label="%StashApplyCommand.label"
4687                style="push">
4688             <visibleWhen checkEnabled="true" />
4689          </command>
4690          <command
4691                commandId="org.eclipse.ui.edit.delete"
4692                label="%StashDropCommand.label"
4693                style="push">
4694             <visibleWhen
4695                   checkEnabled="false">
4696                <and>
4697                   <count
4698                         value="+">
4699                   </count>
4700                   <iterate>
4701                      <instanceof
4702                            value="org.eclipse.egit.ui.internal.repository.tree.StashedCommitNode">
4703                      </instanceof>
4704                      <test property="GitRepository.isBare" value="false" />
4705                      <test property="GitRepository.isSafe" />
4706                   </iterate>
4707                </and>
4708             </visibleWhen>
4709          </command>
4710          <command
4711                commandId="org.eclipse.ui.edit.delete"
4712                label="%DeleteRepositoryGroupCommand.label"
4713                style="push">
4714             <visibleWhen checkEnabled="true">
4715                <and>
4716                   <count value="+"/>
4717                   <reference definitionId="org.eclipse.egit.ui.repoGroups.onlyGroupsSelected"/>
4718                </and>
4719             </visibleWhen>
4720          </command>
4721          <command
4722                commandId="org.eclipse.ui.edit.rename"
4723                label="%RenameRepositoryGroupCommand.label"
4724                style="push">
4725             <visibleWhen>
4726                <and>
4727                   <count value="1"/>
4728                   <reference definitionId="org.eclipse.egit.ui.repoGroups.onlyGroupsSelected"/>
4729                </and>
4730             </visibleWhen>
4731          </command>
4732       </menuContribution>
4733       <menuContribution
4734             locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-commit">
4735          <command
4736                commandId="org.eclipse.egit.ui.team.SimplePush"
4737                icon="icons/obj16/push.png"
4738                label="%PushToUpstreamCommand.label"
4739                style="push">
4740             <visibleWhen
4741                   checkEnabled="false">
4742                <and>
4743                   <count
4744                         value="1">
4745                   </count>
4746                   <iterate
4747                         ifEmpty="false"
4748                         operator="and">
4749                      <instanceof
4750                            value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
4751                      </instanceof>
4752                   </iterate>
4753                </and>
4754             </visibleWhen>
4755          </command>
4756          <command
4757                commandId="org.eclipse.egit.ui.team.SimpleFetch"
4758                icon="icons/obj16/fetch.png"
4759                label="%FetchFromUpstreamCommand.label"
4760                style="push">
4761             <visibleWhen
4762                   checkEnabled="false">
4763                <and>
4764                   <count
4765                         value="1">
4766                   </count>
4767                   <iterate
4768                         ifEmpty="false"
4769                         operator="and">
4770                      <instanceof
4771                            value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
4772                      </instanceof>
4773                   </iterate>
4774                </and>
4775             </visibleWhen>
4776          </command>
4777          <command
4778                commandId="org.eclipse.egit.ui.PushHeadToGerrit"
4779                label="%PushToGerritMenu.label"
4780                style="push">
4781             <visibleWhen
4782                   checkEnabled="false">
4783                <and>
4784                   <count
4785                         value="1">
4786                   </count>
4787                   <iterate>
4788                      <and>
4789                         <instanceof
4790                               value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
4791                         </instanceof>
4792                         <test
4793                               property="GitRepository.canPushToGerrit">
4794                         </test>
4795                      </and>
4796                   </iterate>
4797                </and>
4798             </visibleWhen>
4799          </command>
4800          <command
4801                commandId="org.eclipse.egit.ui.FetchGerritChange"
4802                label="%FetchFromGerritCommand.label"
4803                style="push">
4804             <visibleWhen
4805                   checkEnabled="false">
4806                <and>
4807                   <count
4808                         value="1">
4809                   </count>
4810                   <iterate>
4811                      <and>
4812                         <instanceof
4813                               value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
4814                         </instanceof>
4815                         <test
4816                               property="GitRepository.canFetchFromGerrit">
4817                         </test>
4818                      </and>
4819                   </iterate>
4820                </and>
4821             </visibleWhen>
4822          </command>
4823          <command
4824                commandId="org.eclipse.egit.ui.FetchGitHubPR"
4825                label="%FetchFromGitHubCommand.label"
4826                style="push">
4827             <visibleWhen
4828                   checkEnabled="false">
4829                <and>
4830                   <count
4831                         value="1">
4832                   </count>
4833                   <iterate>
4834                      <and>
4835                         <instanceof
4836                               value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
4837                         </instanceof>
4838                         <test
4839                               property="GitRepository.hasGitHubConfiguration">
4840                         </test>
4841                      </and>
4842                   </iterate>
4843                </and>
4844             </visibleWhen>
4845          </command>
4846          <command
4847                commandId="org.eclipse.egit.ui.FetchGitLabMergeRequest"
4848                label="%FetchFromGitLabCommand.label"
4849                style="push">
4850             <visibleWhen
4851                   checkEnabled="false">
4852                <and>
4853                   <count
4854                         value="1">
4855                   </count>
4856                   <iterate>
4857                      <and>
4858                         <instanceof
4859                               value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
4860                         </instanceof>
4861                         <test
4862                               property="GitRepository.hasGitLabConfiguration">
4863                         </test>
4864                      </and>
4865                   </iterate>
4866                </and>
4867             </visibleWhen>
4868          </command>
4869          <command
4870                commandId="org.eclipse.egit.ui.FetchGiteaPullRequest"
4871                label="%FetchFromGiteaCommand.label"
4872                style="push">
4873             <visibleWhen
4874                   checkEnabled="false">
4875                <and>
4876                   <count
4877                         value="1">
4878                   </count>
4879                   <iterate>
4880                      <and>
4881                         <instanceof
4882                               value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
4883                         </instanceof>
4884                         <test
4885                               property="GitRepository.hasGiteaConfiguration">
4886                         </test>
4887                      </and>
4888                   </iterate>
4889                </and>
4890             </visibleWhen>
4891          </command>
4892          <dynamic
4893                   class="org.eclipse.egit.ui.internal.actions.PushMenu"
4894                   id="org.eclipse.egit.ui.repository.tree.popup.Push">
4895                         <visibleWhen
4896                   checkEnabled="false">
4897                <and>
4898                   <count
4899                         value="1">
4900                   </count>
4901                   <iterate
4902                         ifEmpty="false"
4903                         operator="and">
4904                      <instanceof
4905                            value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
4906                      </instanceof>
4907                   </iterate>
4908                </and>
4909             </visibleWhen>
4910          </dynamic>
4911          <command
4912                commandId="org.eclipse.egit.ui.team.Pull"
4913                icon="icons/obj16/pull.png"
4914                label="%RepoViewPullMenu.label"
4915                style="push">
4916             <visibleWhen
4917                   checkEnabled="false">
4918                <and>
4919                   <count
4920                         value="+">
4921                   </count>
4922                   <iterate>
4923                      <or>
4924                         <instanceof
4925                               value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
4926                         </instanceof>
4927                         <instanceof
4928                               value="org.eclipse.egit.ui.internal.repository.tree.RepositoryGroupNode">
4929                         </instanceof>
4930                      </or>
4931                      <test
4932                            property="GitRepository.canMerge">
4933                      </test>
4934                   </iterate>
4935                </and>
4936             </visibleWhen>
4937          </command>
4938          <command
4939                commandId="org.eclipse.egit.ui.team.PullWithOptions"
4940                icon="icons/obj16/pull.png"
4941                label="%PullWithOptions.name"
4942                style="push">
4943             <visibleWhen
4944                   checkEnabled="false">
4945                <and>
4946                   <count
4947                         value="1">
4948                   </count>
4949                   <iterate>
4950                      <and>
4951                         <instanceof
4952                               value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
4953                         </instanceof>
4954                         <test
4955                               property="GitRepository.canMerge">
4956                         </test>
4957                      </and>
4958                   </iterate>
4959                </and>
4960             </visibleWhen>
4961          </command>
4962          <menu
4963                label="%RemoteSubMenu.label">
4964             <command
4965                   commandId="org.eclipse.egit.ui.team.Push"
4966                   icon="icons/obj16/push.png"
4967                   label="%RepoViewPush.label"
4968                   style="push">
4969                <visibleWhen
4970                      checkEnabled="false">
4971                   <and>
4972                      <count
4973                            value="1">
4974                      </count>
4975                      <iterate>
4976                         <instanceof
4977                               value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
4978                         </instanceof>
4979                      </iterate>
4980                   </and>
4981                </visibleWhen>
4982             </command>
4983             <command
4984                   commandId="org.eclipse.egit.ui.team.PushTags"
4985                   label="%PushTagsCommand.label"
4986                   style="push">
4987                <visibleWhen
4988                      checkEnabled="false">
4989                   <and>
4990                      <count
4991                            value="1">
4992                      </count>
4993                      <iterate>
4994                         <instanceof
4995                               value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
4996                         </instanceof>
4997                      </iterate>
4998                   </and>
4999                </visibleWhen>
5000             </command>
5001             <command
5002                   commandId="org.eclipse.egit.ui.team.Fetch"
5003                   icon="icons/obj16/fetch.png"
5004                   label="%RepoViewFetch.label"
5005                   style="push">
5006                <visibleWhen
5007                      checkEnabled="false">
5008                   <and>
5009                      <count
5010                            value="1">
5011                      </count>
5012                      <iterate
5013                            ifEmpty="false"
5014                            operator="and">
5015                         <instanceof
5016                               value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
5017                         </instanceof>
5018                      </iterate>
5019                   </and>
5020                </visibleWhen>
5021             </command>
5022          </menu>
5023       </menuContribution>
5024       <menuContribution
5025             locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-2">
5026          <command
5027                commandId="org.eclipse.egit.ui.RepositoriesViewAddRepository"
5028                style="push"
5029                tooltip="%RepoViewAddRepository.tooltip">
5030             <visibleWhen>
5031                <and>
5032                   <count value="1"/>
5033                   <reference definitionId="org.eclipse.egit.ui.repoGroups.onlyGroupsSelected"/>
5034                </and>
5035             </visibleWhen>
5036          </command>
5037          <command
5038                commandId="org.eclipse.egit.ui.RepositoriesViewClone"
5039                style="push"
5040                tooltip="%RepoViewCloneRepository.tooltip">
5041             <visibleWhen>
5042                <and>
5043                   <count value="1"/>
5044                   <reference definitionId="org.eclipse.egit.ui.repoGroups.onlyGroupsSelected"/>
5045                </and>
5046             </visibleWhen>
5047          </command>
5048          <command
5049                commandId="org.eclipse.egit.ui.RepositoriesViewCreateRepository"
5050                style="push"
5051                tooltip="%RepoViewCreateRepository.tooltip">
5052             <visibleWhen>
5053                <and>
5054                   <count value="1"/>
5055                   <reference definitionId="org.eclipse.egit.ui.repoGroups.onlyGroupsSelected"/>
5056                </and>
5057             </visibleWhen>
5058          </command>
5059          <command
5060                commandId="org.eclipse.ui.edit.paste"
5061                label="%RepoViewPastePath.label"
5062                style="push">
5063             <visibleWhen>
5064                <and>
5065                   <count value="1"/>
5066                   <reference definitionId="org.eclipse.egit.ui.repoGroups.onlyGroupsSelected"/>
5067                </and>
5068             </visibleWhen>
5069          </command>
5070          <command
5071                commandId="org.eclipse.egit.ui.team.Merge"
5072                icon="icons/obj16/merge.png"
5073                label="%RepoViewMergeSimple.label"
5074                style="push">
5075             <visibleWhen
5076                   checkEnabled="false">
5077                <and>
5078                   <count
5079                         value="1">
5080                   </count>
5081                   <iterate>
5082                      <and>
5083                         <or>
5084                            <instanceof
5085                                  value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
5086                            </instanceof>
5087                            <instanceof
5088                                  value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
5089                            </instanceof>
5090                         </or>
5091                         <test property="GitRepository.canMerge" />
5092                         <test property="GitRepository.isRefCheckedOut" value="false" />
5093                      </and>
5094                   </iterate>
5095                </and>
5096             </visibleWhen>
5097          </command>
5098          <command
5099                commandId="org.eclipse.egit.ui.team.Merge"
5100                icon="icons/obj16/merge.png"
5101                label="%RepoViewMerge.label"
5102                style="push">
5103             <visibleWhen
5104                   checkEnabled="false">
5105                <and>
5106                   <count
5107                         value="1">
5108                   </count>
5109                   <iterate>
5110                      <and>
5111                         <test
5112                               property="GitRepository.canMerge">
5113                         </test>
5114                         <or>
5115                            <instanceof
5116                                  value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
5117                            </instanceof>
5118                            <and>
5119                               <instanceof
5120                                     value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
5121                               </instanceof>
5122                               <test
5123                                     property="GitRepository.isRefCheckedOut">
5124                               </test>
5125                            </and>
5126                         </or>
5127                      </and>
5128                   </iterate>
5129                </and>
5130             </visibleWhen>
5131          </command>
5132          <command
5133                commandId="org.eclipse.egit.ui.team.Rebase"
5134                label="%RebaseCommand.label"
5135                style="push">
5136             <visibleWhen
5137                   checkEnabled="false">
5138                <and>
5139                   <count
5140                         value="1">
5141                   </count>
5142                   <iterate>
5143                      <and>
5144                         <test
5145                               property="GitRepository.canMerge">
5146                         </test>
5147                         <and>
5148                            <instanceof
5149                                  value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
5150                            </instanceof>
5151                            <test property="GitRepository.isRefCheckedOut" value="false" />
5152                         </and>
5153                      </and>
5154                   </iterate>
5155                </and>
5156             </visibleWhen>
5157          </command>
5158          <command
5159                commandId="org.eclipse.egit.ui.team.Rebase"
5160                label="%RebaseCommand.label2"
5161                style="push">
5162             <visibleWhen
5163                   checkEnabled="false">
5164                <or>
5165                   <and>
5166                      <count
5167                            value="1">
5168                      </count>
5169                      <iterate>
5170                         <and>
5171                            <test
5172                                  property="GitRepository.canMerge">
5173                            </test>
5174                            <instanceof
5175                                  value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
5176                            </instanceof>
5177                         </and>
5178                      </iterate>
5179                   </and>
5180                   <and>
5181                      <count
5182                            value="1">
5183                      </count>
5184                      <iterate>
5185                         <and>
5186                            <test
5187                                  property="GitRepository.canMerge">
5188                            </test>
5189                            <test
5190                                  property="GitRepository.isRefCheckedOut">
5191                            </test>
5192                            <instanceof
5193                                  value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
5194                            </instanceof>
5195                            <test
5196                                  property="GitRepository.isLocalBranch">
5197                            </test>
5198                         </and>
5199                      </iterate>
5200                   </and>
5201                </or>
5202             </visibleWhen>
5203          </command>
5204          <menu
5205                icon="icons/obj16/rebase.png"
5206                label="%RebaseMenu.label">
5207             <command
5208                   commandId="org.eclipse.egit.ui.AbortRebase"
5209                   label="%AbortCommand.label"
5210                   style="push">
5211                <visibleWhen checkEnabled="true" />
5212             </command>
5213             <command
5214                   commandId="org.eclipse.egit.ui.ContinueRebase"
5215                   label="%ContinueCommand.label"
5216                   style="push">
5217                <visibleWhen checkEnabled="true" />
5218             </command>
5219             <command
5220                   commandId="org.eclipse.egit.ui.SkipRebase"
5221                   label="%SkipCommand.label"
5222                   style="push">
5223                <visibleWhen checkEnabled="true" />
5224             </command>
5225          </menu>
5226          <command
5227                commandId="org.eclipse.egit.ui.team.Reset"
5228                icon="icons/obj16/reset.png"
5229                label="%RepoViewReset.label"
5230                style="push">
5231             <visibleWhen
5232                   checkEnabled="false">
5233                <and>
5234                   <count
5235                         value="1">
5236                   </count>
5237                   <iterate>
5238                      <and>
5239                         <test
5240                               property="GitRepository.canResetHead">
5241                         </test>
5242                         <or>
5243                            <instanceof
5244                                  value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
5245                            </instanceof>
5246                            <instanceof
5247                                  value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
5248                            </instanceof>
5249                            <instanceof
5250                                  value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
5251                            </instanceof>
5252                         </or>
5253                      </and>
5254                   </iterate>
5255                </and>
5256             </visibleWhen>
5257          </command>
5258       </menuContribution>
5259       <menuContribution
5260             locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-3">
5261          <command
5262                commandId="org.eclipse.egit.ui.team.AddToIndex"
5263                icon="/icons/obj16/add.png"
5264                label="%RepoViewAddToIndex.label"
5265                style="push">
5266             <visibleWhen
5267                   checkEnabled="false">
5268                <and>
5269                   <count
5270                         value="+">
5271                   </count>
5272                   <iterate
5273                         ifEmpty="false"
5274                         operator="and">
5275                      <or>
5276                         <instanceof
5277                               value="org.eclipse.egit.ui.internal.repository.tree.FileNode">
5278                         </instanceof>
5279                         <instanceof
5280                               value="org.eclipse.egit.ui.internal.repository.tree.FolderNode">
5281                         </instanceof>
5282                         <instanceof
5283                               value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode">
5284                         </instanceof>
5285                      </or>
5286                   </iterate>
5287                </and>
5288             </visibleWhen>
5289          </command>
5290          <command
5291                commandId="org.eclipse.ui.edit.delete"
5292                label="%RepoViewDeleteFile.label"
5293                style="push">
5294             <visibleWhen
5295                   checkEnabled="false">
5296                <and>
5297                   <count
5298                         value="+">
5299                   </count>
5300                   <iterate
5301                         ifEmpty="false"
5302                         operator="and">
5303                      <or>
5304                         <instanceof
5305                               value="org.eclipse.egit.ui.internal.repository.tree.FileNode">
5306                         </instanceof>
5307                         <instanceof
5308                               value="org.eclipse.egit.ui.internal.repository.tree.FolderNode">
5309                         </instanceof>
5310                      </or>
5311                   </iterate>
5312                </and>
5313             </visibleWhen>
5314          </command>
5315          <command
5316                commandId="org.eclipse.egit.ui.RepositoriesViewImportProjects"
5317                icon="icons/obj16/import_prj.png"
5318                label="%RepoViewImportProjects.label"
5319                style="push">
5320             <visibleWhen checkEnabled="true" />
5321          </command>
5322          <command
5323                commandId="org.eclipse.egit.ui.team.RenameBranch"
5324                label="%RepoViewRenameBranch.label"
5325                style="push">
5326             <visibleWhen checkEnabled="true" />
5327          </command>
5328          <menu id="org.eclipse.egit.ui.repositorygroupmenu"
5329               label="%RepositoryGroupMenu.label">
5330             <dynamic
5331                   class="org.eclipse.egit.ui.internal.actions.RepositoryGroupsMenu"
5332                   id="org.eclipse.egit.ui.repositorygroupmenu.items">
5333             </dynamic>
5334             <visibleWhen checkEnabled="false">
5335                <and>
5336                   <iterate ifEmpty="false"
5337                            operator="and">
5338                      <instanceof
5339                            value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
5340                      </instanceof>
5341                      <not>
5342                         <test
5343                               property="GitRepository.isSubmodule">
5344                         </test>
5345                      </not>
5346                   </iterate>
5347                </and>
5348             </visibleWhen>
5349          </menu>
5350          <command
5351                commandId="org.eclipse.egit.ui.team.InstallLfsLocal"
5352                label="%InstallLfsLocalCommand.label"
5353                style="push">
5354             <visibleWhen checkEnabled="true" />
5355          </command>
5356       </menuContribution>
5357       <menuContribution
5358             locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=group.open">
5359          <command
5360                commandId="org.eclipse.egit.ui.RepositoriesViewOpenInEditor"
5361                label="%RepoViewOpenInEditor.label"
5362                style="push">
5363             <visibleWhen checkEnabled="true" />
5364          </command>
5365          <command
5366                commandId="org.eclipse.egit.ui.history.OpenInCommitViewerCommand"
5367                label="%RepoViewOpenInCommitViewer.label"
5368                tooltip="%OpenInCommitViewerCommand.tooltip"
5369                style="push">
5370             <visibleWhen checkEnabled="true" />
5371          </command>
5372       </menuContribution>
5373       <menuContribution
5374             locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=group.show">
5375          <command
5376                commandId="org.eclipse.egit.ui.RepositoriesViewShowInSystemExplorer"
5377                label="%ShowInSystemExplorer.label"
5378                style="push">
5379             <visibleWhen checkEnabled="true" />
5380          </command>
5381       </menuContribution>
5382       <menuContribution
5383             locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-4">
5384          <command
5385               commandId="org.eclipse.egit.ui.team.clean"
5386               label="%CleanCommand.label"
5387               style="push">
5388             <visibleWhen checkEnabled="true" />
5389          </command>
5390          <command
5391                commandId="org.eclipse.egit.ui.team.GarbageCollect"
5392                label="%GarbageCollectCommand.label"
5393                icon="icons/elcl16/trash_flat.png"
5394                style="push">
5395             <visibleWhen
5396                   checkEnabled="false">
5397                <and>
5398                   <count
5399                         value="+">
5400                   </count>
5401                   <iterate>
5402                      <instanceof
5403                            value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
5404                      </instanceof>
5405                   </iterate>
5406                </and>
5407             </visibleWhen>
5408          </command>
5409          <command
5410                commandId="org.eclipse.egit.ui.RepositoriesViewRemove"
5411                label="%RepoViewRemove.label"
5412                style="push">
5413             <visibleWhen checkEnabled="true" />
5414          </command>
5415          <command
5416                commandId="org.eclipse.egit.ui.RepositoriesViewDelete"
5417                label="%RepoViewDeleteRepository.label"
5418                style="push">
5419             <visibleWhen checkEnabled="true" />
5420          </command>
5421       </menuContribution>
5422       <menuContribution
5423             locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-5">
5424          <command
5425                commandId="org.eclipse.egit.ui.team.submodule.add"
5426                label="%SubmoduleAddCommand.label"
5427                style="push">
5428             <visibleWhen
5429                   checkEnabled="false">
5430                <and>
5431                   <count
5432                         value="1">
5433                   </count>
5434                   <iterate>
5435                      <or>
5436                         <and>
5437                            <instanceof
5438                                  value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
5439                            </instanceof>
5440                            <test property="GitRepository.isSubmodule" value="false" />
5441                            <test property="GitRepository.isBare" value="false" />
5442                         </and>
5443                         <instanceof
5444                               value="org.eclipse.egit.ui.internal.repository.tree.SubmodulesNode">
5445                         </instanceof>
5446                      </or>
5447                   </iterate>
5448                </and>
5449             </visibleWhen>
5450          </command>
5451          <command
5452                commandId="org.eclipse.egit.ui.team.submodule.sync"
5453                label="%SubmoduleSyncCommand.label"
5454                style="push">
5455             <visibleWhen
5456                   checkEnabled="false">
5457                <and>
5458                   <count
5459                         value="+">
5460                   </count>
5461                   <iterate>
5462                      <or>
5463                         <and>
5464                            <instanceof
5465                                  value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
5466                            </instanceof>
5467                            <test
5468                                  property="GitRepository.isSubmodule">
5469                            </test>
5470                         </and>
5471                         <instanceof
5472                               value="org.eclipse.egit.ui.internal.repository.tree.SubmodulesNode">
5473                         </instanceof>
5474                      </or>
5475                   </iterate>
5476                </and>
5477             </visibleWhen>
5478          </command>
5479          <command
5480                commandId="org.eclipse.egit.ui.team.submodule.update"
5481                label="%SubmoduleUpdateCommand.label"
5482                style="push">
5483             <visibleWhen
5484                   checkEnabled="false">
5485                <and>
5486                   <count
5487                         value="+">
5488                   </count>
5489                   <iterate>
5490                      <or>
5491                         <and>
5492                            <instanceof
5493                                  value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
5494                            </instanceof>
5495                            <test
5496                                  property="GitRepository.isSubmodule">
5497                            </test>
5498                         </and>
5499                         <instanceof
5500                               value="org.eclipse.egit.ui.internal.repository.tree.SubmodulesNode">
5501                         </instanceof>
5502                      </or>
5503                   </iterate>
5504                </and>
5505             </visibleWhen>
5506          </command>
5507       </menuContribution>
5508       <menuContribution
5509             locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-6">
5510          <command
5511                commandId="org.eclipse.egit.ui.RepositoriesViewCopyPath"
5512                label="%RepoViewCopyPath.label"
5513                style="push">
5514             <visibleWhen
5515                   checkEnabled="false">
5516                   <reference
5517                         definitionId="org.eclipse.egit.ui.repositoryTreePathNode">
5518                   </reference>
5519             </visibleWhen>
5520          </command>
5521       </menuContribution>
5522       <menuContribution
5523             locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=group.properties">
5524          <command
5525                commandId="org.eclipse.ui.file.properties"
5526                style="push">
5527             <visibleWhen
5528                   checkEnabled="false">
5529                <and>
5530                   <count
5531                         value="1">
5532                   </count>
5533                   <iterate>
5534                      <instanceof
5535                            value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
5536                      </instanceof>
5537                   </iterate>
5538                </and>
5539             </visibleWhen>
5540          </command>
5541       </menuContribution>
5542       <menuContribution
5543             locationURI="toolbar:org.eclipse.egit.ui.RepositoriesView">
5544          <separator
5545                name="org.eclipse.egit.ui.repositoryActions"
5546                visible="true">
5547          </separator>
5548          <command
5549                commandId="org.eclipse.egit.ui.RepositoriesViewAddRepository"
5550                style="push"
5551                tooltip="%RepoViewAddRepository.tooltip">
5552          </command>
5553          <command
5554                commandId="org.eclipse.egit.ui.RepositoriesViewClone"
5555                style="push"
5556                tooltip="%RepoViewCloneRepository.tooltip">
5557          </command>
5558          <command
5559                commandId="org.eclipse.egit.ui.RepositoriesViewCreateRepository"
5560                style="push"
5561                tooltip="%RepoViewCreateRepository.tooltip">
5562          </command>
5563          <separator
5564                name="org.eclipse.egit.ui.viewActions"
5565                visible="true">
5566          </separator>
5567          <command
5568                commandId="org.eclipse.ui.file.refresh"
5569                icon="icons/obj16/refresh.png"
5570                disabledIcon="icons/obj16/refresh.png"
5571                style="push">
5572          </command>
5573          <command
5574                commandId="org.eclipse.egit.ui.RepositoriesLinkWithSelection"
5575                tooltip="%RepoViewLinkWithSelection.tooltip"
5576                style="toggle">
5577          </command>
5578          <separator
5579                name="org.eclipse.egit.ui.separator1"
5580                visible="true">
5581          </separator>
5582          <command
5583                commandId="org.eclipse.egit.ui.RepositoriesToggleBranchHierarchy"
5584                helpContextId="Hierarchical Branch Representation"
5585                style="toggle"
5586                tooltip="%RepoViewHierarchicalBranchRepresenation.tooltip">
5587          </command>
5588          <command
5589                commandId="org.eclipse.egit.ui.RepositoriesToggleBranchCommit"
5590                style="toggle"
5591                tooltip="%RepoViewBranchCommit.tooltip">
5592          </command>
5593       </menuContribution>
5594       <menuContribution
5595             locationURI="menu:org.eclipse.egit.ui.RepositoriesView">
5596          <command
5597                commandId="org.eclipse.egit.ui.RepositoriesViewAddRepository"
5598                label="%RepoViewAddRepository.label"
5599                tooltip="%RepoViewAddRepository.tooltip"
5600                style="push">
5601          </command>
5602          <command
5603                commandId="org.eclipse.egit.ui.RepositoriesViewClone"
5604                label="%RepoViewCloneRepository.label"
5605                tooltip="%RepoViewCloneRepository.tooltip"
5606                style="push">
5607          </command>
5608          <command
5609                commandId="org.eclipse.egit.ui.RepositoriesViewCreateRepository"
5610                label="%RepoViewCreateRepository.label"
5611                tooltip="%RepoViewCreateRepository.tooltip"
5612                style="push">
5613          </command>
5614          <command
5615                commandId="org.eclipse.egit.ui.RepositoriesCreateGroup"
5616                label="%CreateRepositoryGroupCommand.label"
5617                style="push">
5618          </command>
5619          <command
5620                commandId="org.eclipse.ui.edit.paste"
5621                label="%RepoViewPastePath.label"
5622                style="push">
5623          </command>
5624          <separator
5625                name="org.eclipse.egit.ui.viewActions"
5626                visible="true">
5627          </separator>
5628          <command
5629                commandId="org.eclipse.ui.file.refresh"
5630                icon="icons/obj16/refresh.png"
5631                style="push">
5632          </command>
5633          <command
5634                commandId="org.eclipse.egit.ui.RepositoriesLinkWithSelection"
5635                label="%RepoViewLinkWithSelectionMenu.label"
5636                style="toggle">
5637          </command>
5638          <separator
5639                name="org.eclipse.egit.ui.separator2"
5640                visible="true">
5641          </separator>
5642          <command
5643                commandId="org.eclipse.egit.ui.RepositoriesToggleBranchHierarchy"
5644                label="%HierarchyLayout.label"
5645                style="toggle">
5646          </command>
5647          <command
5648                commandId="org.eclipse.egit.ui.RepositoriesToggleBranchCommit"
5649                label="%BranchCommit.label"
5650                style="toggle">
5651          </command>
5652       </menuContribution>
5653       <menuContribution
5654             locationURI="popup:org.eclipse.ui.popup.any?after=additions">
5655          <menu
5656                id="team.main"
5657                label="%TeamMenu.label">
5658             <separator
5659                   name="group1"
5660                   visible="true">
5661             </separator>
5662             <command
5663                   commandId="org.eclipse.egit.ui.team.Commit"
5664                   label="%CommitAction_label"
5665                   style="push">
5666                <visibleWhen
5667                      checkEnabled="false">
5668                   <reference
5669                         definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
5670                   </reference>
5671                </visibleWhen>
5672             </command>
5673             <menu
5674                   id="egit.menu.stashes"
5675                   label="%StashesMenu.label"
5676                   icon="icons/obj16/stash.png">
5677                <dynamic
5678                      class="org.eclipse.egit.ui.internal.actions.StashesMenu"
5679                      id="org.eclipse.egit.ui.stashedChanges">
5680                </dynamic>
5681                <visibleWhen
5682                      checkEnabled="false">
5683                   <test
5684                         property="GitSelection.projectsSingleRepository">
5685                   </test>
5686                </visibleWhen>
5687             </menu>
5688             <separator
5689                   name="org.eclipse.egit.ui.pullPushSeparator"
5690                   visible="true">
5691             </separator>
5692             <command
5693                   commandId="org.eclipse.egit.ui.team.SimplePush"
5694                   label="%PushToUpstreamAction.label"
5695                   style="push">
5696                <visibleWhen
5697                      checkEnabled="false">
5698                   <test
5699                         property="GitSelection.projectsSingleRepository">
5700                   </test>
5701                </visibleWhen>
5702             </command>
5703             <command
5704                   commandId="org.eclipse.egit.ui.team.SimpleFetch"
5705                   label="%FetchFromUpstreamAction.label"
5706                   mnemonic="f"
5707                   style="push">
5708                <visibleWhen
5709                      checkEnabled="false">
5710                   <test
5711                         property="GitSelection.projectsSingleRepository">
5712                   </test>
5713                </visibleWhen>
5714             </command>
5715             <command
5716                   commandId="org.eclipse.egit.ui.PushHeadToGerrit"
5717                   label="%PushToGerritMenu.label"
5718                   style="push">
5719                <visibleWhen
5720                      checkEnabled="false">
5721                   <test
5722                         property="GitSelection.projectsSingleRepository"
5723                         args="canPushToGerrit">
5724                   </test>
5725                </visibleWhen>
5726             </command>
5727             <command
5728                   commandId="org.eclipse.egit.ui.FetchGerritChange"
5729                   label="%FetchFromGerritCommand.label"
5730                   style="push">
5731                <visibleWhen
5732                      checkEnabled="false">
5733                   <test
5734                         property="GitSelection.projectsSingleRepository"
5735                         args="canFetchFromGerrit">
5736                   </test>
5737                </visibleWhen>
5738             </command>
5739             <command
5740                   commandId="org.eclipse.egit.ui.FetchGitHubPR"
5741                   label="%FetchFromGitHubCommand.label"
5742                   style="push">
5743                <visibleWhen
5744                      checkEnabled="false">
5745                   <test
5746                         property="GitSelection.projectsSingleRepository"
5747                         args="hasGitHubConfiguration">
5748                   </test>
5749                </visibleWhen>
5750             </command>
5751             <command
5752                   commandId="org.eclipse.egit.ui.FetchGitLabMergeRequest"
5753                   label="%FetchFromGitLabCommand.label"
5754                   style="push">
5755                <visibleWhen
5756                      checkEnabled="false">
5757                   <test
5758                         property="GitSelection.projectsSingleRepository"
5759                         args="hasGitLabConfiguration">
5760                   </test>
5761                </visibleWhen>
5762             </command>
5763             <command
5764                   commandId="org.eclipse.egit.ui.FetchGiteaPullRequest"
5765                   label="%FetchFromGiteaCommand.label"
5766                   style="push">
5767                <visibleWhen
5768                      checkEnabled="false">
5769                   <test
5770                         property="GitSelection.projectsSingleRepository"
5771                         args="hasGiteaConfiguration">
5772                   </test>
5773                </visibleWhen>
5774             </command>
5775             <dynamic
5776                   class="org.eclipse.egit.ui.internal.actions.PushMenu"
5777                   id="org.eclipse.egit.ui.team.popup.Push">
5778                <visibleWhen
5779                      checkEnabled="false">
5780                   <test
5781                         property="GitSelection.projectsSingleRepository">
5782                   </test>
5783                </visibleWhen>
5784             </dynamic>
5785             <command
5786                   commandId="org.eclipse.egit.ui.team.Pull"
5787                   label="%PullIntoCurrentBranchMenuLabel"
5788                   style="push">
5789                <visibleWhen
5790                      checkEnabled="false">
5791                   <test
5792                         property="GitSelection.projectsWithRepositories">
5793                   </test>
5794                </visibleWhen>
5795             </command>
5796             <command
5797                   commandId="org.eclipse.egit.ui.team.PullWithOptions"
5798                   label="%PullWithOptions.name"
5799                   style="push">
5800                <visibleWhen
5801                      checkEnabled="false">
5802                   <test
5803                         property="GitSelection.projectsSingleRepository">
5804                   </test>
5805                </visibleWhen>
5806             </command>
5807             <separator
5808                   name="org.eclipse.egit.ui.remoteSeparator"
5809                   visible="true">
5810             </separator>
5811             <menu
5812                   id="egit.menu.remote"
5813                   label="%RemoteSubMenu.label">
5814                <command
5815                      commandId="org.eclipse.egit.ui.team.Push"
5816                      label="%PushAction_label"
5817                      style="push">
5818                </command>
5819                <command
5820                      commandId="org.eclipse.egit.ui.team.PushTags"
5821                      label="%PushTagsCommand.label"
5822                      style="push">
5823                </command>
5824                <command
5825                      commandId="org.eclipse.egit.ui.team.Fetch"
5826                      label="%FetchAction_label"
5827                      style="push">
5828                </command>
5829                <separator
5830                      name="org.eclipse.egit.ui.remote.group1"
5831                      visible="true">
5832                </separator>
5833                <command
5834                      commandId="org.eclipse.egit.ui.team.ConfigurePush"
5835                      label="%ConfigurePushToUpstreamCommand.label"
5836                      style="push">
5837                </command>
5838                <command
5839                      commandId="org.eclipse.egit.ui.team.ConfigureFetch"
5840                      label="%ConfigureFetchFromUpstreamCommand.label"
5841                      style="push">
5842                </command>
5843                <visibleWhen
5844                      checkEnabled="false">
5845                   <test
5846                         property="GitSelection.projectsSingleRepository">
5847                   </test>
5848                </visibleWhen>
5849             </menu>
5850             <separator
5851                   name="org.eclipse.egit.ui.branchSeparator">
5852             </separator>
5853             <menu
5854                   id="egit.menu.switch"
5855                   label="%SwitchToMenu.label"
5856                   icon="icons/obj16/branches_obj.png">
5857                <dynamic
5858                      class="org.eclipse.egit.ui.internal.actions.SwitchToMenu"
5859                      id="org.eclipse.egit.ui.switchToMenu">
5860                </dynamic>
5861                <visibleWhen
5862                      checkEnabled="false">
5863                   <test
5864                         property="GitSelection.projectsSingleRepository">
5865                   </test>
5866                </visibleWhen>
5867             </menu>
5868             <menu
5869                   id="egit.menu.switchMultiple"
5870                   label="%SwitchToMenuMultiple.label"
5871                   icon="icons/obj16/branches_obj.png">
5872                <dynamic
5873                      class="org.eclipse.egit.ui.internal.actions.SwitchToMenu"
5874                      id="org.eclipse.egit.ui.switchToMenuMultiple">
5875                </dynamic>
5876                <visibleWhen
5877                      checkEnabled="false">
5878                   <test
5879                         property="GitSelection.resourcesMultipleRepositories">
5880                   </test>
5881                </visibleWhen>
5882             </menu>
5883             <separator
5884                   name="org.eclipse.egit.ui.AdvancedSeparator">
5885             </separator>
5886             <menu
5887                   id="egit.menu.repo"
5888                   label="%RepositorySubMenu.label">
5889                <visibleWhen
5890                      checkEnabled="false">
5891                      <reference
5892                            definitionId="org.eclipse.egit.ui.fileOrFolderInRepository">
5893                      </reference>
5894                </visibleWhen>
5895                <separator
5896                      name="group1"
5897                      visible="true">
5898                </separator>
5899                <command
5900                      commandId="org.eclipse.egit.ui.team.SimplePush"
5901                      label="%PushToUpstreamAction.label"
5902                      style="push">
5903                </command>
5904                <command
5905                      commandId="org.eclipse.egit.ui.team.SimpleFetch"
5906                      label="%FetchFromUpstreamAction.label"
5907                      style="push">
5908                </command>
5909                <dynamic
5910                      class="org.eclipse.egit.ui.internal.actions.PushMenu"
5911                      id="org.eclipse.egit.ui.team.popup.Push">
5912                </dynamic>
5913                <command
5914                      commandId="org.eclipse.egit.ui.team.Pull"
5915                      label="%RepoViewPullMenu.label"
5916                      style="push">
5917                </command>
5918                <command
5919                      commandId="org.eclipse.egit.ui.PushHeadToGerrit"
5920                      label="%PushToGerritMenu.label"
5921                      style="push">
5922                   <visibleWhen
5923                         checkEnabled="false">
5924                      <reference
5925                            definitionId="org.eclipse.egit.ui.fileOrFolderPushToGerrit">
5926                      </reference>
5927                   </visibleWhen>
5928                </command>
5929                <command
5930                      commandId="org.eclipse.egit.ui.FetchGerritChange"
5931                      label="%FetchFromGerritCommand.label"
5932                      style="push">
5933                   <visibleWhen
5934                         checkEnabled="false">
5935                      <reference
5936                            definitionId="org.eclipse.egit.ui.fileOrFolderFetchFromGerrit">
5937                      </reference>
5938                   </visibleWhen>
5939                </command>
5940                <command
5941                      commandId="org.eclipse.egit.ui.FetchGitHubPR"
5942                      label="%FetchFromGitHubCommand.label"
5943                      style="push">
5944                   <visibleWhen
5945                         checkEnabled="false">
5946                      <reference
5947                            definitionId="org.eclipse.egit.ui.fileOrFolderFetchFromGitHub">
5948                      </reference>
5949                   </visibleWhen>
5950                </command>
5951                <command
5952                      commandId="org.eclipse.egit.ui.FetchGitLabMergeRequest"
5953                      label="%FetchFromGitLabCommand.label"
5954                      style="push">
5955                   <visibleWhen
5956                         checkEnabled="false">
5957                      <reference
5958                            definitionId="org.eclipse.egit.ui.fileOrFolderFetchFromGitLab">
5959                      </reference>
5960                   </visibleWhen>
5961                </command>
5962                <command
5963                      commandId="org.eclipse.egit.ui.FetchGiteaPullRequest"
5964                      label="%FetchFromGiteaCommand.label"
5965                      style="push">
5966                   <visibleWhen
5967                         checkEnabled="false">
5968                      <reference
5969                            definitionId="org.eclipse.egit.ui.fileOrFolderFetchFromGitea">
5970                      </reference>
5971                   </visibleWhen>
5972                </command>
5973                <separator
5974                      name="group2"
5975                      visible="true">
5976                </separator>
5977                <menu
5978                      id="egit.menu.repo.switchto"
5979                      label="%SwitchToMenu.label"
5980                      icon="icons/obj16/branches_obj.png">
5981                   <dynamic
5982                         class="org.eclipse.egit.ui.internal.actions.SwitchToMenu"
5983                         id="org.eclipse.egit.ui.switchToMenu">
5984                   </dynamic>
5985                </menu>
5986             </menu>
5987             <menu
5988                   id="egit.menu.advanced"
5989                   label="%AdvancedMenu.label">
5990                <command
5991                      commandId="org.eclipse.egit.ui.team.RenameBranch"
5992                      label="%RenameBranchMenu.label"
5993                      style="push">
5994                   <visibleWhen
5995                         checkEnabled="false">
5996                      <test
5997                            property="GitSelection.projectsSingleRepository">
5998                      </test>
5999                   </visibleWhen>
6000                </command>
6001                <command
6002                      commandId="org.eclipse.egit.ui.team.DeleteBranch"
6003                      label="%DeleteBranchMenu.label"
6004                      style="push">
6005                   <visibleWhen
6006                         checkEnabled="false">
6007                      <test
6008                            property="GitSelection.projectsSingleRepository">
6009                      </test>
6010                   </visibleWhen>
6011                </command>
6012                <separator
6013                   name="org.eclipse.egit.ui.SynchronizeWithSeparator"
6014                   visible="true" />
6015                <menu
6016                   id="egit.menu.synchronize"
6017                   label="%SynchronizeWith_label"
6018                   icon="$nl$/icons/obj16/synchronize.png">
6019                   <dynamic
6020                      class="org.eclipse.egit.ui.internal.actions.SynchronizeWithMenu"
6021                      id="org.eclipse.egit.ui.synchronize">
6022                   </dynamic>
6023                   <visibleWhen checkEnabled="false">
6024                   <and>
6025                      <count value="1" />
6026                      <iterate>
6027                         <and>
6028                            <adapt type="org.eclipse.core.resources.IResource">
6029                               <and>
6030                                  <test property="GitResource.isShared" />
6031                                  <test property="GitResource.isContainer" />
6032                               </and>
6033                            </adapt>
6034                         </and>
6035                      </iterate>
6036                   </and>
6037                </visibleWhen>
6038                </menu>
6039                <separator
6040                      name="org.eclipse.egit.ui.separator1"
6041                      visible="true">
6042                </separator>
6043                <command
6044                      commandId="org.eclipse.egit.ui.team.Tag"
6045                      label="%TagAction_label"
6046                      style="push">
6047                   <visibleWhen checkEnabled="false">
6048                      <test property="GitSelection.projectsSingleRepository" />
6049                   </visibleWhen>
6050                </command>
6051                <separator
6052                      name="org.eclipse.egit.ui.separator2"
6053                      visible="true">
6054                </separator>
6055                <command
6056                      commandId="org.eclipse.egit.ui.team.clean"
6057                      label="%CleanCommand.label"
6058                      style="push">
6059                   <visibleWhen checkEnabled="false">
6060                      <test property="GitSelection.projectsSingleRepository" />
6061                   </visibleWhen>
6062                </command>
6063                <separator
6064                      name="org.eclipse.egit.ui.TeamAdvancedFileSeparator"
6065                      visible="true">
6066                </separator>
6067                <command
6068                      commandId="org.eclipse.egit.ui.team.AssumeUnchanged"
6069                      label="%AssumeUnchangedAction_label"
6070                      style="push">
6071                   <visibleWhen
6072                         checkEnabled="false">
6073                      <reference
6074                            definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
6075                      </reference>
6076                   </visibleWhen>
6077                </command>
6078                <command
6079                      commandId="org.eclipse.egit.ui.team.NoAssumeUnchanged"
6080                      label="%NoAssumeUnchangedAction_label"
6081                      style="push">
6082                   <visibleWhen
6083                         checkEnabled="false">
6084                      <reference
6085                            definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
6086                      </reference>
6087                   </visibleWhen>
6088                </command>
6089                <command
6090                      commandId="org.eclipse.egit.ui.team.Untrack"
6091                      label="%UntrackAction_label"
6092                      style="push">
6093                   <visibleWhen
6094                         checkEnabled="false">
6095                      <reference
6096                            definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
6097                      </reference>
6098                   </visibleWhen>
6099                </command>
6100             </menu>
6101             <separator
6102                   name="group2"
6103                   visible="true">
6104             </separator>
6105             <separator
6106                   name="group3"
6107                   visible="true">
6108             </separator>
6109             <separator
6110                   name="group4"
6111                   visible="true">
6112             </separator>
6113             <command
6114                   commandId="org.eclipse.egit.ui.team.Merge"
6115                   label="%MergeAction_label"
6116                   style="push">
6117                <visibleWhen
6118                      checkEnabled="false">
6119                   <test
6120                         property="GitSelection.projectsSingleRepository">
6121                   </test>
6122                </visibleWhen>
6123             </command>
6124             <separator
6125                   name="group5"
6126                   visible="true">
6127             </separator>
6128             <command
6129                   commandId="org.eclipse.egit.ui.team.Rebase" style="push"
6130                   label="%RebaseWithDialog_label">
6131                <visibleWhen checkEnabled="false">
6132                   <test
6133                         property="GitSelection.projectsSingleRepository"
6134                         args="isSafe">
6135                   </test>
6136                </visibleWhen>
6137             </command>
6138             <menu
6139                   icon="icons/obj16/rebase.png"
6140                   id="egit.menu.rebase"
6141                   label="%RebaseMenu.label">
6142                <command
6143                      commandId="org.eclipse.egit.ui.AbortRebase"
6144                      style="push">
6145                   <visibleWhen>
6146                      <or>
6147                         <with variable="activeMenuSelection">
6148                            <count value="1" />
6149                            <iterate>
6150                               <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
6151                               <test property="GitRepository.canAbortRebase" />
6152                            </iterate>
6153                         </with>
6154                         <test
6155                               property="GitSelection.projectsSingleRepository"
6156                               args="canAbortRebase">
6157                         </test>
6158                      </or>
6159                   </visibleWhen>
6160                </command>
6161                <command
6162                      commandId="org.eclipse.egit.ui.ContinueRebase"
6163                      style="push">
6164                   <visibleWhen>
6165                      <or>
6166                         <with variable="activeMenuSelection">
6167                            <count value="1" />
6168                            <iterate>
6169                               <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
6170                               <test property="GitRepository.canContinueRebase" />
6171                            </iterate>
6172                         </with>
6173                         <test
6174                               property="GitSelection.projectsSingleRepository"
6175                               args="canContinueRebase">
6176                         </test>
6177                      </or>
6178                   </visibleWhen>
6179                </command>
6180                <command
6181                      commandId="org.eclipse.egit.ui.SkipRebase"
6182                      style="push">
6183                   <visibleWhen>
6184                      <or>
6185                         <with variable="activeMenuSelection">
6186                            <count value="1" />
6187                            <iterate>
6188                               <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
6189                               <test property="GitRepository.canAbortRebase" />
6190                            </iterate>
6191                         </with>
6192                         <test
6193                               property="GitSelection.projectsSingleRepository"
6194                               args="canAbortRebase">
6195                         </test>
6196                      </or>
6197                   </visibleWhen>
6198                </command>
6199             </menu>
6200             <command
6201                   commandId="org.eclipse.egit.ui.team.Reset"
6202                   label="%ResetAction_label"
6203                   style="push">
6204                <visibleWhen
6205                      checkEnabled="false">
6206                   <test
6207                         property="GitSelection.projectsSingleRepository">
6208                   </test>
6209                </visibleWhen>
6210             </command>
6211             <separator
6212                   name="group6"
6213                   visible="true">
6214             </separator>
6215             <command
6216                   commandId="org.eclipse.egit.ui.team.CreatePatch"
6217                   label="%CreatePatchAction.label"
6218                   style="push">
6219                <visibleWhen
6220                      checkEnabled="false">
6221                   <reference
6222                         definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
6223                   </reference>
6224                </visibleWhen>
6225             </command>
6226             <separator
6227                   name="applyPatchGroup"
6228                   visible="false">
6229             </separator>
6230             <separator
6231                   name="group7"
6232                   visible="true">
6233             </separator>
6234             <separator
6235                   name="group8"
6236                   visible="true">
6237             </separator>
6238             <separator
6239                   name="group9"
6240                   visible="true">
6241             </separator>
6242             <command
6243                   commandId="org.eclipse.egit.ui.team.ShowHistory"
6244                   label="%ShowResourceInHistoryAction_label"
6245                   style="push">
6246                <visibleWhen checkEnabled="true" />
6247             </command>
6248             <command
6249                   commandId="org.eclipse.egit.ui.team.ShowRepositoriesView"
6250                   label="%ShowRepositoryAction_label"
6251                   style="push">
6252                <visibleWhen
6253                      checkEnabled="false">
6254                   <reference
6255                         definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
6256                   </reference>
6257                </visibleWhen>
6258             </command>
6259             <separator
6260                   name="showAnnotationsGroup"
6261                   visible="false">
6262             </separator>
6263             <command
6264                   commandId="org.eclipse.egit.ui.team.ShowBlame"
6265                   label="%ShowBlameAction_label"
6266                   style="push">
6267                <visibleWhen checkEnabled="true" />
6268             </command>
6269             <separator
6270                   name="group10"
6271                   visible="true">
6272             </separator>
6273             <separator
6274                   name="targetGroup"
6275                   visible="true">
6276             </separator>
6277             <separator
6278                   name="projectGroup"
6279                   visible="true">
6280             </separator>
6281             <separator
6282                   name="group11"
6283                   visible="true">
6284             </separator>
6285             <command
6286                   commandId="org.eclipse.egit.ui.team.Disconnect"
6287                   label="%DisconnectAction_label"
6288                   style="push">
6289                <visibleWhen
6290                      checkEnabled="false">
6291                   <test
6292                         property="GitSelection.projectsWithRepositories">
6293                   </test>
6294                </visibleWhen>
6295             </command>
6296             <visibleWhen>
6297                <with variable="activeMenu">
6298                   <not>
6299                      <iterate operator="or">
6300                         <or>
6301                            <equals value="#AbstractTextEditorRulerContext" />
6302                            <equals value="#OverviewRulerContext" />
6303                         </or>
6304                      </iterate>
6305                   </not>
6306                </with>
6307             </visibleWhen>
6308          </menu>
6309       </menuContribution>
6310       <menuContribution
6311          locationURI="popup:#AbstractTextEditorRulerContext?before=Linenumbers.Toggle">
6312          <command
6313             commandId="org.eclipse.egit.ui.team.ShowBlame"
6314             label="%ShowBlameAction_label"
6315             style="push">
6316             <visibleWhen checkEnabled="false">
6317                <and>
6318                   <with variable="activeEditorInput">
6319                      <or>
6320                         <adapt type="org.eclipse.core.resources.IFile">
6321                            <test property="GitResource.isShared" />
6322                         </adapt>
6323                         <adapt type="org.eclipse.team.core.history.IFileRevision">
6324                            <instanceof value="org.eclipse.egit.core.internal.storage.CommitFileRevision" />
6325                         </adapt>
6326                      </or>
6327                   </with>
6328                   <with variable="activeEditor">
6329                      <test property="org.eclipse.egit.ui.EditorProperty.canShowRevisions" args="notAlready" />
6330                   </with>
6331                </and>
6332             </visibleWhen>
6333          </command>
6334       </menuContribution>
6335       <menuContribution
6336             allPopups="false"
6337             locationURI="popup:team.main?after=group8">
6338          <command
6339                commandId="org.eclipse.egit.ui.team.AddToIndex"
6340                label="%AddToIndexAction_label"
6341                style="push">
6342             <visibleWhen
6343                   checkEnabled="false">
6344                <test
6345                      property="org.eclipse.egit.ui.resources.ResourceState.hasUnstagedChanges">
6346                </test>
6347             </visibleWhen>
6348          </command>
6349          <command
6350                commandId="org.eclipse.egit.ui.team.RemoveFromIndex"
6351                label="%RemoveFromIndexAction_label"
6352                style="push">
6353             <visibleWhen
6354                   checkEnabled="false">
6355                <test
6356                      property="org.eclipse.egit.ui.resources.ResourceState.hasStagedChanges">
6357                </test>
6358             </visibleWhen>
6359          </command>
6360          <command
6361                commandId="org.eclipse.egit.ui.team.Ignore"
6362                label="%IgnoreAction_label"
6363                style="push">
6364             <visibleWhen
6365                   checkEnabled="false">
6366                <test
6367                      property="org.eclipse.egit.ui.resources.ResourceState.hasNotIgnoredResources">
6368                </test>
6369             </visibleWhen>
6370          </command>
6371       </menuContribution>
6372       <menuContribution
6373             allPopups="false"
6374             locationURI="popup:compareWithMenu?after=gitCompareWithGroup">
6375          <command
6376                commandId="org.eclipse.egit.ui.team.CompareWithHead"
6377                label="%CompareWithHeadAction_label"
6378                style="push">
6379             <visibleWhen checkEnabled="true" />
6380          </command>
6381          <command
6382                commandId="org.eclipse.egit.ui.team.CompareWithIndex"
6383                label="%CompareWithIndexAction_label"
6384                style="push">
6385             <visibleWhen checkEnabled="false">
6386                <and>
6387                   <test property="GitSelection.selectionSingleRepository" />
6388                   <test property="org.eclipse.egit.ui.resources.ResourceState.hasNotIgnoredResources" />
6389                </and>
6390             </visibleWhen>
6391          </command>
6392          <command
6393                commandId="org.eclipse.egit.ui.team.CompareIndexWithHead"
6394                label="%CompareIndexWithHeadAction_label"
6395                style="push">
6396             <visibleWhen checkEnabled="true" />
6397          </command>
6398          <command
6399                commandId="org.eclipse.egit.ui.team.CompareWithPrevious"
6400                label="%CompareWithPreviousAction.label"
6401                style="push">
6402             <visibleWhen checkEnabled="true" />
6403          </command>
6404       </menuContribution>
6405       <menuContribution
6406             allPopups="false"
6407             locationURI="popup:compareWithMenu?after=gitCompareWithGroup2">
6408          <command
6409                commandId="org.eclipse.egit.ui.team.CompareWithRef"
6410                label="%CompareWithBranchOrTagAction.label"
6411                style="push">
6412             <visibleWhen checkEnabled="true" />
6413          </command>
6414          <command
6415                commandId="org.eclipse.egit.ui.team.CompareWithCommit"
6416                label="%CompareWithCommitAction.label"
6417                style="push">
6418             <visibleWhen checkEnabled="true" />
6419          </command>
6420       </menuContribution>
6421       <menuContribution
6422             allPopups="false"
6423             locationURI="popup:replaceWithMenu?after=gitReplaceWithGroup">
6424          <command
6425                commandId="org.eclipse.egit.ui.team.ReplaceWithHead"
6426                label="%ReplaceWithHeadAction_label"
6427                style="push">
6428             <visibleWhen checkEnabled="true" />
6429          </command>
6430          <command
6431                commandId="org.eclipse.egit.ui.team.Discard"
6432                label="%DiscardChangesAction_label"
6433                style="push">
6434             <visibleWhen checkEnabled="true" />
6435          </command>
6436          <command
6437                commandId="org.eclipse.egit.ui.team.ReplaceWithPrevious"
6438                label="%ReplaceWithPreviousVersionAction.label"
6439                style="push">
6440             <visibleWhen checkEnabled="false">
6441                <and>
6442                   <count value="1" />
6443                   <test property="GitSelection.resourcesSingleRepository" args="isSafe" />
6444                   <test property="org.eclipse.egit.ui.resources.ResourceState.hasTrackedResources" />
6445                </and>
6446             </visibleWhen>
6447          </command>
6448          <command
6449                commandId="org.eclipse.egit.ui.team.ReplaceWithOurs"
6450                label="%ReplaceWithOursAction_label"
6451                style="push">
6452             <visibleWhen checkEnabled="true" />
6453          </command>
6454          <command
6455                commandId="org.eclipse.egit.ui.team.ReplaceWithTheirs"
6456                label="%ReplaceWithTheirsAction_label"
6457                style="push">
6458             <visibleWhen checkEnabled="true" />
6459          </command>
6460       </menuContribution>
6461       <menuContribution
6462             allPopups="false"
6463             locationURI="popup:replaceWithMenu?after=gitReplaceWithGroup2">
6464          <command
6465                commandId="org.eclipse.egit.ui.team.ReplaceWithRef"
6466                label="%ReplaceWithRefAction_label"
6467                style="push">
6468             <visibleWhen checkEnabled="false">
6469                <test property="GitSelection.resourcesSingleRepository" args="isSafe" />
6470             </visibleWhen>
6471          </command>
6472          <command
6473                commandId="org.eclipse.egit.ui.team.ReplaceWithCommit"
6474                label="%ReplaceWithCommitAction_label"
6475                style="push">
6476             <visibleWhen checkEnabled="false">
6477                <test property="GitSelection.resourcesSingleRepository" args="isSafe" />
6478             </visibleWhen>
6479          </command>
6480       </menuContribution>
6481       <menuContribution
6482             allPopups="false"
6483             locationURI="popup:org.eclipse.ui.popup.any?after=additions">
6484          <menu
6485                id="compareWithMenu"
6486                label="%CompareWithMenu.label">
6487             <separator
6488                   name="compareWithGroup">
6489             </separator>
6490             <separator
6491                   name="gitCompareWithGroup"
6492                   visible="true">
6493             </separator>
6494             <separator
6495                   name="gitCompareWithGroup2"
6496                   visible="true">
6497             </separator>
6498             <visibleWhen>
6499                <with variable="activeMenu">
6500                   <not>
6501                      <iterate operator="or">
6502                         <or>
6503                            <equals value="#AbstractTextEditorRulerContext" />
6504                            <equals value="#OverviewRulerContext" />
6505                         </or>
6506                      </iterate>
6507                   </not>
6508                </with>
6509             </visibleWhen>
6510          </menu>
6511       </menuContribution>
6512       <menuContribution
6513             allPopups="false"
6514             locationURI="popup:org.eclipse.ui.popup.any?after=additions">
6515          <menu
6516                id="replaceWithMenu"
6517                label="%ReplaceWithMenu.label">
6518             <separator
6519                   name="replaceWithGroup">
6520             </separator>
6521             <separator
6522                   name="gitReplaceWithGroup"
6523                   visible="true">
6524             </separator>
6525             <separator
6526                   name="gitReplaceWithGroup2"
6527                   visible="true">
6528             </separator>
6529             <visibleWhen>
6530                <with variable="activeMenu">
6531                   <not>
6532                      <iterate operator="or">
6533                         <or>
6534                            <equals value="#AbstractTextEditorRulerContext" />
6535                            <equals value="#OverviewRulerContext" />
6536                         </or>
6537                      </iterate>
6538                   </not>
6539                </with>
6540             </visibleWhen>
6541          </menu>
6542       </menuContribution>
6543    </extension>
6544    <extension
6545          name="%RepositoryCommandsLabel"
6546          point="org.eclipse.ui.commands">
6547       <command
6548             categoryId="org.eclipse.egit.ui.commandCategory"
6549             defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.AddCommand"
6550             id="org.eclipse.egit.ui.RepositoriesViewAddRepository"
6551             name="%AddRepositoryCommand"
6552             description="%AddRepositoryCommand.description">
6553       </command>
6554       <command
6555             categoryId="org.eclipse.egit.ui.commandCategory"
6556             defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.CloneCommand"
6557             id="org.eclipse.egit.ui.RepositoriesViewClone"
6558             name="%CloneRepositoryCommand"
6559             description="%CloneRepositoryCommand.description">
6560          <commandParameter
6561                id="repositoryUri"
6562                name="%RepositoriesViewClone_repositoryUri_Name"
6563                optional="true">
6564          </commandParameter>
6565       </command>
6566       <command
6567             categoryId="org.eclipse.egit.ui.commandCategory"
6568             defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.CreateRepositoryCommand"
6569             id="org.eclipse.egit.ui.RepositoriesViewCreateRepository"
6570             name="%CreateRepositoryCommand"
6571             description="%CreateRepositoryCommand.description">
6572       </command>
6573       <command
6574             categoryId="org.eclipse.egit.ui.commandCategory"
6575             id="org.eclipse.egit.ui.RepositoriesViewCopyPath"
6576             name="%CopyPathCommand">
6577       </command>
6578       <command
6579             categoryId="org.eclipse.egit.ui.commandCategory"
6580             id="org.eclipse.egit.ui.RepositoriesViewRemove"
6581             name="%RemoveRepositoryCommand">
6582       </command>
6583       <command
6584             categoryId="org.eclipse.egit.ui.commandCategory"
6585             id="org.eclipse.egit.ui.RepositoriesViewImportProjects"
6586             name="%ImportProjectsCommand"
6587             description="%ImportProjectsCommand_description"
6588             >
6589       </command>
6590       <command
6591             categoryId="org.eclipse.egit.ui.commandCategory"
6592             id="org.eclipse.egit.ui.ImportChangedProjectsCommandId"
6593             name="%ImportChangedProjectsCommand"
6594             description="%ImportProjectsCommand_description">
6595       </command>
6596       <command
6597             categoryId="org.eclipse.egit.ui.commandCategory"
6598             id="org.eclipse.egit.ui.RepositoriesViewCreateBranch"
6599             name="%CreateBranchCommand">
6600       </command>
6601       <command
6602             categoryId="org.eclipse.egit.ui.commandCategory"
6603             id="org.eclipse.egit.ui.RepositoriesViewNewRemote"
6604             name="%NewRemoteCommand">
6605       </command>
6606       <command
6607             categoryId="org.eclipse.egit.ui.commandCategory"
6608             id="org.eclipse.egit.ui.RepositoriesViewConfigureFetch"
6609             name="%ConfigureFetchCommand">
6610       </command>
6611       <command
6612             categoryId="org.eclipse.egit.ui.commandCategory"
6613             id="org.eclipse.egit.ui.RepositoriesViewConfigurePush"
6614             name="%ConfigurePushCommand">
6615       </command>
6616       <command
6617             categoryId="org.eclipse.egit.ui.commandCategory"
6618             id="org.eclipse.egit.ui.RepositoriesViewRemoveRemote"
6619             name="%DeleteRemoteCommand">
6620       </command>
6621       <command
6622             categoryId="org.eclipse.egit.ui.commandCategory"
6623             id="org.eclipse.egit.ui.RepositoriesViewConfigureGerritRemote"
6624             name="%ConfigureGerritRemoteCommand">
6625       </command>
6626       <command
6627             categoryId="org.eclipse.egit.ui.commandCategory"
6628             id="org.eclipse.egit.ui.RepositoriesViewChangeCredentials"
6629             name="%ChangeCredentialsCommand">
6630       </command>
6631       <command
6632             categoryId="org.eclipse.egit.ui.commandCategory"
6633             id="org.eclipse.egit.ui.RepositoriesViewClearCredentials"
6634             name="%ClearCredentialsCommand">
6635       </command>
6636       <command
6637             categoryId="org.eclipse.egit.ui.commandCategory"
6638             id="org.eclipse.egit.ui.RepositoriesViewOpenInEditor"
6639             name="%OpenInEditorCommand">
6640       </command>
6641       <command
6642             categoryId="org.eclipse.egit.ui.commandCategory"
6643             id="org.eclipse.egit.ui.RepositoriesViewOpen"
6644             name="%OpenCommand">
6645       </command>
6646       <command
6647             categoryId="org.eclipse.egit.ui.commandCategory"
6648             id="org.eclipse.egit.ui.RepositoriesLinkWithSelection"
6649             defaultHandler="org.eclipse.egit.ui.internal.commands.ToggleCommand"
6650             name="%LinkWithSelectionCommand">
6651           <state
6652                 class="org.eclipse.ui.handlers.RegistryToggleState:false"
6653                 id="org.eclipse.ui.commands.toggleState">
6654           </state>
6655       </command>
6656       <command
6657             categoryId="org.eclipse.egit.ui.commandCategory"
6658             id="org.eclipse.egit.ui.CheckoutCommand"
6659             name="%CheckoutCommand">
6660       </command>
6661       <command
6662             categoryId="org.eclipse.egit.ui.commandCategory"
6663             id="org.eclipse.egit.ui.RepositoriesViewDelete"
6664             name="%DeleteRepositoryCommand.name">
6665       </command>
6666        <command
6667             categoryId="org.eclipse.egit.ui.commandCategory"
6668             id="org.eclipse.egit.ui.RepositoriesViewCollapseWorkingTree"
6669             name="%RepoViewCollapseWorktreeCommand.label">
6670             description="%RepoViewCollapseWorktreeCommand.description">
6671       </command>
6672       <command
6673             categoryId="org.eclipse.egit.ui.commandCategory"
6674             id="org.eclipse.egit.ui.RepositoriesCreateGroup"
6675             name="%CreateRepositoryGroupCommand.name"
6676             description="%CreateRepositoryGroupCommand.description">
6677       </command>
6678       <command
6679             categoryId="org.eclipse.egit.ui.commandCategory"
6680             id="org.eclipse.egit.ui.RepositoriesToggleBranchHierarchy"
6681             defaultHandler="org.eclipse.egit.ui.internal.commands.ToggleCommand"
6682             name="%ToggleLayoutCommand.name">
6683          <state
6684                class="org.eclipse.ui.handlers.RegistryToggleState:false"
6685                id="org.eclipse.ui.commands.toggleState">
6686          </state>
6687       </command>
6688        <command
6689             categoryId="org.eclipse.egit.ui.commandCategory"
6690             id="org.eclipse.egit.ui.RepositoriesToggleBranchCommit"
6691             defaultHandler="org.eclipse.egit.ui.internal.commands.ToggleCommand"
6692             name="%ToggleBranchCommitCommand.name">
6693          <state
6694                class="org.eclipse.ui.handlers.RegistryToggleState:true"
6695                id="org.eclipse.ui.commands.toggleState">
6696          </state>
6697       </command>
6698       <command
6699             categoryId="org.eclipse.egit.ui.commandCategory"
6700             id="org.eclipse.egit.ui.AbortRebase"
6701             name="%AbortRebaseCommand.name">
6702       </command>
6703       <command
6704             categoryId="org.eclipse.egit.ui.commandCategory"
6705             id="org.eclipse.egit.ui.SkipRebase"
6706             name="%SkipRebaseCommand.name">
6707       </command>
6708       <command
6709             categoryId="org.eclipse.egit.ui.commandCategory"
6710             id="org.eclipse.egit.ui.ContinueRebase"
6711             name="%ContinueRebaseCommand.name">
6712       </command>
6713       <command
6714             categoryId="org.eclipse.egit.ui.commandCategory"
6715             id="org.eclipse.egit.ui.team.submodule.update"
6716             name="%SubmoduleUpdateCommand.name">
6717       </command>
6718       <command
6719             categoryId="org.eclipse.egit.ui.commandCategory"
6720             id="org.eclipse.egit.ui.team.submodule.sync"
6721             name="%SubmoduleSyncCommand.name">
6722       </command>
6723       <command
6724             categoryId="org.eclipse.egit.ui.commandCategory"
6725             id="org.eclipse.egit.ui.team.submodule.add"
6726             name="%SubmoduleAddCommand.name">
6727       </command>
6728       <command
6729             categoryId="org.eclipse.egit.ui.commandCategory"
6730             id="org.eclipse.egit.ui.team.clean"
6731             name="%CleanCommand.name">
6732       </command>
6733       <command
6734             categoryId="org.eclipse.egit.ui.commandCategory"
6735             id="org.eclipse.egit.ui.team.stash.create"
6736             defaultHandler="org.eclipse.egit.ui.internal.actions.StashCreateHandler"
6737             name="%StashCreateCommand.name">
6738       </command>
6739       <command
6740             categoryId="org.eclipse.egit.ui.commandCategory"
6741             id="org.eclipse.egit.ui.team.stash.apply"
6742             name="%StashApplyCommand.name">
6743       </command>
6744       <command
6745             categoryId="org.eclipse.egit.ui.commandCategory"
6746             id="org.eclipse.egit.ui.team.stash.drop"
6747             name="%StashDropCommand.name">
6748       </command>
6749       <command
6750             categoryId="org.eclipse.egit.ui.commandCategory"
6751             id="org.eclipse.egit.ui.RepositoriesViewConfigureBranch"
6752             name="%RepoViewConfigureBranchCommand.name">
6753       </command>
6754       <command
6755             categoryId="org.eclipse.egit.ui.commandCategory"
6756             id="org.eclipse.egit.ui.RepositoriesViewShowInSystemExplorer"
6757             name="%ShowInSystemExplorerCommand.name">
6758       </command>
6759    </extension>
6760    <extension
6761          point="org.eclipse.ui.commandImages">
6762       <image
6763             commandId="org.eclipse.egit.ui.RepositoriesViewAddRepository"
6764             icon="icons/etool16/newlocation_wiz.png">
6765       </image>
6766       <image
6767             commandId="org.eclipse.egit.ui.RepositoriesViewClone"
6768             icon="icons/obj16/cloneGit.png">
6769       </image>
6770       <image
6771             commandId="org.eclipse.egit.ui.RepositoriesLinkWithSelection"
6772             icon="icons/elcl16/synced.png">
6773       </image>
6774       <image
6775             commandId="org.eclipse.egit.ui.team.ShowRepositoriesView"
6776             icon="icons/eview16/repo_rep.png">
6777       </image>
6778       <image
6779             commandId="org.eclipse.egit.ui.team.ShowHistory"
6780             icon="icons/obj16/history.png">
6781       </image>
6782       <image
6783             commandId="org.eclipse.egit.ui.team.CherryPick"
6784             icon="icons/obj16/cherry-pick.png">
6785       </image>
6786       <image
6787             commandId="org.eclipse.egit.ui.team.stash.apply"
6788             icon="icons/obj16/stash-apply.png">
6789       </image>
6790       <image
6791             commandId="org.eclipse.egit.ui.team.stash.drop"
6792             icon="icons/obj16/delete_obj.png">
6793       </image>
6794       <image
6795             commandId="org.eclipse.egit.ui.history.Squash"
6796             icon="icons/obj16/squash-down.png">
6797       </image>
6798       <image
6799             commandId="org.eclipse.egit.ui.commit.Squash"
6800             icon="icons/obj16/squash-down.png">
6801       </image>
6802       <image
6803             commandId="org.eclipse.egit.ui.history.Reword"
6804             icon="icons/obj16/reword.png">
6805       </image>
6806       <image
6807             commandId="org.eclipse.egit.ui.commit.Reword"
6808             icon="icons/obj16/reword.png">
6809       </image>
6810       <image
6811             commandId="org.eclipse.egit.ui.history.Edit"
6812             icon="icons/obj16/editconfig.png">
6813       </image>
6814       <image
6815             commandId="org.eclipse.egit.ui.commit.Edit"
6816             icon="icons/obj16/editconfig.png">
6817       </image>
6818       <image
6819             commandId="org.eclipse.egit.ui.CheckoutCommand"
6820             icon="icons/obj16/checkout.png">
6821       </image>
6822       <image
6823             commandId="org.eclipse.egit.ui.RepositoriesViewCreateBranch"
6824             icon="icons/obj16/new_branch_obj.png">
6825       </image>
6826       <image
6827             commandId="org.eclipse.egit.ui.RepositoriesViewNewRemote"
6828             icon="icons/obj16/synchronize.png">
6829       </image>
6830       <image
6831             commandId="org.eclipse.egit.ui.history.PushCommit"
6832             icon="icons/obj16/push.png">
6833       </image>
6834       <image
6835             commandId="org.eclipse.egit.ui.ImportChangedProjectsCommandId"
6836             icon="icons/obj16/import_prj.png">
6837       </image>
6838       <image
6839             commandId="org.eclipse.egit.ui.RepositoriesViewImportProjects"
6840             icon="icons/obj16/import_prj.png">
6841       </image>
6842       <image
6843             commandId="org.eclipse.egit.ui.RepositoriesViewCreateRepository"
6844             icon="icons/etool16/createRepository.png">
6845       </image>
6846       <image
6847             commandId="org.eclipse.egit.ui.RepositoriesToggleBranchHierarchy"
6848             icon="icons/elcl16/hierarchicalLayout.png">
6849       </image>
6850        <image
6851             commandId="org.eclipse.egit.ui.RepositoriesToggleBranchCommit"
6852             icon="icons/obj16/changelog_obj.png">
6853       </image>
6854       <image
6855             commandId="org.eclipse.egit.ui.RepositoriesViewDelete"
6856             icon="icons/obj16/delete_obj.png">
6857       </image>
6858       <image
6859             commandId="org.eclipse.egit.ui.RepositoriesViewRemove"
6860             icon="icons/obj16/clear.png">
6861       </image>
6862       <image
6863             commandId="org.eclipse.egit.ui.AbortRebase"
6864             icon="icons/elcl16/progress_stop.png">
6865       </image>
6866       <image
6867             commandId="org.eclipse.egit.ui.ContinueRebase"
6868             icon="icons/elcl16/continue.png">
6869       </image>
6870       <image
6871             commandId="org.eclipse.egit.ui.SkipRebase"
6872             icon="icons/elcl16/skip.png">
6873       </image>
6874       <image
6875             commandId="org.eclipse.egit.ui.history.Merge"
6876             icon="icons/obj16/merge.png">
6877       </image>
6878       <image
6879             commandId="org.eclipse.egit.ui.RebaseCurrent"
6880             icon="icons/obj16/rebase.png">
6881       </image>
6882       <image
6883             commandId="org.eclipse.egit.ui.team.Fetch"
6884             icon="icons/obj16/fetch.png">
6885       </image>
6886       <image
6887             commandId="org.eclipse.egit.ui.team.ConfigureFetch"
6888             icon="icons/obj16/fetch.png">
6889       </image>
6890       <image
6891             commandId="org.eclipse.egit.ui.team.ConfigurePush"
6892             icon="icons/obj16/push.png">
6893       </image>
6894       <image
6895             commandId="org.eclipse.egit.ui.team.Push"
6896             icon="icons/obj16/push.png">
6897       </image>
6898       <image
6899             commandId="org.eclipse.egit.ui.team.PushBranch"
6900             icon="icons/obj16/push.png">
6901       </image>
6902       <image
6903             commandId="org.eclipse.egit.ui.team.PushTags"
6904             icon="icons/obj16/push.png">
6905       </image>
6906       <image
6907             commandId="org.eclipse.egit.ui.FetchGerritChange"
6908             icon="icons/obj16/gerrit_fetch.png">
6909       </image>
6910       <image
6911             commandId="org.eclipse.egit.ui.FetchGitHubPR"
6912             icon="icons/obj16/fetch.png">
6913       </image>
6914       <image
6915             commandId="org.eclipse.egit.ui.FetchGitLabMergeRequest"
6916             icon="icons/obj16/fetch.png">
6917       </image>
6918       <image
6919             commandId="org.eclipse.egit.ui.FetchGiteaPullRequest"
6920             icon="icons/obj16/fetch.png">
6921       </image>
6922       <image
6923             commandId="org.eclipse.egit.ui.team.AddToIndex"
6924             icon="icons/obj16/add.png">
6925       </image>
6926       <image
6927             commandId="org.eclipse.egit.ui.team.RemoveFromIndex"
6928             icon="icons/obj16/unstage.png">
6929       </image>
6930       <image
6931             commandId="org.eclipse.egit.ui.team.Branch"
6932             icon="icons/obj16/branch_obj.png">
6933       </image>
6934       <image
6935             commandId="org.eclipse.egit.ui.team.Commit"
6936             icon="icons/obj16/commit.png">
6937       </image>
6938       <image
6939             commandId="org.eclipse.egit.ui.team.SimpleFetch"
6940             icon="icons/obj16/fetch.png">
6941       </image>
6942       <image
6943             commandId="org.eclipse.egit.ui.team.SimplePush"
6944             icon="icons/obj16/push.png">
6945       </image>
6946       <image
6947             commandId="org.eclipse.egit.ui.team.Ignore"
6948             icon="icons/obj16/ignore.png">
6949       </image>
6950       <image
6951             commandId="org.eclipse.egit.ui.team.Merge"
6952             icon="icons/obj16/merge.png">
6953       </image>
6954       <image
6955             commandId="org.eclipse.egit.ui.team.MergeTool"
6956             icon="icons/obj16/mergetool.png">
6957       </image>
6958       <image
6959             commandId="org.eclipse.egit.ui.team.Rebase"
6960             icon="icons/obj16/rebase.png">
6961       </image>
6962       <image
6963             commandId="org.eclipse.egit.ui.team.Pull"
6964             icon="icons/obj16/pull.png">
6965       </image>
6966       <image
6967             commandId="org.eclipse.egit.ui.team.PullWithOptions"
6968             icon="icons/obj16/pull_with_options.png">
6969       </image>
6970       <image
6971             commandId="org.eclipse.egit.ui.team.Reset"
6972             icon="icons/obj16/reset.png">
6973       </image>
6974       <image
6975             commandId="org.eclipse.egit.ui.team.Synchronize"
6976             icon="icons/obj16/synchronize.png">
6977       </image>
6978       <image
6979             commandId="org.eclipse.egit.ui.team.Tag"
6980             icon="icons/obj16/new_tag_obj.png">
6981       </image>
6982       <image
6983             commandId="org.eclipse.egit.ui.team.AssumeUnchanged"
6984             icon="icons/obj16/assume_unchanged.png">
6985       </image>
6986       <image
6987             commandId="org.eclipse.egit.ui.team.NoAssumeUnchanged"
6988             icon="icons/obj16/no_assume_unchanged.png">
6989       </image>
6990       <image
6991             commandId="org.eclipse.egit.ui.team.DeleteBranch"
6992             icon="icons/obj16/delete_obj.png">
6993       </image>
6994       <image
6995             commandId="org.eclipse.egit.ui.team.RenameBranch"
6996             icon="icons/obj16/editconfig.png">
6997       </image>
6998       <image
6999             commandId="org.eclipse.ui.edit.rename"
7000             icon="icons/obj16/editconfig.png">
7001       </image>
7002       <image
7003             commandId="org.eclipse.egit.ui.history.DeleteBranch"
7004             icon="icons/obj16/delete_obj.png">
7005       </image>
7006       <image
7007             commandId="org.eclipse.egit.ui.history.DeleteTag"
7008             icon="icons/obj16/delete_obj.png">
7009       </image>
7010       <image
7011             commandId="org.eclipse.egit.ui.internal.reflog.CopyCommand"
7012             icon="icons/elcl16/sha1.png">
7013       </image>
7014       <image
7015             commandId="org.eclipse.egit.ui.RebaseInteractiveCurrent"
7016             icon="icons/obj16/rebase_interactive.png">
7017       </image>
7018       <image
7019             commandId="org.eclipse.egit.ui.history.OpenInCommitViewerCommand"
7020             icon="icons/obj16/open-commit.png">
7021       </image>
7022       <image
7023             commandId="org.eclipse.egit.ui.history.CompareVersions"
7024             icon="icons/elcl16/compare_view.png">
7025       </image>
7026       <image
7027             commandId="org.eclipse.egit.ui.history.CompareVersionsInTree"
7028             icon="icons/elcl16/compare_view.png">
7029       </image>
7030       <image
7031             commandId="org.eclipse.egit.ui.team.Revert"
7032             icon="icons/obj16/revert.png">
7033       </image>
7034       <image
7035             commandId="org.eclipse.egit.ui.team.clean"
7036             icon="icons/obj16/clean_obj.png">
7037       </image>
7038       <image
7039             commandId="org.eclipse.egit.ui.team.stash.create"
7040             icon="icons/obj16/stash-create.png">
7041       </image>
7042       <image
7043             commandId="org.eclipse.egit.ui.history.ShowBlame"
7044             icon="icons/etool16/annotate.png">
7045       </image>
7046       <image
7047             commandId="org.eclipse.egit.ui.team.ShowBlame"
7048             icon="icons/etool16/annotate.png">
7049       </image>
7050       <image
7051             commandId="org.eclipse.egit.ui.PushHeadToGerrit"
7052             icon="icons/obj16/gerrit_push.png">
7053       </image>
7054       <image
7055             commandId="org.eclipse.egit.ui.RepositoriesViewConfigureGerritRemote"
7056             icon="icons/obj16/gerrit_obj.png">
7057       </image>
7058       <image
7059             commandId="org.eclipse.egit.ui.team.GarbageCollect"
7060             icon="icons/elcl16/trash_flat.png">
7061       </image>
7062       <image
7063             commandId="org.eclipse.egit.ui.team.Disconnect"
7064             icon="icons/obj16/disconnect_co.png">
7065       </image>
7066       <image
7067             commandId="org.eclipse.egit.ui.RepositoriesViewRemoveRemote"
7068             icon="icons/obj16/delete_obj.png">
7069       </image>
7070       <image
7071             commandId="org.eclipse.egit.ui.team.Untrack"
7072             icon="icons/obj16/untrack.png">
7073       </image>
7074       <image
7075             commandId="org.eclipse.egit.ui.team.OpenCommit"
7076             icon="icons/obj16/open-commit.png">
7077       </image>
7078       <image
7079             commandId="org.eclipse.egit.ui.RepositoriesViewOpenInEditor"
7080             icon="icons/elcl16/goto_input.png">
7081       </image>
7082       <image
7083             commandId="org.eclipse.egit.ui.team.CompareWithCommit"
7084             icon="icons/obj16/changelog_obj.png">
7085       </image>
7086       <image
7087             commandId="org.eclipse.egit.ui.team.ReplaceWithCommit"
7088             icon="icons/obj16/changelog_obj.png">
7089       </image>
7090       <image
7091             commandId="org.eclipse.egit.ui.team.submodule.add"
7092             icon="icons/obj16/submodules.png">
7093       </image>
7094       <image
7095             commandId="org.eclipse.egit.ui.team.ReplaceWithRef"
7096             icon="icons/obj16/branches_obj.png">
7097       </image>
7098       <image
7099             commandId="org.eclipse.egit.ui.team.CompareWithRef"
7100             icon="icons/obj16/branches_obj.png">
7101       </image>
7102       <image
7103             commandId="org.eclipse.egit.ui.RepositoriesCreateGroup"
7104             icon="icons/etool16/newgroup_wiz.png">
7105       </image>
7106       <image
7107             commandId="org.eclipse.egit.ui.commit.UnifiedDiffCommand"
7108             icon="icons/obj16/changelog_obj.png">
7109       </image>
7110    </extension>
7111    <extension
7112          point="org.eclipse.core.expressions.propertyTesters">
7113       <propertyTester
7114             class="org.eclipse.egit.ui.internal.repository.tree.RepositoriesViewPropertyTester"
7115             id="org.eclipse.egit.ui.RepositoryTester"
7116             namespace="GitRepository"
7117             properties="isBare,isSafe,canCheckout,canCommit,canAmend,canResetHead,canStash,isRefCheckedOut,isLocalBranch,fetchExists,pushExists,canMerge,canAbortRebase,canContinueRebase,isSubmodule,containsHead,hasGitHubConfiguration,hasGitLabConfiguration,hasGiteaConfiguration,hasGerritConfiguration,canFetchFromGerrit,canPushToGerrit,canEnableLfs,isCommit"
7118             type="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode">
7119       </propertyTester>
7120       <propertyTester
7121             class="org.eclipse.egit.ui.internal.ResourcePropertyTester"
7122             id="org.eclipse.egit.ui.ResourceTester"
7123             namespace="GitResource"
7124             properties="isShared,isContainer,isSafe,canCheckout,canCommit,canAmend,canResetHead,canAbortRebase,canContinueRebase,hasGitHubConfiguration,hasGitLabConfiguration,hasGiteaConfiguration,hasGerritConfiguration,canFetchFromGerrit,canPushToGerrit"
7125             type="org.eclipse.core.resources.IResource">
7126       </propertyTester>
7127       <propertyTester
7128             class="org.eclipse.egit.ui.internal.selection.SelectionPropertyTester"
7129             id="org.eclipse.egit.ui.SelectionTester"
7130             namespace="GitSelection"
7131             properties="conflictsInSingleRepository,projectsSingleRepository,projectsWithRepositories,resourcesSingleRepository,resourcesMultipleRepositories,fileOrFolderInRepository,resourcesAllInRepository,selectionSingleRepository,selectionMultipleRepositories"
7132             type="java.util.Collection">
7133       </propertyTester>
7134       <propertyTester
7135             class="org.eclipse.egit.ui.internal.resources.ResourceStatePropertyTester"
7136             id="org.eclipse.egit.ui.ResourceStateTester"
7137             namespace="org.eclipse.egit.ui.resources.ResourceState"
7138             properties="hasStagedChanges,hasUnstagedChanges,hasNotIgnoredResources,hasTrackedResources"
7139             type="java.util.Collection">
7140       </propertyTester>
7141       <propertyTester
7142             class="org.eclipse.egit.ui.internal.expressions.GitPropertyTester"
7143             id="org.eclipse.egit.ui.GitRepositoryCommitTester"
7144             namespace="Git"
7145             properties="parentCount,isBare,isSafe,canCommit,hasMultipleRefs,hasRef,isStash"
7146             type="org.eclipse.egit.core.internal.IRepositoryCommit">
7147       </propertyTester>
7148       <propertyTester
7149             class="org.eclipse.egit.ui.internal.expressions.GitPropertyTester"
7150             id="org.eclipse.egit.ui.GitRepositoryTester"
7151             namespace="Git"
7152             properties="isBare,isSafe,canCommit"
7153             type="org.eclipse.jgit.lib.Repository">
7154       </propertyTester>
7155       <propertyTester
7156             class="org.eclipse.egit.ui.internal.expressions.GitPropertyTester"
7157             id="org.eclipse.egit.ui.GitRevCommitTester"
7158             namespace="Git"
7159             properties="parentCount"
7160             type="org.eclipse.jgit.revwalk.RevCommit">
7161       </propertyTester>
7162       <propertyTester
7163             class="org.eclipse.egit.ui.internal.history.GitHistoryPropertyTester"
7164             id="org.eclipse.egit.ui.GitHistoryTester"
7165             namespace="GitHistory"
7166             properties="isSingleFileHistory"
7167             type="org.eclipse.team.ui.history.IHistoryView">
7168       </propertyTester>
7169       <propertyTester
7170             class="org.eclipse.egit.ui.internal.expressions.BundlePropertyTester"
7171             id="org.eclipse.egit.ui.BundlePropertyTester"
7172             namespace="org.eclipse.egit.ui.BundleProperty"
7173             properties="isBundleInstalled"
7174             type="java.util.Collection">
7175       </propertyTester>
7176       <propertyTester
7177             class="org.eclipse.egit.ui.internal.expressions.EditorPropertyTester"
7178             id="org.eclipse.egit.ui.EditorPropertyTester"
7179             namespace="org.eclipse.egit.ui.EditorProperty"
7180             properties="canShowRevisions"
7181             type="org.eclipse.ui.IEditorPart">
7182          <!-- Type cannot be restricted to text editors because of multi-page editors. -->
7183       </propertyTester>
7184    </extension>
7185    <extension
7186          id="changeSetModel"
7187          name="%ChangeSetModel.name"
7188          point="org.eclipse.core.resources.modelProviders">
7189       <modelProvider
7190             class="org.eclipse.egit.ui.internal.synchronize.GitChangeSetModelProvider"/>
7191       <enablement>
7192         <instanceof
7193              value="org.eclipse.core.resources.IResource" />
7194       </enablement>
7195       <extends-model id="org.eclipse.core.resources.modelProvider"/>
7196    </extension>
7197     <extension
7198          point="org.eclipse.team.ui.synchronizeWizards">
7199       <wizard
7200             class="org.eclipse.egit.ui.internal.synchronize.GitSynchronizeWizard"
7201             description="%gitsyncwizard.description"
7202             icon="icons/obj16/gitrepository.png"
7203             id="org.eclipse.egit.ui.wizard1"
7204             name="%Synchronize_Name">
7205       </wizard>
7206    </extension>
7207    <extension
7208          point="org.eclipse.team.ui.synchronizeParticipants">
7209       <participant
7210             class="org.eclipse.egit.ui.internal.synchronize.GitModelSynchronizeParticipant"
7211             id="org.eclipse.egit.ui.modelCompareParticipant"
7212             name="%Synchronize_Name"
7213             icon="icons/obj16/gitrepository.png"
7214             persistent="true"/>
7215    </extension>
7216    <extension
7217          point="org.eclipse.ui.navigator.navigatorContent">
7218       <navigatorContent
7219             activeByDefault="false"
7220             contentProvider="org.eclipse.egit.ui.internal.synchronize.mapping.GitChangeSetContentProvider"
7221             icon="$nl$/icons/obj16/changelog_obj.png"
7222             id="org.eclipse.egit.ui.changeSetContent"
7223             labelProvider="org.eclipse.egit.ui.internal.synchronize.mapping.GitChangeSetLabelProvider"
7224             name="%Synchronize_ChangeSet"
7225             priority="normal">
7226          <enablement>
7227            <or>
7228             <instanceof value="org.eclipse.egit.ui.internal.synchronize.GitChangeSetModelProvider"/>
7229             <instanceof value="org.eclipse.egit.ui.internal.synchronize.model.GitModelBlob"/>
7230             <instanceof value="org.eclipse.egit.ui.internal.synchronize.model.GitModelCacheTree"/>
7231            </or>
7232          </enablement>
7233              <dropAssistant
7234                      class="org.eclipse.egit.ui.internal.synchronize.mapping.GitChangeSetDropAdapterAssistant"
7235                      id="org.eclipse.egit.ui.changeSetDropAssistant">
7236                <possibleDropTargets>
7237              <instanceof value="org.eclipse.egit.ui.internal.synchronize.model.GitModelCache"/>
7238                </possibleDropTargets>
7239              </dropAssistant>
7240              <commonSorter
7241                class="org.eclipse.egit.ui.internal.synchronize.mapping.GitChangeSetSorter"/>
7242        </navigatorContent>
7243    </extension>
7244    <extension
7245          point="org.eclipse.team.ui.teamContentProviders">
7246       <teamContentProvider
7247             contentExtensionId="org.eclipse.egit.ui.changeSetContent"
7248             icon="$nl$/icons/obj16/changelog_obj.png"
7249             modelProviderId="org.eclipse.egit.ui.changeSetModel"/>
7250    </extension>
7251    <extension point="org.eclipse.ui.navigator.viewer">
7252        <viewer viewerId="org.eclipse.egit.ui.compareSynchronization">
7253            <popupMenu
7254                 allowsPlatformContributions="false"
7255                 id="org.eclipse.egit.ui.compareSynchronizationMenu">
7256              <insertionPoint name="gitActions" separator="true"/>
7257              <insertionPoint name="file"/>
7258              <insertionPoint name="file-bottom"/>
7259              <insertionPoint name="edit" separator="true"/>
7260              <insertionPoint name="synchronize"/>
7261              <insertionPoint name="navigate" separator="true"/>
7262              <insertionPoint name="modelTeam" separator="true"/>
7263              <insertionPoint name="sort" separator="true"/>
7264                          <insertionPoint name="additions" separator="true"/>
7265           </popupMenu>
7266        </viewer>
7267    </extension>
7268    <extension
7269          name="%TeamMenuCommandsLabel"
7270          point="org.eclipse.ui.commands">
7271       <command
7272             categoryId="org.eclipse.egit.ui.commandCategory"
7273             defaultHandler="org.eclipse.egit.ui.internal.actions.AddToIndexActionHandler"
7274             id="org.eclipse.egit.ui.team.AddToIndex"
7275             name="%AddToIndexCommand.name">
7276       </command>
7277       <command
7278             categoryId="org.eclipse.egit.ui.commandCategory"
7279             defaultHandler="org.eclipse.egit.ui.internal.actions.CreatePatchActionHandler"
7280             id="org.eclipse.egit.ui.team.CreatePatch"
7281             name="%CreatePatchCommand.name">
7282       </command>
7283       <command
7284             categoryId="org.eclipse.egit.ui.commandCategory"
7285             defaultHandler="org.eclipse.egit.ui.internal.actions.RemoveFromIndexActionHandler"
7286             id="org.eclipse.egit.ui.team.RemoveFromIndex"
7287             name="%RemoveFromIndexCommand.name">
7288       </command>
7289       <command
7290             categoryId="org.eclipse.egit.ui.commandCategory"
7291             defaultHandler="org.eclipse.egit.ui.internal.actions.BranchActionHandler"
7292             id="org.eclipse.egit.ui.team.Branch"
7293             name="%BranchCommand.name"
7294             description="%BranchCommand.description">
7295       </command>
7296       <command
7297             categoryId="org.eclipse.egit.ui.commandCategory"
7298             id="org.eclipse.egit.ui.team.CompareWithHead"
7299             name="%CompareWithHeadCommand.name">
7300       </command>
7301       <command
7302             categoryId="org.eclipse.egit.ui.commandCategory"
7303             id="org.eclipse.egit.ui.team.CompareWithIndex"
7304             name="%CompareWithIndexCommand.name">
7305       </command>
7306       <command
7307             categoryId="org.eclipse.egit.ui.commandCategory"
7308             id="org.eclipse.egit.ui.team.CompareIndexWithHead"
7309             name="%CompareIndexWithHeadCommand.name">
7310       </command>
7311       <command
7312             categoryId="org.eclipse.egit.ui.commandCategory"
7313             id="org.eclipse.egit.ui.team.CompareWithPrevious"
7314             name="%CompareWithPreviousCommand.name">
7315       </command>
7316       <command
7317             categoryId="org.eclipse.egit.ui.commandCategory"
7318             id="org.eclipse.egit.ui.team.CompareWithRef"
7319             name="%CompareWithHistoryCommand.name">
7320       </command>
7321       <command
7322             categoryId="org.eclipse.egit.ui.commandCategory"
7323             id="org.eclipse.egit.ui.team.CompareWithCommit"
7324             name="%CompareWithCommitCommand.name">
7325       </command>
7326       <command
7327             categoryId="org.eclipse.egit.ui.commandCategory"
7328             id="org.eclipse.egit.ui.team.Discard"
7329             name="%ReplaceWithIndexCommand.name">
7330       </command>
7331       <command
7332             categoryId="org.eclipse.egit.ui.commandCategory"
7333             id="org.eclipse.egit.ui.team.ReplaceWithHead"
7334             name="%ReplaceWithHeadCommand.name">
7335       </command>
7336       <command
7337             categoryId="org.eclipse.egit.ui.commandCategory"
7338             id="org.eclipse.egit.ui.team.ReplaceWithCommit"
7339             name="%ReplaceWithCommitCommand.name">
7340       </command>
7341       <command
7342             categoryId="org.eclipse.egit.ui.commandCategory"
7343             id="org.eclipse.egit.ui.team.ReplaceWithRef"
7344             name="%ReplaceWithRefCommand.name">
7345       </command>
7346       <command
7347             categoryId="org.eclipse.egit.ui.commandCategory"
7348             id="org.eclipse.egit.ui.team.ReplaceWithPrevious"
7349             name="%ReplaceWithPreviousCommand.name">
7350       </command>
7351       <command
7352             categoryId="org.eclipse.egit.ui.commandCategory"
7353             id="org.eclipse.egit.ui.team.ReplaceWithOurs"
7354             name="%ReplaceWithOursCommand.name">
7355       </command>
7356       <command
7357             categoryId="org.eclipse.egit.ui.commandCategory"
7358             id="org.eclipse.egit.ui.team.ReplaceWithTheirs"
7359             name="%ReplaceWithTheirsCommand.name">
7360       </command>
7361       <command
7362             categoryId="org.eclipse.egit.ui.commandCategory"
7363             defaultHandler="org.eclipse.egit.ui.internal.actions.IgnoreActionHandler"
7364             id="org.eclipse.egit.ui.team.Ignore"
7365             name="%IgnoreCommand.name">
7366       </command>
7367       <command
7368             categoryId="org.eclipse.egit.ui.commandCategory"
7369             id="org.eclipse.egit.ui.team.Tag"
7370             name="%TagCommand.name">
7371       </command>
7372       <command
7373             categoryId="org.eclipse.egit.ui.commandCategory"
7374             defaultHandler="org.eclipse.egit.ui.internal.actions.ShowRepositoriesViewActionHandler"
7375             id="org.eclipse.egit.ui.team.ShowRepositoriesView"
7376             name="%ShowRepoViewCommand.name">
7377       </command>
7378       <command
7379             categoryId="org.eclipse.egit.ui.commandCategory"
7380             defaultHandler="org.eclipse.egit.ui.internal.actions.ApplyPatchActionHandler"
7381             id="org.eclipse.egit.ui.team.ApplyPatch"
7382             name="%ApplyPatchCommand.name">
7383       </command>
7384       <command
7385             categoryId="org.eclipse.egit.ui.commandCategory"
7386             defaultHandler="org.eclipse.egit.ui.internal.actions.MergeToolActionHandler"
7387             id="org.eclipse.egit.ui.team.MergeTool"
7388             name="%MergeToolCommand.name">
7389       </command>
7390       <command
7391             categoryId="org.eclipse.egit.ui.commandCategory"
7392             defaultHandler="org.eclipse.egit.ui.internal.actions.ConfigureFetchActionHandler"
7393             id="org.eclipse.egit.ui.team.ConfigureFetch"
7394             name="%ConfigureUpstreamFetchCommand.name">
7395       </command>
7396       <command
7397             categoryId="org.eclipse.egit.ui.commandCategory"
7398             defaultHandler="org.eclipse.egit.ui.internal.actions.ConfigurePushActionHandler"
7399             id="org.eclipse.egit.ui.team.ConfigurePush"
7400             name="%ConfigureUpstreamPushCommand.name">
7401       </command>
7402       <command
7403             categoryId="org.eclipse.egit.ui.commandCategory"
7404             defaultHandler="org.eclipse.egit.ui.internal.actions.DeleteBranchActionHandler"
7405             id="org.eclipse.egit.ui.team.DeleteBranch"
7406             name="%DeleteBranchCommand.name">
7407       </command>
7408       <command
7409             categoryId="org.eclipse.egit.ui.commandCategory"
7410             id="org.eclipse.egit.ui.team.RenameBranch"
7411             name="%RenameBranchCommand">
7412       </command>
7413       <command
7414             categoryId="org.eclipse.egit.ui.commandCategory"
7415             defaultHandler="org.eclipse.egit.ui.internal.actions.AssumeUnchangedActionHandler"
7416             id="org.eclipse.egit.ui.team.AssumeUnchanged"
7417             name="%AssumeUnchangedCommand">
7418       </command>
7419       <command
7420             categoryId="org.eclipse.egit.ui.commandCategory"
7421             defaultHandler="org.eclipse.egit.ui.internal.actions.NoAssumeUnchangedActionHandler"
7422             id="org.eclipse.egit.ui.team.NoAssumeUnchanged"
7423             name="%NoAssumeUnchangedCommand">
7424       </command>
7425       <command
7426             categoryId="org.eclipse.egit.ui.commandCategory"
7427             id="org.eclipse.egit.ui.team.Untrack"
7428             name="%UntrackCommand.name">
7429       </command>
7430    </extension>
7431    <extension
7432          point="org.eclipse.ui.bindings">
7433       <key
7434             commandId="org.eclipse.egit.ui.team.Commit"
7435             contextId="org.eclipse.ui.contexts.window"
7436             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
7437             sequence="M1+#">
7438       </key>
7439       <!-- Command+Shift+3 takes a screenshot on the Mac. Delete and redefine key binding: -->
7440       <key
7441             platform="carbon"
7442             commandId=""
7443             contextId="org.eclipse.ui.contexts.window"
7444             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
7445             sequence="M1+#">
7446       </key>
7447       <key
7448             platform="carbon"
7449             commandId="org.eclipse.egit.ui.team.Commit"
7450             contextId="org.eclipse.ui.contexts.window"
7451             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
7452             sequence="COMMAND+ALT+3">
7453       </key>
7454       <key
7455             commandId="org.eclipse.egit.ui.RepositoriesViewCopyPath"
7456             contextId="org.eclipse.egit.ui.RepositoriesView"
7457             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
7458             sequence="M1+C">
7459       </key>
7460       <key
7461             commandId="org.eclipse.egit.ui.internal.reflog.CopyCommand"
7462             contextId="org.eclipse.egit.ui.ReflogView"
7463             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
7464             sequence="M1+C">
7465       </key>
7466       <key
7467             commandId="org.eclipse.egit.ui.team.RenameBranch"
7468             contextId="org.eclipse.egit.ui.RepositoriesView.SingleRepository"
7469             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
7470             sequence="F2">
7471       </key>
7472       <key
7473             commandId="org.eclipse.egit.ui.RepositoriesViewCollapseWorkingTree"
7474             contextId="org.eclipse.egit.ui.RepositoriesView"
7475             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
7476             sequence="M1+ARROW_LEFT">
7477       </key>
7478       <key
7479             commandId="org.eclipse.egit.ui.commit.DiffEditorQuickOutlineCommand"
7480             contextId="org.eclipse.egit.ui.DiffViewer"
7481             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
7482             sequence="M1+O">
7483       </key>
7484    </extension>
7485    <extension
7486          name="%HistoryViewCommands.extension.name"
7487          point="org.eclipse.ui.commands">
7488       <command
7489             id="org.eclipse.egit.ui.history.CompareVersions"
7490             name="%CompareCommand.name">
7491       </command>
7492       <command
7493             id="org.eclipse.egit.ui.history.CompareVersionsInTree"
7494             name="%CompareInTreeCommand.name">
7495       </command>
7496       <command
7497             id="org.eclipse.egit.ui.history.CompareWithWorkingTree"
7498             name="%CompareWithWorkTreeCommand.name">
7499       </command>
7500       <command
7501             id="org.eclipse.egit.ui.history.ShowVersions"
7502             name="%ShowVersionsCommand.name">
7503          <commandParameter
7504                id="org.eclipse.egit.ui.history.CompareMode"
7505                name="%CompareModeCommandParameter.name"
7506                optional="true">
7507          </commandParameter>
7508       </command>
7509       <command
7510             id="org.eclipse.egit.ui.history.CreatePatch"
7511             name="%CreatePatchCommand.name">
7512       </command>
7513       <command
7514             id="org.eclipse.egit.ui.history.DeleteBranch"
7515             name="%DeleteBranchCommand.name">
7516       </command>
7517       <command
7518             id="org.eclipse.egit.ui.history.DeleteTag"
7519             name="%DeleteTagCommand.name">
7520       </command>
7521       <command
7522             id="org.eclipse.egit.ui.history.PushCommit"
7523             name="%PushCommit.name">
7524       </command>
7525       <command
7526             id="org.eclipse.egit.ui.history.Reset"
7527             name="%ResetCommand.name">
7528          <commandParameter
7529                id="org.eclipse.egit.ui.history.ResetMode"
7530                name="%ResetModeCommandParameter.name"
7531                optional="false">
7532          </commandParameter>
7533       </command>
7534       <command
7535             id="org.eclipse.egit.ui.history.ResetQuickdiffBaseline"
7536             name="%ResetQuickdiffCommand.name">
7537          <commandParameter
7538                id="org.eclipse.egit.ui.history.ResetQuickdiffBaselineTarget"
7539                name="%ResetTargetCommandParameter.name"
7540                optional="false">
7541          </commandParameter>
7542       </command>
7543       <command
7544             id="org.eclipse.egit.ui.history.SetQuickdiffBaseline"
7545             name="%SetQuickdiffBaselineCommand.name">
7546       </command>
7547       <command
7548             id="org.eclipse.egit.ui.history.OpenInTextEditorCommand"
7549             name="%OpenInTextEditorCommand.name">
7550       </command>
7551       <command
7552             id="org.eclipse.egit.ui.history.Squash"
7553             name="%SquashCommitsCommand.name">
7554       </command>
7555       <command
7556             defaultHandler="org.eclipse.egit.ui.internal.commit.command.SquashHandler"
7557             id="org.eclipse.egit.ui.commit.Squash"
7558             name="%SquashCommitsCommand.name">
7559       </command>
7560       <command
7561             id="org.eclipse.egit.ui.history.Reword"
7562             name="%RewordCommitCommand.name">
7563       </command>
7564       <command
7565             defaultHandler="org.eclipse.egit.ui.internal.commit.command.RewordHandler"
7566             id="org.eclipse.egit.ui.commit.Reword"
7567             name="%RewordCommitCommand.name">
7568       </command>
7569       <command
7570             id="org.eclipse.egit.ui.history.Edit"
7571             name="%EditCommitCommand.name">
7572       </command>
7573       <command
7574             defaultHandler="org.eclipse.egit.ui.internal.commit.command.EditHandler"
7575             id="org.eclipse.egit.ui.commit.Edit"
7576             name="%EditCommitCommand.name">
7577       </command>
7578       <command
7579             id="org.eclipse.egit.ui.history.Merge"
7580             name="%MergeCommand.name">
7581       </command>
7582       <command
7583             id="org.eclipse.egit.ui.RebaseCurrent"
7584             name="%RebaseCurrentCommand.name">
7585       </command>
7586       <command
7587             id="org.eclipse.egit.ui.RebaseInteractiveCurrent"
7588             name="%RebaseInteractiveCurrentCommand.name">
7589       </command>
7590       <command
7591             id="org.eclipse.egit.ui.history.OpenInCommitViewerCommand"
7592             name="%OpenInCommitViewerCommand.name"
7593             description="%OpenInCommitViewerCommand.tooltip">
7594       </command>
7595       <command
7596             id="org.eclipse.egit.ui.commit.UnifiedDiffCommand"
7597             name="%ShowUnifiedDiffCommand.name">
7598       </command>
7599    </extension>
7600    <extension
7601          name="%CommitViewerCommands.extension.name"
7602          point="org.eclipse.ui.commands">
7603       <command
7604             id="org.eclipse.egit.ui.history.ShowBlame"
7605             name="%ShowBlameCommand.name">
7606       </command>
7607    </extension>
7608    <extension
7609          name="%CompareViewerCommands.extension.name"
7610          point="org.eclipse.ui.commands">
7611       <command
7612             id="org.eclipse.egit.ui.CompareWithEachOther"
7613             name="%CompareWithEachOtherCommand.name"
7614             categoryId="org.eclipse.compare.ui.category.compare"
7615             description="%CompareWithEachOtherCommand.description">
7616       </command>
7617    </extension>
7618    <extension
7619          point="org.eclipse.ui.newWizards">
7620       <wizard
7621             category="org.eclipse.egit.ui.wizardCategory"
7622             class="org.eclipse.egit.ui.internal.repository.NewRepositoryWizard"
7623             hasPages="true"
7624             icon="icons/etool16/createRepository.png"
7625             id="org.eclipse.egit.ui.CreateRepositoryWizard"
7626             name="%CreateRepositoryWizard.name">
7627          <description>
7628             %CreateRepositoryWizard.description
7629          </description>
7630       </wizard>
7631       <category
7632             id="org.eclipse.egit.ui.wizardCategory"
7633             name="%Git">
7634       </category>
7635    </extension>
7636    <extension
7637          point="org.eclipse.ui.contexts">
7638       <context
7639             id="org.eclipse.egit.ui.RepositoriesView"
7640             name="%RepositoriesViewContext.name"
7641             parentId="org.eclipse.ui.contexts.window">
7642       </context>
7643       <context
7644             id="org.eclipse.egit.ui.RepositoriesView.SingleRepository"
7645             name="%RepositoriesViewContext.name"
7646             parentId="org.eclipse.egit.ui.RepositoriesView">
7647       </context>
7648       <context
7649             id="org.eclipse.egit.ui.ReflogView"
7650             name="%ReflogViewContext"
7651             parentId="org.eclipse.ui.contexts.window">
7652       </context>
7653       <context
7654             id="org.eclipse.egit.ui.DiffViewer"
7655             name="%DiffViewerContext"
7656             parentId="org.eclipse.ui.textEditorScope">
7657       </context>
7658    </extension>
7659    <extension
7660          point="org.eclipse.ui.editors">
7661       <editor
7662             class="org.eclipse.egit.ui.internal.commit.CommitEditor"
7663             contributorClass="org.eclipse.egit.ui.internal.commit.CommitEditorActionBarContributor"
7664             default="false"
7665             icon="icons/obj16/changelog_obj.png"
7666             id="org.eclipse.egit.ui.commitEditor"
7667             name="%CommitEditor.name">
7668       </editor>
7669       <editor
7670             class="org.eclipse.egit.ui.internal.commit.DiffEditor"
7671             contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
7672             default="false"
7673             icon="icons/obj16/changelog_obj.png"
7674             id="org.eclipse.egit.ui.diffEditor"
7675             name="%DiffEditor.name">
7676       </editor>
7677    </extension>
7678    <extension
7679          point="org.eclipse.ui.actionSetPartAssociations">
7680       <actionSetPartAssociation
7681             targetID="org.eclipse.ui.edit.text.actionSet.presentation">
7682          <part
7683                id="org.eclipse.egit.ui.commitEditor">
7684          </part>
7685          <part
7686                id="org.eclipse.egit.ui.diffEditor">
7687          </part>
7688       </actionSetPartAssociation>
7689    </extension>
7690    <extension
7691          point="org.eclipse.ui.editors.annotationTypes">
7692       <type name="org.eclipse.egit.ui.commitEditor.diffAdded" />
7693       <type name="org.eclipse.egit.ui.commitEditor.diffRemoved" />
7694    </extension>
7695    <extension
7696          point="org.eclipse.ui.editors.markerAnnotationSpecification">
7697       <specification
7698             annotationType="org.eclipse.egit.ui.commitEditor.diffAdded"
7699             overviewRulerPreferenceKey="org.eclipse.egit.ui.commitEditor.diffAddedInOverviewRuler"
7700             overviewRulerPreferenceValue="true"
7701             verticalRulerPreferenceKey="org.eclipse.egit.ui.commitEditor.diffAddedInVerticalRuler"
7702             verticalRulerPreferenceValue="false"
7703             textPreferenceKey="org.eclipse.egit.ui.commitEditor.diffAddedIndication"
7704             textPreferenceValue="false"
7705             highlightPreferenceKey="org.eclipse.egit.ui.commitEditor.diffAddedHighlighting"
7706             highlightPreferenceValue="false"
7707             showInNextPrevDropdownToolbarActionKey="org.eclipse.egit.ui.commitEditor.diffAddedInNextPrevDropdownToolbarAction"
7708             showInNextPrevDropdownToolbarAction="false"
7709             isGoToNextNavigationTargetKey="org.eclipse.egit.ui.commitEditor.diffAddedGoToNextNavigationTarget"
7710             isGoToNextNavigationTarget="true"
7711             isGoToPreviousNavigationTargetKey="org.eclipse.egit.ui.commitEditor.diffAddedGoToPreviousNavigationTarget"
7712             isGoToPreviousNavigationTarget="true"
7713             colorPreferenceKey="org.eclipse.egit.ui.commitEditor.diffAddedColor"
7714             colorPreferenceValue="221,255,221"
7715             contributesToHeader="false"
7716             presentationLayer="5"
7717             includeOnPreferencePage="false">
7718       </specification>
7719       <specification
7720             annotationType="org.eclipse.egit.ui.commitEditor.diffRemoved"
7721             overviewRulerPreferenceKey="org.eclipse.egit.ui.commitEditor.diffRemovedInOverviewRuler"
7722             overviewRulerPreferenceValue="true"
7723             verticalRulerPreferenceKey="org.eclipse.egit.ui.commitEditor.diffRemovedInVerticalRuler"
7724             verticalRulerPreferenceValue="false"
7725             textPreferenceKey="org.eclipse.egit.ui.commitEditor.diffRemovedIndication"
7726             textPreferenceValue="false"
7727             highlightPreferenceKey="org.eclipse.egit.ui.commitEditor.diffRemovedHighlighting"
7728             highlightPreferenceValue="false"
7729             showInNextPrevDropdownToolbarActionKey="org.eclipse.egit.ui.commitEditor.diffRemovedInNextPrevDropdownToolbarAction"
7730             showInNextPrevDropdownToolbarAction="false"
7731             isGoToNextNavigationTargetKey="org.eclipse.egit.ui.commitEditor.diffRemovedGoToNextNavigationTarget"
7732             isGoToNextNavigationTarget="true"
7733             isGoToPreviousNavigationTargetKey="org.eclipse.egit.ui.commitEditor.diffRemovedGoToPreviousNavigationTarget"
7734             isGoToPreviousNavigationTarget="true"
7735             colorPreferenceKey="org.eclipse.egit.ui.commitEditor.diffRemovedColor"
7736             colorPreferenceValue="255,221,221"
7737             contributesToHeader="false"
7738             presentationLayer="5"
7739             includeOnPreferencePage="false">
7740       </specification>
7741    </extension>
7742    <extension
7743          point="org.eclipse.ui.editors.templates">
7744       <resolver
7745             class="org.eclipse.egit.ui.internal.variables.GitTemplateVariableResolver"
7746             contextTypeId="java"
7747             type="git_config"
7748             description="%GitTemplateVariableResolver_GitConfigDescription">
7749       </resolver>
7750    </extension>
7751    <extension
7752          point="org.eclipse.ui.editors.templates">
7753       <resolver
7754             class="org.eclipse.egit.ui.internal.variables.GitTemplateVariableResolver"
7755             contextTypeId="javadoc"
7756             type="git_config"
7757             description="%GitTemplateVariableResolver_GitConfigDescription">
7758       </resolver>
7759    </extension>
7760    <extension
7761          point="org.eclipse.ui.elementFactories">
7762       <factory
7763             class="org.eclipse.egit.ui.internal.commit.CommitEditorInputFactory"
7764             id="org.eclipse.egit.ui.internal.commit.CommitEditorInputFactory">
7765       </factory>
7766    </extension>
7767     <extension point="org.eclipse.search.searchPages">
7768       <page
7769             class="org.eclipse.egit.ui.internal.search.CommitSearchPage"
7770             icon="icons/obj16/search-commit.png"
7771             id="org.eclipse.egit.ui.commitSearchPage"
7772             label="%CommitSearchPage.label">
7773       </page>
7774    </extension>
7775    <extension
7776          point="org.eclipse.search.searchResultViewPages">
7777       <viewPage
7778             class="org.eclipse.egit.ui.internal.search.CommitSearchResultsPage"
7779             icon="icons/obj16/search-commit.png"
7780             id="org.eclipse.egit.ui.commitSearchResultsPage"
7781             label="%CommitSearchResults.label"
7782             searchResultClass="org.eclipse.egit.ui.internal.search.CommitSearchResult">
7783       </viewPage>
7784    </extension>
7786    <extension
7787          point="org.eclipse.ui.actionSets">
7788       <actionSet
7789             id="org.eclipse.egit.ui.navigation"
7790             label="%NavigationActionSet.label"
7791             visible="false">
7792         <action
7793                class="org.eclipse.egit.ui.internal.commit.OpenCommitAction"
7794                definitionId="org.eclipse.egit.ui.team.OpenCommit"
7795                icon="icons/obj16/open-commit.png"
7796                id="org.eclipse.egit.ui.commit.OpenCommitAction"
7797                label="%OpenCommitAction.label"
7798                menubarPath="navigate/open.ext3"
7799                style="push"
7800                toolbarPath="org.eclipse.search.searchActionSet/Search"
7801                tooltip="%OpenCommitAction.tooltip"/>
7802       </actionSet>
7803       <actionSet
7804             label="%GitSearchActionSet.label"
7805             description="%GitSearchActionSet.description"
7806             visible="false"
7807             id="org.eclipse.egit.ui.SearchActionSet">
7808          <!--
7809            Menu re-declaration needed because of bug 567910. Needs to be consistent
7810            with the base declaration in org.eclipse.search. Note that other bundles,
7811            for instance org.eclipse.jdt.ui, employ the same work-around.
7812          -->
7813          <menu
7814                 id="org.eclipse.search.menu"
7815                 label="%searchMenu.label"
7816                 path="navigate">
7817             <groupMarker name="internalDialogGroup"/>   <!-- not to be used by clients  -->
7818             <groupMarker name="dialogGroup"/>           <!-- to be used by clients      -->
7819             <separator name="fileSearchContextMenuActionsGroup"/> <!-- to be used by clients      -->
7820             <separator name="contextMenuActionsGroup"/> <!-- to be used by clients -->
7821             <separator name="occurencesActionsGroup"/> <!-- to be used by clients -->
7822             <separator name="extraSearchGroup"/> <!-- to be used by clients -->
7823          </menu>
7824          <action
7825                label="%OpenCommitSearchPageAction.label"
7826                icon="icons/obj16/search-commit.png"
7827                class="org.eclipse.egit.ui.internal.search.OpenCommitSearchPageAction"
7828                menubarPath="org.eclipse.search.menu/dialogGroup"
7829                id="org.eclipse.egit.ui.actions.OpenCommitSearchPage">
7830          </action>
7831       </actionSet>
7832    </extension>
7833    <extension
7834          point="org.eclipse.ui.actionSetPartAssociations">
7835       <actionSetPartAssociation
7836             targetID="org.eclipse.egit.ui.navigation">
7837          <part
7838                id="org.eclipse.egit.ui.RepositoriesView">
7839          </part>
7840          <part
7841                id="org.eclipse.egit.ui.StagingView">
7842          </part>
7843          <part
7844                id="org.eclipse.egit.ui.CompareTreeView">
7845          </part>
7846          <part
7847                id="org.eclipse.egit.ui.ReflogView">
7848          </part>
7849          <part
7850                id="org.eclipse.egit.ui.InteractiveRebaseView">
7851          </part>
7852          <part
7853                id="org.eclipse.egit.ui.commitEditor">
7854          </part>
7855          <part
7856                id="org.eclipse.team.ui.GenericHistoryView">
7857          </part>
7858          <part
7859                id="org.eclipse.team.sync.views.SynchronizeView">
7860          </part>
7861       </actionSetPartAssociation>
7862       <actionSetPartAssociation
7863             targetID="org.eclipse.egit.ui.SearchActionSet">
7864          <part
7865                id="org.eclipse.egit.ui.RepositoriesView">
7866          </part>
7867          <part
7868                id="org.eclipse.egit.ui.StagingView">
7869          </part>
7870          <part
7871                id="org.eclipse.egit.ui.CompareTreeView">
7872          </part>
7873          <part
7874                id="org.eclipse.egit.ui.ReflogView">
7875          </part>
7876          <part
7877                id="org.eclipse.egit.ui.InteractiveRebaseView">
7878          </part>
7879          <part
7880                id="org.eclipse.egit.ui.commitEditor">
7881          </part>
7882          <part
7883                id="org.eclipse.team.ui.GenericHistoryView">
7884          </part>
7885          <part
7886                id="org.eclipse.team.sync.views.SynchronizeView">
7887          </part>
7888       </actionSetPartAssociation>
7889    </extension>
7891   <extension
7892         point="org.eclipse.core.variables.dynamicVariables">
7893      <variable
7894            description="%GitVariable_git_dir"
7895            name="git_dir"
7896            resolver="org.eclipse.egit.ui.internal.variables.GitVariableResolver"
7897            supportsArgument="true">
7898      </variable>
7899      <variable
7900            description="%GitVariable_git_repo_relative_path"
7901            name="git_repo_relative_path"
7902            resolver="org.eclipse.egit.ui.internal.variables.GitVariableResolver"
7903            supportsArgument="true">
7904      </variable>
7905      <variable
7906            description="%GitVariable__git_work_tree_description"
7907            name="git_work_tree"
7908            resolver="org.eclipse.egit.ui.internal.variables.GitVariableResolver"
7909            supportsArgument="true">
7910      </variable>
7911      <variable
7912            description="%GitVariable_git_branch_description"
7913            name="git_branch"
7914            resolver="org.eclipse.egit.ui.internal.variables.GitVariableResolver"
7915            supportsArgument="true">
7916      </variable>
7917   </extension>
7918   <extension
7919         point="org.eclipse.debug.ui.stringVariablePresentations">
7920      <variablePresentation
7921            argumentSelector="org.eclipse.debug.internal.ui.stringsubstitution.ResourceSelector"
7922            variableName="git_dir">
7923      </variablePresentation>
7924      <variablePresentation
7925            argumentSelector="org.eclipse.debug.internal.ui.stringsubstitution.ResourceSelector"
7926            variableName="git_repo_relative_path">
7927      </variablePresentation>
7928      <variablePresentation
7929            argumentSelector="org.eclipse.debug.internal.ui.stringsubstitution.ResourceSelector"
7930            variableName="git_work_tree">
7931      </variablePresentation>
7932      <variablePresentation
7933            argumentSelector="org.eclipse.debug.internal.ui.stringsubstitution.ResourceSelector"
7934            variableName="git_branch">
7935      </variablePresentation>
7936   </extension>
7937   <extension
7938         point="org.eclipse.egit.ui.cloneSourceProvider">
7939      <source
7940            hasFixLocation="true"
7941            icon="/icons/obj16/editconfig.png"
7942            label="%CloneUri.label">
7943      </source>
7944      <repositorySearchPage
7945            class="org.eclipse.egit.ui.internal.components.RepositorySelectionPage"></repositorySearchPage>
7946   </extension>
7947   <extension
7948         name="%ReflogViewCommands"
7949         point="org.eclipse.ui.commands">
7950      <command
7951            id="org.eclipse.egit.ui.internal.reflog.CopyCommand"
7952            name="%ReflogCopyCommandName">
7953      </command>
7954   </extension>
7955    <extension
7956         point="org.eclipse.team.core.bundleImporters">
7957     <importer
7958            id="org.eclipse.egit.core.importer"
7959            name="%gitBundleImporter"
7960            repository="org.eclipse.egit.core.GitProvider">
7961         <supports
7962               prefix="scm:git:">
7963         </supports>
7964      </importer>
7965    </extension>
7966    <extension
7967          point="org.eclipse.team.ui.scmUrlImportPages">
7968       <scmUrlImportPage
7969             importer="org.eclipse.egit.core.importer"
7970             page="org.eclipse.egit.ui.internal.importing.GitScmUrlImportWizardPage">
7971       </scmUrlImportPage>
7972    </extension>
7973    <extension
7974         point="org.eclipse.e4.ui.css.swt.theme">
7975      <stylesheet uri="css/egit.css" />
7976      <stylesheet
7977            uri="css/e4-dark_egit_prefstyle.css">
7978         <themeid
7979               refid="org.eclipse.e4.ui.css.theme.e4_dark">
7980         </themeid>
7981      </stylesheet>
7982   </extension>
7983   <extension point="org.eclipse.core.contenttype.contentTypes">
7984     <file-association
7985         content-type="org.eclipse.core.runtime.text"
7986         file-names=".gitignore"/>
7987     <content-type
7988         id="org.eclipse.egit.contenttype.gitignore"
7989         base-type="org.eclipse.core.runtime.text"
7990         file-names=".gitignore"
7991         priority="normal"
7992         name="%GitIgnoreContentTypeName"/>
7993   </extension>
7994   <extension
7995         point="org.eclipse.ui.trace.traceComponents">
7996      <component
7997            id="org.eclipse.egit.ui.traceComponent"
7998            label="%extension.traceComponent.name">
7999         <bundle
8000               name="org.eclipse.egit.core">
8001         </bundle>
8002         <bundle
8003               name="org.eclipse.egit.ui">
8004         </bundle>
8005      </component>
8006   </extension>
8007   <extension
8008         point="org.eclipse.core.expressions.definitions">
8009      <definition
8010            id="org.eclipse.egit.ui.egitOnlyResourceMapping">
8011         <with
8012               variable="activeMenuSelection">
8013            <iterate
8014                  ifEmpty="false"
8015                  operator="and">
8016               <and>
8017                  <adapt
8018                        type="org.eclipse.core.resources.mapping.ResourceMapping">
8019                     <test
8020                           args="org.eclipse.team.core.repository"
8021                           property="org.eclipse.core.resources.projectPersistentProperty"
8022                           value="org.eclipse.egit.core.GitProvider">
8023                     </test>
8024                  </adapt>
8025                  <not>
8026                     <adapt
8027                           type="org.eclipse.core.resources.IResource">
8028                     </adapt>
8029                  </not>
8030               </and>
8031            </iterate>
8032         </with>
8033      </definition>
8034   </extension>
8035   <extension
8036         point="org.eclipse.ui.services">
8037      <sourceProvider
8038            provider="org.eclipse.egit.ui.internal.selection.RepositorySourceProvider">
8039         <variable
8040               name="org.eclipse.egit.ui.currentRepository"
8041               priorityLevel="activeWorkbenchWindow">
8042         </variable>
8043      </sourceProvider>
8044   </extension>
8045 </plugin>