Use RefUpdate when changing HEAD
[egit/zawir.git] / org.spearce.egit.ui / plugin.xml
blobc71c763a1c0b22ee06a10dd490ad5e7184404ff8
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/etool16/import_wiz.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/sharing.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.ResetAction"
44                id="org.spearce.egit.ui.internal.actions.ResetAction"
45                label="%ResetAction_label"
46                menubarPath="team.main/projectGroup"
47                tooltip="%ResetAction_tooltip">
48          </action>
49          <action
50                class="org.spearce.egit.ui.internal.actions.BranchAction"
51                id="org.spearce.egit.ui.internal.actions.BranchAction"
52                label="%BranchAction_label"
53                menubarPath="team.main/projectGroup"
54                tooltip="%BranchAction_tooltip"/>
55      </objectContribution>
56      <objectContribution
57             adaptable="true"
58             id="org.spearce.egit.ui.fileFolderContributions"
59             objectClass="org.eclipse.core.resources.IResource">
60          <filter name="projectPersistentProperty"
61                value="org.eclipse.team.core.repository=org.spearce.egit.core.GitProvider">
62          </filter>
63          <action
64                label="%UntrackAction_label"
65                class="org.spearce.egit.ui.internal.actions.Untrack"
66                tooltip="%UntrackAction_tooltip"
67                menubarPath="team.main/group1"
68                id="org.spearce.egit.ui.internal.actions.Untrack"/>   
69          <action
70                label="%TrackAction_label"
71                class="org.spearce.egit.ui.internal.actions.Track"
72                tooltip="%TrackAction_tooltip"
73                menubarPath="team.main/group1"
74                id="org.spearce.egit.ui.internal.actions.Track"/>
75          <action
76                label="%AssumeUnchangedAction_label"
77                class="org.spearce.egit.ui.internal.actions.AssumeUnchanged"
78                tooltip="%AssumeUnchangedAction_tooltip"
79                menubarPath="team.main/group1"
80                id="org.spearce.egit.ui.internal.actions.AssumeUnchanged"/>
81          <action
82                class="org.spearce.egit.ui.internal.actions.ShowResourceInHistoryAction"
83                id="org.spearce.egit.ui.internal.actions.ShowResourceInHistoryAction"
84                label="%ShowResourceInHistoryAction_label"
85                menubarPath="team.main/group1"
86                tooltip="%ShowResourceInHistoryAction_tooltip"/>
87          <action
88                class="org.spearce.egit.ui.internal.actions.Update"
89                id="org.spearce.egit.ui.internal.actions.Update"
90                label="%UpdateAction_label"
91                menubarPath="team.main/group1"
92                tooltip="%UpdateAction_tooltip"/>
93          <action
94                class="org.spearce.egit.ui.internal.actions.CommitAction"
95                id="org.spearce.egit.ui.internal.actions.CommitAction"
96                label="%CommitAction_label"
97                menubarPath="team.main/group1"
98                tooltip="%CommitAction_tooltip"/>
99           </objectContribution>
100       <objectContribution
101             objectClass="org.eclipse.core.resources.IFile"
102             adaptable="true"
103             id="org.spearce.egit.ui.IFileContributions">
104          <filter name="projectPersistentProperty"
105                value="org.eclipse.team.core.repository=org.spearce.egit.core.GitProvider">
106          </filter>
107       </objectContribution>
108    </extension>
110    <extension
111          point="org.eclipse.core.runtime.adapters">
112          <factory
113                adaptableType="org.spearce.egit.core.internal.storage.GitFileHistoryProvider"
114                class="org.spearce.egit.ui.internal.factories.GitAdapterFactory">
115             <adapter
116                   type="org.eclipse.team.ui.history.IHistoryPageSource">
117             </adapter>
118          </factory>
119          <factory
120                adaptableType="org.eclipse.core.internal.resources.Resource"
121                class="org.spearce.egit.ui.internal.factories.GitAdapterFactory">
122             <adapter
123                   type="org.eclipse.team.ui.history.IHistoryPageSource">
124             </adapter>
125          </factory>
126    </extension>
127    
128    <extension point="org.eclipse.ui.preferencePages">
129       <page name="%GitPreferences_name"
130             category="org.eclipse.team.ui.TeamPreferences"
131             class="org.spearce.egit.ui.internal.preferences.GitPreferenceRoot"
132             id="org.spearce.egit.ui.GitPreferences" />
134       <page name="%GitPreferences_HistoryPreferencePage_name"
135             category="org.eclipse.team.ui.TeamPreferences/org.spearce.egit.ui.GitPreferences"
136             class="org.spearce.egit.ui.internal.preferences.HistoryPreferencePage"
137             id="org.spearce.egit.ui.internal.preferences.HistoryPreferencePage" />
138       <page name="%GitPreferences_WindowCachePreferencePage_name"
139             category="org.eclipse.team.ui.TeamPreferences/org.spearce.egit.ui.GitPreferences"
140             class="org.spearce.egit.ui.internal.preferences.WindowCachePreferencePage"
141             id="org.spearce.egit.ui.internal.preferences.WindowCachePreferencePage" />
142    </extension>
144    <extension point="org.eclipse.ui.decorators">
145       <decorator
146             lightweight="true"
147             adaptable="true"
148             label="%Decorator_name"
149             class="org.spearce.egit.ui.internal.decorators.GitResourceDecorator"
150             state="true"
151             location="BOTTOM_RIGHT"
152             id="org.spearce.egit.ui.internal.decorators.GitResourceDecorator">
153             <enablement>
154               <objectClass name="org.eclipse.core.resources.IResource"/>
155             </enablement>
156          <description>
157             %Decorator_description
158          </description>
159       </decorator>
160    </extension>
162    <extension point="org.eclipse.ui.themes">
163       <themeElementCategory
164             id="org.spearce.egit.ui.GitTheme"
165             label="%Theme_label"/>
166       <fontDefinition
167             id="org.spearce.egit.ui.CommitGraphNormalFont"
168             categoryId="org.spearce.egit.ui.GitTheme"
169             label="%Theme_CommitGraphNormalFont_label"
170             defaultsTo="org.eclipse.jface.dialogfont">
171          <description>
172             %Theme_CommitGraphNormalFont_description
173          </description>
174       </fontDefinition>
175       <fontDefinition
176             id="org.spearce.egit.ui.CommitGraphHighlightFont"
177             categoryId="org.spearce.egit.ui.GitTheme"
178             label="%Theme_CommitGraphHighlightFont_label"
179             defaultsTo="org.eclipse.jface.dialogfont">
180          <description>
181             %Theme_CommitGraphHighlightFont_description
182          </description>
183       </fontDefinition>
184       <fontDefinition
185             id="org.spearce.egit.ui.CommitMessageFont"
186             categoryId="org.spearce.egit.ui.GitTheme"
187             label="%Theme_CommitMessageFont_label"
188             defaultsTo="org.eclipse.jface.textfont">
189          <description>
190             %Theme_CommitMessageFont_description
191          </description>
192       </fontDefinition>
193    </extension>
195 <!-- ********** QuickDiff text editor support ************** -->
196    <extension
197          point="org.eclipse.ui.workbench.texteditor.quickDiffReferenceProvider">
198       <referenceprovider
199             label="%GitRemoteQuickDiffProvider_label"
200             class="org.spearce.egit.ui.internal.decorators.GitQuickDiffProvider"
201             id="org.spearce.egit.ui.internal.decorators.GitQuickDiffProvider">
202       </referenceprovider>
203    </extension>
204    <extension
205          point="org.eclipse.ui.actionSets">
206       <actionSet
207             description="Common things to do with Git"
208             id="org.spearce.egit.ui.gitaction"
209             label="%GitActions_label"
210             visible="true"
211             >
212             <menu
213            id="org.spearce.egit.ui.gitmenu"
214            label="%GitMenu_label"
215            path="org.spearce.egit.ui.gitmenu"
216            >
217             </menu>
218                 <action
219                        class="org.spearce.egit.ui.internal.actions.BranchAction"
220                        disabledIcon="icons/toolbar/checkoutd.png"
221                        icon="icons/toolbar/checkoute.png"
222                        id="org.spearce.egit.ui.actionbranch"
223                        label="%BranchAction_label"
224                        style="push"
225                        menubarPath="org.spearce.egit.ui.gitmenu/repo"
226                        toolbarPath="org.spearce.egit.ui"
227                        tooltip="%BranchAction_tooltip">
228                 </action>
229                 <action
230                        class="org.spearce.egit.ui.internal.actions.CommitAction"
231                        disabledIcon="icons/toolbar/commitd.png"
232                        icon="icons/toolbar/commite.png"
233                        id="org.spearce.egit.ui.actioncommit"
234                        label="%CommitAction_label"
235                        style="push"
236                        menubarPath="org.spearce.egit.ui.gitmenu/repo"
237                        toolbarPath="org.spearce.egit.ui"
238                        tooltip="%CommitAction_tooltip">
239                 </action>
240                 <action
241                        class="org.spearce.egit.ui.internal.actions.ResetAction"
242                        disabledIcon="icons/toolbar/resetd.png"
243                        icon="icons/toolbar/resete.png"
244                        id="org.spearce.egit.ui.actionreset"
245                        label="%ResetAction_label"
246                        style="push"
247                        menubarPath="org.spearce.egit.ui.gitmenu/repo"
248                        toolbarPath="org.spearce.egit.ui"
249                        tooltip="%ResetAction_tooltip">
250                 </action>
251       </actionSet>
252    </extension>
253 </plugin>