EGit 0.8.3
[egit.git] / org.eclipse.egit.ui / plugin.xml
blob4de8339283d9bb89b7b6ae294d67419b523141cf
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.0"?>
3 <plugin>
4    <extension point="org.eclipse.core.runtime.preferences">
5       <initializer class="org.eclipse.egit.ui.PluginPreferenceInitializer"/>
6    </extension>
8    <extension point="org.eclipse.ui.importWizards">
9       <category name="%Git_clone_category"
10             id="org.eclipse.egit.ui.internal.clone.gitclonecategory"/>
11       <wizard name="%Git_clone_wizard"
12             icon="icons/obj16/import_obj.gif"
13             class="org.eclipse.egit.ui.internal.clone.GitImportWizard"
14             id="org.eclipse.egit.ui.internal.clone.GitCloneWizard"
15             category="org.eclipse.egit.ui.internal.clone.gitclonecategory">
16             <description>%Git_clone_description</description>
17       </wizard>
18    </extension>
20    <extension point="org.eclipse.team.ui.configurationWizards">
21       <wizard name="%SharingWizard_name"
22             icon="icons/etool16/newconnect_wiz.gif"
23             class="org.eclipse.egit.ui.internal.sharing.SharingWizard"
24             id="org.eclipse.egit.ui.internal.sharing.SharingWizard">
25       </wizard>
26    </extension>
28    <extension point="org.eclipse.ui.popupMenus">
29       <objectContribution id="org.eclipse.egit.ui.projectContributions"
30             objectClass="org.eclipse.core.resources.IProject"
31             adaptable="true">
32          <filter name="projectPersistentProperty"
33                value="org.eclipse.team.core.repository=org.eclipse.egit.core.GitProvider">
34          </filter>
35          <action
36                class="org.eclipse.egit.ui.internal.actions.Disconnect"
37                icon="$nl$/icons/obj16/disconnect_co.gif"
38                id="org.eclipse.egit.ui.internal.actions.Disconnect"
39                label="%DisconnectAction_label"
40                menubarPath="team.main/group10"
41                tooltip="%DisconnectAction_tooltip">
42          </action>
43          <action
44                class="org.eclipse.egit.ui.internal.actions.FetchAction"
45                icon="$nl$/icons/obj16/pull.gif"
46                id="org.eclipse.egit.ui.internal.actions.FetchAction"
47                label="%FetchAction_label"
48                menubarPath="team.main/group2"
49                tooltip="%FetchAction_tooltip"/>
50          <action
51                class="org.eclipse.egit.ui.internal.actions.PushAction"
52                icon="$nl$/icons/obj16/commit.gif"
53                id="org.eclipse.egit.ui.internal.actions.PushAction"
54                label="%PushAction_label"
55                menubarPath="team.main/group1"
56                tooltip="%PushAction_tooltip"/>
57          <action
58                class="org.eclipse.egit.ui.internal.actions.ResetAction"
59                icon="$nl$/icons/obj16/reset.gif"
60                id="org.eclipse.egit.ui.internal.actions.ResetAction"
61                label="%ResetAction_label"
62                menubarPath="team.main/group4"
63                tooltip="%ResetAction_tooltip">
64          </action>
65          <action
66                class="org.eclipse.egit.ui.internal.actions.TagAction"
67                icon="$nl$/icons/obj16/tags.gif"
68                id="org.eclipse.egit.ui.internal.actions.TagAction"
69                label="%TagAction_label"
70                menubarPath="team.main/group4"
71                tooltip="%TagAction_tooltip"/>
72          <action
73                class="org.eclipse.egit.ui.internal.actions.MergeAction"
74                icon="$nl$/icons/obj16/merge.gif"
75                id="org.eclipse.egit.ui.internal.actions.MergeAction"
76                label="%MergeAction_label"
77                menubarPath="team.main/group4"
78                tooltip="%MergeAction_tooltip"/>
79          <action
80                class="org.eclipse.egit.ui.internal.actions.BranchAction"
81                icon="$nl$/icons/obj16/branch_obj.gif"
82                id="org.eclipse.egit.ui.internal.actions.BranchAction"
83                label="%BranchAction_label"
84                menubarPath="team.main/group4"
85                tooltip="%BranchAction_tooltip"/>
86      </objectContribution>
87      <objectContribution
88             adaptable="true"
89             id="org.eclipse.egit.ui.fileFolderContributions"
90             objectClass="org.eclipse.core.resources.IResource">
91          <filter name="projectPersistentProperty"
92                value="org.eclipse.team.core.repository=org.eclipse.egit.core.GitProvider">
93          </filter>
94          <action
95                class="org.eclipse.egit.ui.internal.actions.Track"
96                icon="$nl$/icons/obj16/track.gif"
97                id="org.eclipse.egit.ui.internal.actions.Track"
98                label="%TrackAction_label"
99                menubarPath="team.main/group9"
100                tooltip="%TrackAction_tooltip"/>
101          <action
102                class="org.eclipse.egit.ui.internal.actions.Untrack"
103                icon="$nl$/icons/obj16/untrack.gif"
104                id="org.eclipse.egit.ui.internal.actions.Untrack"
105                label="%UntrackAction_label"
106                menubarPath="team.main/group9"
107                tooltip="%UntrackAction_tooltip"/>
108          <action
109                class="org.eclipse.egit.ui.internal.actions.AssumeUnchanged"
110                icon="icons/obj16/assume-unchanged.gif"
111                id="org.eclipse.egit.ui.internal.actions.AssumeUnchanged"
112                label="%AssumeUnchangedAction_label"
113                menubarPath="team.main/group9"
114                tooltip="%AssumeUnchangedAction_tooltip"/>
115          <action
116                class="org.eclipse.egit.ui.internal.actions.Update"
117                icon="$nl$/icons/obj16/refresh.gif"
118                id="org.eclipse.egit.ui.internal.actions.Update"
119                label="%UpdateAction_label"
120                menubarPath="team.main/group3"
121                tooltip="%UpdateAction_tooltip"/>
122          <action
123                class="org.eclipse.egit.ui.internal.actions.CommitAction"
124                icon="$nl$/icons/obj16/commit.gif"
125                id="org.eclipse.egit.ui.internal.actions.CommitAction"
126                label="%CommitAction_label"
127                menubarPath="team.main/group1"
128                tooltip="%CommitAction_tooltip"/>
129          <action
130                class="org.eclipse.egit.ui.internal.actions.CompareWithIndexAction"
131                id="org.eclipse.egit.ui.internal.actions.CompareWithIndexAction"
132                label="%CompareWithIndexAction_label"
133                menubarPath="compareWithMenu/gitCompareWithGroup"
134                tooltip="%CompareWithIndexAction_tooltip"/>
135          <action
136                class="org.eclipse.egit.ui.internal.actions.CompareWithHeadAction"
137                id="org.eclipse.egit.ui.internal.actions.CompareWithHeadAction"
138                label="%CompareWithHeadAction_label"
139                menubarPath="compareWithMenu/gitCompareWithGroup"
140                tooltip="%CompareWithHeadAction_tooltip"/>
141          <action
142                class="org.eclipse.egit.ui.internal.actions.IgnoreAction"
143                icon="$nl$/icons/obj16/ignore.gif"
144                id="org.eclipse.egit.ui.internal.actions.IgnoreAction"
145                label="%IgnoreAction_label"
146                menubarPath="team.main/group8"
147                tooltip="%IgnoreAction_tooltip"/>
148          <action
149                class="org.eclipse.egit.ui.internal.actions.AddToIndexAction"
150                icon="$nl$/icons/obj16/add.gif"
151                id="org.eclipse.egit.ui.internal.actions.AddToIndexAction"
152                label="%AddToIndexAction_label"
153                menubarPath="team.main/group9"
154                tooltip="%AddToIndexAction_tooltip"/>
155          <action
156                class="org.eclipse.egit.ui.internal.actions.DiscardChangesAction"
157                id="org.eclipse.egit.ui.internal.actions.DiscardChangesAction"
158                label="%DiscardChangesAction_label"
159                menubarPath="replaceWithMenu/gitReplaceWithGroup"
160                tooltip="%DiscardChangesAction_tooltip"/>
161          <action
162                class="org.eclipse.team.internal.ui.actions.ApplyPatchAction"
163                enablesFor="*"
164                id="org.eclipse.egit.ui.internal.actions.applyPatch"
165                label="%ApplyPatchAction_label"
166                menubarPath="team.main/group5"
167                overrideActionId="org.eclipse.team.ui.applyPatch">
168          </action>
169           </objectContribution>
170           <objectContribution
171          id="org.eclipse.egit.ui.resetto"
172          objectClass="org.eclipse.jgit.revwalk.RevCommit">
173          <action
174                class="org.eclipse.egit.ui.internal.actions.SoftResetToRevisionAction"
175                id="org.eclipse.egit.ui.softresettorevision"
176                label="%Soft_Reset_label"
177                menubarPath="org.eclipse.egit.ui.reset/reset"
178                enablesFor="1"
179                tooltip="%Soft_Reset_tooltip">
180          </action>
181          <action
182                class="org.eclipse.egit.ui.internal.actions.MixedResetToRevisionAction"
183                id="org.eclipse.egit.ui.mixedresettorevision"
184                label="%Mixed_Reset_label"
185                menubarPath="org.eclipse.egit.ui.reset/reset"
186                enablesFor="1"
187                tooltip="%Mixed_Reset_tooltip">
188          </action>
189          <action
190                class="org.eclipse.egit.ui.internal.actions.HardResetToRevisionAction"
191                id="org.eclipse.egit.ui.hardresettorevision"
192                label="%Hard_Reset_label"
193                menubarPath="org.eclipse.egit.ui.reset/reset"
194                enablesFor="1"
195                tooltip="%Hard_Reset_tooltip">
196          </action>
197          <action
198                class="org.eclipse.egit.ui.internal.actions.SetQuickdiffBaselineAction"
199                enablesFor="1"
200                id="org.eclipse.egit.ui.setquickdiffbaseline"
201                label="%Set_As_Quickdiff_Baseline_label"
202                menubarPath="org.eclipse.egit.ui.quickdiffbaseline/quickdiff">
203          </action>
204          <action
205                class="org.eclipse.egit.ui.internal.actions.ResetQuickdiffBaselineAction"
206                enablesFor="*"
207                id="org.eclipse.egit.ui.resetquickdiffbaseline"
208                label="%Reset_Quickdiff_Baseline_To_HEAD_label"
209                menubarPath="org.eclipse.egit.ui.quickdiffbaseline/quickdiff">
210          </action>
211          <action
212                class="org.eclipse.egit.ui.internal.actions.ResetQuickdiffBaselineHeadParentAction"
213                enablesFor="*"
214                id="org.eclipse.egit.ui.resetquickdiffheadparentbaseline"
215                label="%Reset_Quickdiff_Baseline_To_First_Parent_label"
216                menubarPath="org.eclipse.egit.ui.quickdiffbaseline/quickdiff">
217          </action>
218   <menu
219         id="org.eclipse.egit.ui.quickdiffbaseline"
220         label="%QuickDiffMenuName"
221         path="additions">
222      <groupMarker
223            name="quickdiff">
224      </groupMarker>
225   </menu>
226   <menu
227         id="org.eclipse.egit.ui.reset"
228         label="%ResetMenuName"
229         path="additions">
230      <groupMarker
231            name="reset">
232      </groupMarker>
233   </menu>
234           </objectContribution>
235           <objectContribution
236          adaptable="true"
237          id="org.eclipse.egit.ui.fileContributions"
238          objectClass="org.eclipse.core.resources.IFile">
239          <action
240                class="org.eclipse.egit.ui.internal.actions.CompareWithRevisionAction"
241                icon="$nl$/icons/obj16/history.gif"
242                id="org.eclipse.egit.ui.internal.actions.CompareWithRevisionAction"
243                label="%CompareWithRevisionAction_label"
244                menubarPath="compareWithMenu/gitCompareWithGroup"
245                tooltip="%CompareWithRevisionAction_tooltip"/>
246       </objectContribution>
247    </extension>
249    <extension
250          point="org.eclipse.core.runtime.adapters">
251          <factory
252                adaptableType="org.eclipse.egit.core.internal.storage.GitFileHistoryProvider"
253                class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
254             <adapter
255                   type="org.eclipse.team.ui.history.IHistoryPageSource">
256             </adapter>
257          </factory>
258          <factory
259                adaptableType="org.eclipse.core.resources.IResource"
260                class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
261             <adapter
262                   type="org.eclipse.team.ui.history.IHistoryPageSource">
263             </adapter>
264          </factory>
265    </extension>
267    <extension point="org.eclipse.ui.preferencePages">
268       <page name="%GitPreferences_name"
269             category="org.eclipse.team.ui.TeamPreferences"
270             class="org.eclipse.egit.ui.internal.preferences.GitPreferenceRoot"
271             id="org.eclipse.egit.ui.GitPreferences" />
273       <page name="%GitPreferences_HistoryPreferencePage_name"
274             category="org.eclipse.egit.ui.GitPreferences"
275             class="org.eclipse.egit.ui.internal.preferences.HistoryPreferencePage"
276             id="org.eclipse.egit.ui.internal.preferences.HistoryPreferencePage" >
277             <keywordReference
278                   id="org.eclipse.egit.ui.keyword.git">
279             </keywordReference>
280             </page>
281       <page name="%GitPreferences_WindowCachePreferencePage_name"
282             category="org.eclipse.egit.ui.GitPreferences"
283             class="org.eclipse.egit.ui.internal.preferences.WindowCachePreferencePage"
284             id="org.eclipse.egit.ui.internal.preferences.WindowCachePreferencePage" >
285             <keywordReference
286                   id="org.eclipse.egit.ui.keyword.git">
287             </keywordReference>
288       </page>
289           <page name="%GitPreferences_DecoratorPreferencePage_name"
290             category="org.eclipse.egit.ui.GitPreferences"
291             class="org.eclipse.egit.ui.internal.preferences.GitDecoratorPreferencePage"
292             id="org.eclipse.egit.ui.internal.preferences.GitDecoratorPreferencePage" >
293             <keywordReference
294                   id="org.eclipse.egit.ui.keyword.git">
295             </keywordReference>
296       </page>
297    </extension>
299    <extension point="org.eclipse.ui.propertyPages">
300       <page
301             name="%Git"
302             class="org.eclipse.egit.ui.internal.preferences.GitProjectPropertyPage"
303             id="org.eclipse.egit.ui.preferences.GitProjectPropertyPage">
304             <enabledWhen>
305                 <adapt type="org.eclipse.core.resources.IProject">
306                         <test
307                                 property="org.eclipse.core.resources.projectPersistentProperty"
308                                 args="org.eclipse.team.core.repository, org.eclipse.egit.core.GitProvider">
309                         </test>
310                 </adapt>
311             </enabledWhen>
312       </page>
313    </extension>
315    <extension point="org.eclipse.ui.keywords">
316           <keyword
317                         id="org.eclipse.egit.ui.keyword.git"
318                         label="%GitKeyword_label">
319           </keyword>
320    </extension>
322    <extension point="org.eclipse.ui.decorators">
323       <decorator
324             lightweight="true"
325             adaptable="true"
326             label="%Decorator_name"
327             class="org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator"
328             state="true"
329             location="BOTTOM_RIGHT"
330             id="org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator">
331             <enablement>
332               <objectClass name="org.eclipse.core.resources.IResource"/>
333             </enablement>
334          <description>
335             %Decorator_description
336          </description>
337       </decorator>
338    </extension>
340    <extension point="org.eclipse.ui.themes">
341       <themeElementCategory
342             id="org.eclipse.egit.ui.GitTheme"
343             label="%Theme_label"/>
344       <fontDefinition
345             id="org.eclipse.egit.ui.CommitGraphNormalFont"
346             categoryId="org.eclipse.egit.ui.GitTheme"
347             label="%Theme_CommitGraphNormalFont_label"
348             defaultsTo="org.eclipse.jface.dialogfont">
349          <description>
350             %Theme_CommitGraphNormalFont_description
351          </description>
352       </fontDefinition>
353       <fontDefinition
354             id="org.eclipse.egit.ui.CommitGraphHighlightFont"
355             categoryId="org.eclipse.egit.ui.GitTheme"
356             label="%Theme_CommitGraphHighlightFont_label"
357             defaultsTo="org.eclipse.jface.dialogfont">
358          <description>
359             %Theme_CommitGraphHighlightFont_description
360          </description>
361       </fontDefinition>
362       <fontDefinition
363             id="org.eclipse.egit.ui.CommitMessageFont"
364             categoryId="org.eclipse.egit.ui.GitTheme"
365             label="%Theme_CommitMessageFont_label"
366             defaultsTo="org.eclipse.jface.textfont">
367          <description>
368             %Theme_CommitMessageFont_description
369          </description>
370       </fontDefinition>
371         <colorDefinition
372         id="org.eclipse.egit.ui.UncommittedChangeForegroundColor"
373         categoryId="org.eclipse.egit.ui.GitTheme"
374         label="%Theme_UncommittedChangeForegroundColor_label"
375         value="COLOR_LIST_FOREGROUND">
376         <description>
377         %Theme_UncommittedChangeForegroundColor_description
378         </description>
379       </colorDefinition>
380       <colorDefinition
381         id="org.eclipse.egit.ui.UncommittedChangeBackgroundColor"
382         categoryId="org.eclipse.egit.ui.GitTheme"
383         label="%Theme_UncommittedChangeBackgroundColor_label"
384         value="COLOR_LIST_BACKGROUND">
385         <description>
386         %Theme_UncommittedChangeBackgroundColor_description
387         </description>
388       </colorDefinition>
389       <fontDefinition
390         id="org.eclipse.egit.ui.UncommittedChangeFont"
391         categoryId="org.eclipse.egit.ui.GitTheme"
392         label="%Theme_UncommittedChangeFont_label">
393         <description>
394         %Theme_UncommittedChangeFont_description
395         </description>
396       </fontDefinition>
397    </extension>
399 <!-- ********** QuickDiff text editor support ************** -->
400    <extension
401          point="org.eclipse.ui.workbench.texteditor.quickDiffReferenceProvider">
402       <referenceprovider
403             label="%GitRemoteQuickDiffProvider_label"
404             class="org.eclipse.egit.ui.internal.decorators.GitQuickDiffProvider"
405             id="org.eclipse.egit.ui.internal.decorators.GitQuickDiffProvider">
406       </referenceprovider>
407    </extension>
408    <extension
409          point="org.eclipse.ui.actionSets">
410       <actionSet
411             description="%GitActions_description"
412             id="org.eclipse.egit.ui.gitaction"
413             label="%GitActions_label"
414             visible="false"
415             >
416             <menu
417            id="org.eclipse.egit.ui.gitmenu"
418            label="%GitMenu_label"
419            path="additions"
420            >
421         <separator
422               name="repositoryGroup">
423         </separator>
424             </menu>
425                 <action
426         class="org.eclipse.egit.ui.internal.actions.FetchAction"
427         disabledIcon="icons/toolbar/fetchd.png"
428         icon="icons/toolbar/fetche.png"
429         id="org.eclipse.egit.ui.actionfetch"
430         label="%FetchAction_label"
431         menubarPath="org.eclipse.egit.ui.gitmenu/repo"
432         style="push"
433         toolbarPath="org.eclipse.egit.ui"
434         tooltip="%FetchAction_tooltip">
435                 </action>
436                 <action
437         class="org.eclipse.egit.ui.internal.actions.PushAction"
438         disabledIcon="icons/toolbar/pushd.png"
439         icon="icons/toolbar/pushe.png"
440         id="org.eclipse.egit.ui.actionpush"
441         label="%PushAction_label"
442         menubarPath="org.eclipse.egit.ui.gitmenu/repo"
443         style="push"
444         toolbarPath="org.eclipse.egit.ui"
445         tooltip="%PushAction_tooltip">
446                 </action>
447                 <action
448                        class="org.eclipse.egit.ui.internal.actions.BranchAction"
449                        disabledIcon="icons/toolbar/checkoutd.png"
450                        icon="icons/toolbar/checkoute.png"
451                        id="org.eclipse.egit.ui.actionbranch"
452                        label="%BranchAction_label"
453                        style="push"
454                        menubarPath="org.eclipse.egit.ui.gitmenu/repositoryGroup"
455                        toolbarPath="Normal/additions"
456                        tooltip="%BranchAction_tooltip">
457                 </action>
458                 <action
459                        class="org.eclipse.egit.ui.internal.actions.CommitAction"
460                        disabledIcon="icons/toolbar/commitd.png"
461                        icon="icons/toolbar/commite.png"
462                        id="org.eclipse.egit.ui.actioncommit"
463                        label="%CommitAction_label"
464                        style="push"
465                        menubarPath="org.eclipse.egit.ui.gitmenu/repositoryGroup"
466                        toolbarPath="Normal/additions"
467                        tooltip="%CommitAction_tooltip">
468                 </action>
469                 <action
470                        class="org.eclipse.egit.ui.internal.actions.ResetAction"
471                        disabledIcon="icons/toolbar/resetd.png"
472                        icon="icons/toolbar/resete.png"
473                        id="org.eclipse.egit.ui.actionreset"
474                        label="%ResetAction_label"
475                        style="push"
476                        menubarPath="org.eclipse.egit.ui.gitmenu/repositoryGroup"
477                        toolbarPath="Normal/additions"
478                        tooltip="%ResetAction_tooltip">
479                 </action>
480                 <action
481                        class="org.eclipse.egit.ui.internal.actions.Track"
482                        disabledIcon="icons/toolbar/trackd.png"
483                        icon="icons/toolbar/tracke.png"
484                        id="org.eclipse.egit.ui.trackaction"
485                        label="%TrackAction_label"
486                        style="push"
487                        menubarPath="org.eclipse.egit.ui.gitmenu/repositoryGroup"
488                        toolbarPath="Normal/additions"
489                        tooltip="%TrackAction_tooltip">
490                 </action>
491       </actionSet>
492    </extension>
493    <extension
494          point="org.eclipse.ui.commands">
495       <command
496             defaultHandler="org.eclipse.egit.ui.internal.commands.ShareSingleProjectCommand"
497             description="%ShareProjectCommand_desc"
498             id="org.eclipse.egit.ui.command.shareProject"
499             name="%ShareProjectCommand_name">
500          <commandParameter
501                id="org.eclipse.egit.ui.command.projectNameParameter"
502                name="%ShareProjectCommandParameter_name"
503                optional="false"
504                values="org.eclipse.egit.ui.internal.commands.ProjectNameParameterValues">
505          </commandParameter>
506       </command>
507    </extension>
508    <extension
509          point="org.eclipse.ui.views">
510       <view
511             category="org.eclipse.egit.ui.GitCategory"
512             class="org.eclipse.egit.ui.internal.repository.RepositoriesView"
513             icon="icons/eview16/repo_rep.gif"
514             id="org.eclipse.egit.ui.RepositoriesView"
515             name="%GitRepositoriesView_name"
516             restorable="true">
517       </view>
518       <category
519             id="org.eclipse.egit.ui.GitCategory"
520             name="%GitCategory_name">
521       </category>
522    </extension>
523    <extension
524          point="org.eclipse.ui.perspectives">
525       <perspective
526             class="org.eclipse.egit.ui.GitRepositoriesPerspectiveFactory"
527             icon="icons/obj16/gitrepository.gif"
528             id="org.eclipse.egit.ui.GitRepositoryExploring"
529             name="%GitRepositoryPerspective_name">
530       </perspective>
531    </extension>
532    <extension
533          point="org.eclipse.ui.perspectiveExtensions">
534       <perspectiveExtension
535             targetID="org.eclipse.ui.resourcePerspective">
536          <showInPart
537                id="org.eclipse.egit.ui.RepositoriesView">
538          </showInPart>
539       </perspectiveExtension>
540       <perspectiveExtension
541             targetID="org.eclipse.jdt.ui.JavaPerspective">
542          <showInPart
543                id="org.eclipse.egit.ui.RepositoriesView">
544          </showInPart>
545       </perspectiveExtension>
546       <perspectiveExtension
547             targetID="org.eclipse.debug.ui.DebugPerspective">
548          <showInPart
549                id="org.eclipse.egit.ui.RepositoriesView">
550          </showInPart>
551       </perspectiveExtension>
552       <perspectiveExtension
553             targetID="org.eclipse.pde.ui.PDEPerspective">
554          <showInPart
555                id="org.eclipse.egit.ui.RepositoriesView">
556          </showInPart>
557       </perspectiveExtension>
558    </extension>
559 </plugin>