FindBugs: Superclass uses subclass during initialization
[egit/chris.git] / org.spearce.egit.ui / plugin.xml
bloba94c8bc274b20d6bc96bbe624ada14fe32e320d0
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.spearce.egit.ui.PluginPreferenceInitializer"/>
6    </extension>
8    <extension point="org.eclipse.ui.importWizards">
9       <category name="%Git_clone_category"
10             id="org.spearce.egit.ui.internal.clone.gitclonecategory"/>
11       <wizard name="%Git_clone_wizard"
12             icon="icons/obj16/import_obj.gif"
13             class="org.spearce.egit.ui.internal.clone.GitCloneWizard"
14             id="org.spearce.egit.ui.internal.clone.GitCloneWizard"
15             category="org.spearce.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.spearce.egit.ui.internal.sharing.SharingWizard"
24             id="org.spearce.egit.ui.internal.sharing.SharingWizard">
25       </wizard>
26    </extension>
28    <extension point="org.eclipse.ui.popupMenus">
29       <objectContribution id="org.spearce.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.spearce.egit.core.GitProvider">
34          </filter>
35          <action
36                label="%DisconnectAction_label"
37                tooltip="%DisconnectAction_tooltip"
38                class="org.spearce.egit.ui.internal.actions.Disconnect"
39                menubarPath="team.main/projectGroup"
40                id="org.spearce.egit.ui.internal.actions.Disconnect">
41          </action>
42          <action
43                class="org.spearce.egit.ui.internal.actions.FetchAction"
44                id="org.spearce.egit.ui.internal.actions.FetchAction"
45                label="%FetchAction_label"
46                menubarPath="team.main/projectGroup"
47                tooltip="%FetchAction_tooltip"/>
48          <action
49                class="org.spearce.egit.ui.internal.actions.PushAction"
50                id="org.spearce.egit.ui.internal.actions.PushAction"
51                label="%PushAction_label"
52                menubarPath="team.main/projectGroup"
53                tooltip="%PushAction_tooltip"/>
54          <action
55                class="org.spearce.egit.ui.internal.actions.ResetAction"
56                id="org.spearce.egit.ui.internal.actions.ResetAction"
57                label="%ResetAction_label"
58                menubarPath="team.main/projectGroup"
59                tooltip="%ResetAction_tooltip">
60          </action>
61          <action
62                class="org.spearce.egit.ui.internal.actions.BranchAction"
63                id="org.spearce.egit.ui.internal.actions.BranchAction"
64                label="%BranchAction_label"
65                menubarPath="team.main/projectGroup"
66                tooltip="%BranchAction_tooltip"/>
67      </objectContribution>
68      <objectContribution
69             adaptable="true"
70             id="org.spearce.egit.ui.fileFolderContributions"
71             objectClass="org.eclipse.core.resources.IResource">
72          <filter name="projectPersistentProperty"
73                value="org.eclipse.team.core.repository=org.spearce.egit.core.GitProvider">
74          </filter>
75          <action
76                label="%UntrackAction_label"
77                class="org.spearce.egit.ui.internal.actions.Untrack"
78                tooltip="%UntrackAction_tooltip"
79                menubarPath="team.main/group1"
80                id="org.spearce.egit.ui.internal.actions.Untrack"/>   
81          <action
82                label="%TrackAction_label"
83                class="org.spearce.egit.ui.internal.actions.Track"
84                tooltip="%TrackAction_tooltip"
85                menubarPath="team.main/group1"
86                id="org.spearce.egit.ui.internal.actions.Track"/>
87          <action
88                label="%AssumeUnchangedAction_label"
89                class="org.spearce.egit.ui.internal.actions.AssumeUnchanged"
90                tooltip="%AssumeUnchangedAction_tooltip"
91                menubarPath="team.main/group1"
92                id="org.spearce.egit.ui.internal.actions.AssumeUnchanged"/>
93          <action
94                class="org.spearce.egit.ui.internal.actions.ShowResourceInHistoryAction"
95                id="org.spearce.egit.ui.internal.actions.ShowResourceInHistoryAction"
96                label="%ShowResourceInHistoryAction_label"
97                menubarPath="team.main/group1"
98                tooltip="%ShowResourceInHistoryAction_tooltip"/>
99          <action
100                class="org.spearce.egit.ui.internal.actions.Update"
101                id="org.spearce.egit.ui.internal.actions.Update"
102                label="%UpdateAction_label"
103                menubarPath="team.main/group1"
104                tooltip="%UpdateAction_tooltip"/>
105          <action
106                class="org.spearce.egit.ui.internal.actions.CommitAction"
107                id="org.spearce.egit.ui.internal.actions.CommitAction"
108                label="%CommitAction_label"
109                menubarPath="team.main/group1"
110                tooltip="%CommitAction_tooltip"/>
111          <action
112                class="org.spearce.egit.ui.internal.actions.CompareWithIndexAction"
113                id="org.spearce.egit.ui.internal.actions.CompareWithIndexAction"
114                label="%CompareWithIndexAction_label"
115                menubarPath="compareWithMenu/gitCompareWithGroup"
116                tooltip="&amp;CompareWithIndexAction_tooltip">
117          </action>
118           </objectContribution>
119           <objectContribution
120          id="org.spearce.egit.ui.resetto"
121          objectClass="org.spearce.jgit.revwalk.RevCommit">
122          <action
123                class="org.spearce.egit.ui.internal.actions.SoftResetToRevisionAction"
124                id="org.spearce.egit.ui.softresettorevision"
125                label="Soft Reset"
126                menubarPath="additions"
127                enablesFor="1"
128                tooltip="Resets HEAD but not working directory nor index">
129          </action>
130          <action
131                class="org.spearce.egit.ui.internal.actions.MixedResetToRevisionAction"
132                id="org.spearce.egit.ui.mixedresettorevision"
133                label="Mixed Reset"
134                menubarPath="additions"
135                enablesFor="1"
136                tooltip="Resets HEAD and index, but not working directory">
137          </action>
138          <action
139                class="org.spearce.egit.ui.internal.actions.HardResetToRevisionAction"
140                id="org.spearce.egit.ui.hardresettorevision"
141                label="Hard Reset"
142                menubarPath="additions"
143                enablesFor="1"
144                tooltip="Resets HEAD and index, and working directory (changed in tracked files will be lost)">
145          </action>
146          <action
147                class="org.spearce.egit.ui.internal.actions.SetQuickdiffBaselineAction"
148                enablesFor="1"
149                id="org.spearce.egit.ui.setquickdiffbaseline"
150                label="Set as quickdiff baseline"
151                menubarPath="additions">
152          </action>
153          <action
154                class="org.spearce.egit.ui.internal.actions.ResetQuickdiffBaselineAction"
155                enablesFor="*"
156                id="org.spearce.egit.ui.resetquickdiffbaseline"
157                label="Reset quickdiff baseline to HEAD"
158                menubarPath="additions">
159          </action>
160          <action
161                class="org.spearce.egit.ui.internal.actions.ResetQuickdiffBaselineHeadParentAction"
162                enablesFor="*"
163                id="org.spearce.egit.ui.resetquickdiffheadparentbaseline"
164                label="Reset quickdiff baseline to first parent of HEAD"
165                menubarPath="additions">
166          </action>
167           </objectContribution>
168    </extension>
170    <extension
171          point="org.eclipse.core.runtime.adapters">
172          <factory
173                adaptableType="org.spearce.egit.core.internal.storage.GitFileHistoryProvider"
174                class="org.spearce.egit.ui.internal.factories.GitAdapterFactory">
175             <adapter
176                   type="org.eclipse.team.ui.history.IHistoryPageSource">
177             </adapter>
178          </factory>
179          <factory
180                adaptableType="org.eclipse.core.resources.IResource"
181                class="org.spearce.egit.ui.internal.factories.GitAdapterFactory">
182             <adapter
183                   type="org.eclipse.team.ui.history.IHistoryPageSource">
184             </adapter>
185          </factory>
186    </extension>
187    
188    <extension point="org.eclipse.ui.preferencePages">
189       <page name="%GitPreferences_name"
190             category="org.eclipse.team.ui.TeamPreferences"
191             class="org.spearce.egit.ui.internal.preferences.GitPreferenceRoot"
192             id="org.spearce.egit.ui.GitPreferences" />
194       <page name="%GitPreferences_HistoryPreferencePage_name"
195             category="org.spearce.egit.ui.GitPreferences"
196             class="org.spearce.egit.ui.internal.preferences.HistoryPreferencePage"
197             id="org.spearce.egit.ui.internal.preferences.HistoryPreferencePage" >
198             <keywordReference
199                   id="org.spearce.egit.ui.keyword.git">
200             </keywordReference>
201             </page>
202       <page name="%GitPreferences_WindowCachePreferencePage_name"
203             category="org.spearce.egit.ui.GitPreferences"
204             class="org.spearce.egit.ui.internal.preferences.WindowCachePreferencePage"
205             id="org.spearce.egit.ui.internal.preferences.WindowCachePreferencePage" >
206             <keywordReference
207                   id="org.spearce.egit.ui.keyword.git">
208             </keywordReference>
209       </page>
210           <page name="%GitPreferences_DecoratorPreferencePage_name"
211             category="org.spearce.egit.ui.GitPreferences"
212             class="org.spearce.egit.ui.internal.preferences.GitDecoratorPreferencePage"
213             id="org.spearce.egit.ui.internal.preferences.GitDecoratorPreferencePage" >
214             <keywordReference
215                   id="org.spearce.egit.ui.keyword.git">
216             </keywordReference>
217       </page>
218    </extension>
220    <extension point="org.eclipse.ui.propertyPages">
221       <page
222             name="%Git"
223             class="org.spearce.egit.ui.internal.preferences.GitProjectPropertyPage"
224             id="org.spearce.egit.ui.preferences.GitProjectPropertyPage">
225             <enabledWhen>
226                 <adapt type="org.eclipse.core.resources.IProject">
227                         <test
228                     property="projectPersistentProperty org.eclipse.team.core.repository" value="org.spearce.egit.core.GitProvider">
229                         </test>
230                 </adapt>
231             </enabledWhen>
232          <filter
233                name="projectPersistentProperty"
234                value="org.eclipse.team.core.repository=org.spearce.egit.core.GitProvider">
235          </filter>
236       </page>
237    </extension>
239    <extension point="org.eclipse.ui.keywords">
240           <keyword
241                         id="org.spearce.egit.ui.keyword.git"
242                         label="git">
243           </keyword>
244    </extension>
246    <extension point="org.eclipse.ui.decorators">
247       <decorator
248             lightweight="true"
249             adaptable="true"
250             label="%Decorator_name"
251             class="org.spearce.egit.ui.internal.decorators.GitLightweightDecorator"
252             state="true"
253             location="BOTTOM_RIGHT"
254             id="org.spearce.egit.ui.internal.decorators.GitLightweightDecorator">
255             <enablement>
256               <objectClass name="org.eclipse.core.resources.IResource"/>
257             </enablement>
258          <description>
259             %Decorator_description
260          </description>
261       </decorator>
262    </extension>
264    <extension point="org.eclipse.ui.themes">
265       <themeElementCategory
266             id="org.spearce.egit.ui.GitTheme"
267             label="%Theme_label"/>
268       <fontDefinition
269             id="org.spearce.egit.ui.CommitGraphNormalFont"
270             categoryId="org.spearce.egit.ui.GitTheme"
271             label="%Theme_CommitGraphNormalFont_label"
272             defaultsTo="org.eclipse.jface.dialogfont">
273          <description>
274             %Theme_CommitGraphNormalFont_description
275          </description>
276       </fontDefinition>
277       <fontDefinition
278             id="org.spearce.egit.ui.CommitGraphHighlightFont"
279             categoryId="org.spearce.egit.ui.GitTheme"
280             label="%Theme_CommitGraphHighlightFont_label"
281             defaultsTo="org.eclipse.jface.dialogfont">
282          <description>
283             %Theme_CommitGraphHighlightFont_description
284          </description>
285       </fontDefinition>
286       <fontDefinition
287             id="org.spearce.egit.ui.CommitMessageFont"
288             categoryId="org.spearce.egit.ui.GitTheme"
289             label="%Theme_CommitMessageFont_label"
290             defaultsTo="org.eclipse.jface.textfont">
291          <description>
292             %Theme_CommitMessageFont_description
293          </description>
294       </fontDefinition>
295    </extension>
297 <!-- ********** QuickDiff text editor support ************** -->
298    <extension
299          point="org.eclipse.ui.workbench.texteditor.quickDiffReferenceProvider">
300       <referenceprovider
301             label="%GitRemoteQuickDiffProvider_label"
302             class="org.spearce.egit.ui.internal.decorators.GitQuickDiffProvider"
303             id="org.spearce.egit.ui.internal.decorators.GitQuickDiffProvider">
304       </referenceprovider>
305    </extension>
306    <extension
307          point="org.eclipse.ui.actionSets">
308       <actionSet
309             description="Common things to do with Git"
310             id="org.spearce.egit.ui.gitaction"
311             label="%GitActions_label"
312             visible="false"
313             >
314             <menu
315            id="org.spearce.egit.ui.gitmenu"
316            label="%GitMenu_label"
317            path="additions"
318            >
319         <separator
320               name="repositoryGroup">
321         </separator>
322             </menu>
323                 <action
324         class="org.spearce.egit.ui.internal.actions.FetchAction"
325         disabledIcon="icons/toolbar/fetchd.png"
326         icon="icons/toolbar/fetche.png"
327         id="org.spearce.egit.ui.actionfetch"
328         label="%FetchAction_label"
329         menubarPath="org.spearce.egit.ui.gitmenu/repo"
330         style="push"
331         toolbarPath="org.spearce.egit.ui"
332         tooltip="%FetchAction_tooltip">
333                 </action>
334                 <action
335         class="org.spearce.egit.ui.internal.actions.PushAction"
336         disabledIcon="icons/toolbar/pushd.png"
337         icon="icons/toolbar/pushe.png"
338         id="org.spearce.egit.ui.actionpush"
339         label="%PushAction_label"
340         menubarPath="org.spearce.egit.ui.gitmenu/repo"
341         style="push"
342         toolbarPath="org.spearce.egit.ui"
343         tooltip="%PushAction_tooltip">
344                 </action>
345                 <action
346                        class="org.spearce.egit.ui.internal.actions.BranchAction"
347                        disabledIcon="icons/toolbar/checkoutd.png"
348                        icon="icons/toolbar/checkoute.png"
349                        id="org.spearce.egit.ui.actionbranch"
350                        label="%BranchAction_label"
351                        style="push"
352                        menubarPath="org.spearce.egit.ui.gitmenu/repositoryGroup"
353                        toolbarPath="Normal/additions"
354                        tooltip="%BranchAction_tooltip">
355                 </action>
356                 <action
357                        class="org.spearce.egit.ui.internal.actions.CommitAction"
358                        disabledIcon="icons/toolbar/commitd.png"
359                        icon="icons/toolbar/commite.png"
360                        id="org.spearce.egit.ui.actioncommit"
361                        label="%CommitAction_label"
362                        style="push"
363                        menubarPath="org.spearce.egit.ui.gitmenu/repositoryGroup"
364                        toolbarPath="Normal/additions"
365                        tooltip="%CommitAction_tooltip">
366                 </action>
367                 <action
368                        class="org.spearce.egit.ui.internal.actions.ResetAction"
369                        disabledIcon="icons/toolbar/resetd.png"
370                        icon="icons/toolbar/resete.png"
371                        id="org.spearce.egit.ui.actionreset"
372                        label="%ResetAction_label"
373                        style="push"
374                        menubarPath="org.spearce.egit.ui.gitmenu/repositoryGroup"
375                        toolbarPath="Normal/additions"
376                        tooltip="%ResetAction_tooltip">
377                 </action>
378                 <action
379                        class="org.spearce.egit.ui.internal.actions.Track"
380                        disabledIcon="icons/toolbar/trackd.png"
381                        icon="icons/toolbar/tracke.png"
382                        id="org.spearce.egit.ui.trackaction"
383                        label="%TrackAction_label"
384                        style="push"
385                        menubarPath="org.spearce.egit.ui.gitmenu/repositoryGroup"
386                        toolbarPath="Normal/additions"
387                        tooltip="%TrackAction_tooltip">
388                 </action>
389       </actionSet>
390    </extension>
391 </plugin>