[releng] Use spotbugs 3.1.5
[egit/eclipse.git] / org.eclipse.egit.gitflow.ui / plugin.xml
blob223a64f07f43dec3b5bf135f2b00444037e35251
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>
3 <plugin>
4         <extension
5                         point="org.eclipse.ui.menus">
6                 <menuContribution
7                                 locationURI="popup:org.eclipse.egit.ui.RepositoriesView?before=group.open">
8                         <separator
9                                         name="group.gitflow"
10                                         visible="true">
11                         </separator>
12                 </menuContribution>
13         </extension>
14         <extension
15                         point="org.eclipse.ui.menus">
16                 <menuContribution
17                                 locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=group.gitflow">
18                         <command
19                                         commandId="org.eclipse.egit.gitflow.ui.command.init"
20                                         icon="icons/obj16/gitflow.png"
21                                         label="%TeamGitFlowInit.name"
22                                         style="push">
23                                 <visibleWhen
24                                                 checkEnabled="false">
25                                         <and>
26                                                 <reference definitionId="org.eclipse.egit.gitflow.ui.commandEnabled" />
27                                                 <with variable="org.eclipse.egit.ui.currentRepository">
28                                                         <not>
29                                                                 <test
30                                                                                 forcePluginActivation="true"
31                                                                                 property="GitFlowRepository.isInitialized">
32                                                                 </test>
33                                                         </not>
34                                                 </with>
35                                         </and>
36                                 </visibleWhen>
37                         </command>
38                 </menuContribution>
39                 <menuContribution
40                                 locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=group.gitflow">
41                         <menu
42                                         icon="icons/obj16/gitflow.png"
43                                         label="%TeamGitFlowMenu.name">
44                                 <visibleWhen
45                                                 checkEnabled="false">
46                                         <with variable="org.eclipse.egit.ui.currentRepository">
47                                                 <test
48                                                                 forcePluginActivation="true"
49                                                                 property="GitFlowRepository.isInitialized">
50                                                 </test>
51                                         </with>
52                                 </visibleWhen>
53                                 <command
54                                                 commandId="org.eclipse.egit.gitflow.ui.command.featureStart"
55                                                 label="%TeamGitFlowFeatureStart.name"
56                                                 style="push">
57                                 </command>
58                                 <command
59                                                 commandId="org.eclipse.egit.gitflow.ui.command.featureFinish"
60                                                 label="%TeamGitFlowFeatureFinish.name"
61                                                 style="push">
62                                 </command>
63                                 <command
64                                                 commandId="org.eclipse.egit.gitflow.ui.command.featureRebase"
65                                                 label="%TeamGitFlowFeatureRebase.name"
66                                                 style="push">
67                                 </command>
68                                 <command
69                                                 commandId="org.eclipse.egit.gitflow.ui.command.featureCheckout"
70                                                 label="%TeamGitFlowFeatureCheckout.name"
71                                                 style="push">
72                                 </command>
73                                 <command
74                                                 commandId="org.eclipse.egit.gitflow.ui.command.featureTrack"
75                                                 label="%TeamGitFlowFeatureTrack.name"
76                                                 style="push">
77                                 </command>
78                                 <command
79                                                 commandId="org.eclipse.egit.gitflow.ui.command.featurePublish"
80                                                 label="%TeamGitFlowFeaturePublish.name"
81                                                 style="push">
82                                 </command>
83                                 <separator
84                                                 name="org.eclipse.egit.gitflow.ui.separator1"
85                                                 visible="true">
86                                 </separator>
87                                 <command
88                                                 commandId="org.eclipse.egit.gitflow.ui.command.releaseStart"
89                                                 label="%TeamGitFlowReleaseStart.name"
90                                                 style="push">
91                                 </command>
92                                 <command
93                                                 commandId="org.eclipse.egit.gitflow.ui.command.releaseFinish"
94                                                 label="%TeamGitFlowReleaseFinish.name"
95                                                 style="push">
96                                 </command>
97                                 <command
98                                                 commandId="org.eclipse.egit.gitflow.ui.command.releasePublish"
99                                                 label="%TeamGitFlowReleasePublish.name"
100                                                 style="push">
101                                 </command>
102                                 <separator
103                                                 name="org.eclipse.egit.gitflow.ui.separator2"
104                                                 visible="true">
105                                 </separator>
106                                 <command
107                                                 commandId="org.eclipse.egit.gitflow.ui.command.hotfixStart"
108                                                 label="%TeamGitFlowHotfixStart.name"
109                                                 style="push">
110                                 </command>
111                                 <command
112                                                 commandId="org.eclipse.egit.gitflow.ui.command.hotfixFinish"
113                                                 label="%TeamGitFlowHotfixFinish.name"
114                                                 style="push">
115                                 </command>
116                                 <command
117                                                 commandId="org.eclipse.egit.gitflow.ui.command.hotfixPublish"
118                                                 label="%TeamGitFlowHotfixPublish.name"
119                                                 style="push">
120                                 </command>
121                                 <separator
122                                                 name="org.eclipse.egit.gitflow.ui.separator3"
123                                                 visible="true">
124                                 </separator>
125                                 <command
126                                                 commandId="org.eclipse.egit.gitflow.ui.command.developCheckout"
127                                                 label="%TeamGitFlowDevelopCheckout.name"
128                                                 style="push">
129                                 </command>
130                         </menu>
131                 </menuContribution>
132         </extension>
133         <extension
134                         point="org.eclipse.ui.commands">
135                 <command
136                                 categoryId="org.eclipse.egit.ui.commandCategory"
137                                 id="org.eclipse.egit.gitflow.ui.command.init"
138                                 name="%TeamGitFlowInit.name">
139                 </command>
140                 <command
141                                 categoryId="org.eclipse.egit.ui.commandCategory"
142                                 id="org.eclipse.egit.gitflow.ui.command.featureStart"
143                                 name="%TeamGitFlowFeatureStart.name">
144                 </command>
145                 <command
146                                 categoryId="org.eclipse.egit.ui.commandCategory"
147                                 id="org.eclipse.egit.gitflow.ui.command.featureFinish"
148                                 name="%TeamGitFlowFeatureFinish.name">
149                 </command>
150                 <command
151                                 categoryId="org.eclipse.egit.ui.commandCategory"
152                                 id="org.eclipse.egit.gitflow.ui.command.releaseStart"
153                                 name="%TeamGitFlowReleaseStart.name">
154                 </command>
155                 <command
156                                 categoryId="org.eclipse.egit.ui.commandCategory"
157                                 id="org.eclipse.egit.gitflow.ui.command.releaseFinish"
158                                 name="%TeamGitFlowReleaseFinish.name">
159                 </command>
160                 <command
161                                 categoryId="org.eclipse.egit.ui.commandCategory"
162                                 id="org.eclipse.egit.gitflow.ui.command.featurePublish"
163                                 name="%TeamGitFlowFeaturePublish.name">
164                 </command>
165                 <command
166                                 categoryId="org.eclipse.egit.ui.commandCategory"
167                                 id="org.eclipse.egit.gitflow.ui.command.releasePublish"
168                                 name="%TeamGitFlowReleasePublish.name">
169                 </command>
170                 <command
171                                 categoryId="org.eclipse.egit.ui.commandCategory"
172                                 id="org.eclipse.egit.gitflow.ui.command.hotfixPublish"
173                                 name="%TeamGitFlowHotfixPublish.name">
174                 </command>
175                 <command
176                                 categoryId="org.eclipse.egit.ui.commandCategory"
177                                 id="org.eclipse.egit.gitflow.ui.command.featureTrack"
178                                 name="%TeamGitFlowFeatureTrack.name">
179                 </command>
180                 <command
181                                 categoryId="org.eclipse.egit.ui.commandCategory"
182                                 id="org.eclipse.egit.gitflow.ui.command.featureCheckout"
183                                 name="%TeamGitFlowFeatureCheckout.name">
184                 </command>
185                 <command
186                                 categoryId="org.eclipse.egit.ui.commandCategory"
187                                 id="org.eclipse.egit.gitflow.ui.command.featureRebase"
188                                 name="%TeamGitFlowFeatureRebase.name">
189                 </command>
190                 <command
191                                 categoryId="org.eclipse.egit.ui.commandCategory"
192                                 id="org.eclipse.egit.gitflow.ui.command.hotfixStart"
193                                 name="%TeamGitFlowHotfixStart.name">
194                 </command>
195                 <command
196                                 categoryId="org.eclipse.egit.ui.commandCategory"
197                                 id="org.eclipse.egit.gitflow.ui.command.hotfixFinish"
198                                 name="%TeamGitFlowHotfixFinish.name">
199                 </command>
200                 <command
201                                 categoryId="org.eclipse.egit.ui.commandCategory"
202                                 id="org.eclipse.egit.gitflow.ui.command.developCheckout"
203                                 name="%TeamGitFlowDevelopCheckout.name">
204                 </command>
205         </extension>
206         <extension
207                         point="org.eclipse.ui.handlers">
208                 <handler
209                                 commandId="org.eclipse.egit.gitflow.ui.command.init">
210                         <class
211                                         class="org.eclipse.egit.gitflow.ui.internal.actions.InitHandler">
212                         </class>
213                         <activeWhen>
214                                 <reference
215                                                 definitionId="org.eclipse.egit.gitflow.ui.commandEnabled">
216                                 </reference>
217                         </activeWhen>
218                 </handler>
219                 <handler
220                                 commandId="org.eclipse.egit.gitflow.ui.command.featureStart">
221                         <class
222                                         class="org.eclipse.egit.gitflow.ui.internal.actions.FeatureStartHandler">
223                         </class>
224                         <activeWhen>
225                                 <reference
226                                                 definitionId="org.eclipse.egit.gitflow.ui.commandEnabled">
227                                 </reference>
228                         </activeWhen>
229                         <enabledWhen>
230                                 <with variable="org.eclipse.egit.ui.currentRepository">
231                                         <test
232                                                         forcePluginActivation="true"
233                                                         property="GitFlowRepository.isInitialized">
234                                         </test>
235                                 </with>
236                         </enabledWhen>
237                 </handler>
238                 <handler
239                                 commandId="org.eclipse.egit.gitflow.ui.command.developCheckout">
240                         <class
241                                         class="org.eclipse.egit.gitflow.ui.internal.actions.DevelopCheckoutHandler">
242                         </class>
243                         <activeWhen>
244                                 <reference
245                                                 definitionId="org.eclipse.egit.gitflow.ui.commandEnabled">
246                                 </reference>
247                         </activeWhen>
248                         <enabledWhen>
249                                 <with variable="org.eclipse.egit.ui.currentRepository">
250                                         <not>
251                                                 <test
252                                                                 forcePluginActivation="true"
253                                                                 property="GitFlowRepository.isDevelop">
254                                                 </test>
255                                         </not>
256                                 </with>
257                         </enabledWhen>
258                 </handler>
259                 <handler
260                                 commandId="org.eclipse.egit.gitflow.ui.command.featureFinish">
261                         <class
262                                         class="org.eclipse.egit.gitflow.ui.internal.actions.FeatureFinishHandler">
263                         </class>
264                         <activeWhen>
265                                 <reference
266                                                 definitionId="org.eclipse.egit.gitflow.ui.commandEnabled">
267                                 </reference>
268                         </activeWhen>
269                         <enabledWhen>
270                                 <with variable="org.eclipse.egit.ui.currentRepository">
271                                         <test
272                                                         forcePluginActivation="true"
273                                                         property="GitFlowRepository.isFeature">
274                                         </test>
275                                 </with>
276                         </enabledWhen>
277                 </handler>
278                 <handler
279                                 commandId="org.eclipse.egit.gitflow.ui.command.releaseStart">
280                         <class
281                                         class="org.eclipse.egit.gitflow.ui.internal.actions.ReleaseStartHandler">
282                         </class>
283                         <activeWhen>
284                                 <reference
285                                                 definitionId="org.eclipse.egit.gitflow.ui.commandEnabled">
286                                 </reference>
287                         </activeWhen>
288                         <enabledWhen>
289                                 <with variable="org.eclipse.egit.ui.currentRepository">
290                                         <test
291                                                         forcePluginActivation="true"
292                                                         property="GitFlowRepository.isInitialized">
293                                         </test>
294                                 </with>
295                         </enabledWhen>
296                 </handler>
297                 <handler
298                                 commandId="org.eclipse.egit.gitflow.ui.command.releaseFinish">
299                         <class
300                                         class="org.eclipse.egit.gitflow.ui.internal.actions.ReleaseFinishHandler">
301                         </class>
302                         <activeWhen>
303                                 <reference
304                                                 definitionId="org.eclipse.egit.gitflow.ui.commandEnabled">
305                                 </reference>
306                         </activeWhen>
307                         <enabledWhen>
308                                 <with variable="org.eclipse.egit.ui.currentRepository">
309                                         <test
310                                                         forcePluginActivation="true"
311                                                         property="GitFlowRepository.isRelease">
312                                         </test>
313                                 </with>
314                         </enabledWhen>
315                 </handler>
316                 <handler
317                                 commandId="org.eclipse.egit.gitflow.ui.command.featurePublish">
318                         <class
319                                         class="org.eclipse.egit.gitflow.ui.internal.actions.FeaturePublishHandler">
320                         </class>
322                         <enabledWhen>
323                                 <with variable="org.eclipse.egit.ui.currentRepository">
324                                         <and>
325                                                 <test
326                                                                 forcePluginActivation="true"
327                                                                 property="GitFlowRepository.isFeature">
328                                                 </test>
329                                                 <test
330                                                                 forcePluginActivation="true"
331                                                                 property="GitFlowRepository.hasDefaultRemote">
332                                                 </test>
333                                         </and>
334                                 </with>
335                         </enabledWhen>
336                         <activeWhen>
337                                 <reference
338                                                 definitionId="org.eclipse.egit.gitflow.ui.commandEnabled">
339                                 </reference>
340                         </activeWhen>
341                 </handler>
342                 <handler
343                                 commandId="org.eclipse.egit.gitflow.ui.command.releasePublish">
344                         <class
345                                         class="org.eclipse.egit.gitflow.ui.internal.actions.ReleasePublishHandler">
346                         </class>
348                         <enabledWhen>
349                                 <with variable="org.eclipse.egit.ui.currentRepository">
350                                         <test
351                                                         forcePluginActivation="true"
352                                                         property="GitFlowRepository.isRelease">
353                                         </test>
354                                         <test
355                                                         forcePluginActivation="true"
356                                                         property="GitFlowRepository.hasDefaultRemote">
357                                         </test>
358                                 </with>
359                         </enabledWhen>
360                         <activeWhen>
361                                 <reference
362                                                 definitionId="org.eclipse.egit.gitflow.ui.commandEnabled">
363                                 </reference>
364                         </activeWhen>
365                 </handler>
366                 <handler
367                                 commandId="org.eclipse.egit.gitflow.ui.command.hotfixPublish">
368                         <class
369                                         class="org.eclipse.egit.gitflow.ui.internal.actions.HotfixPublishHandler">
370                         </class>
372                         <enabledWhen>
373                                 <with variable="org.eclipse.egit.ui.currentRepository">
374                                         <test
375                                                         forcePluginActivation="true"
376                                                         property="GitFlowRepository.isHotfix">
377                                         </test>
378                                         <test
379                                                         forcePluginActivation="true"
380                                                         property="GitFlowRepository.hasDefaultRemote">
381                                         </test>
382                                 </with>
383                         </enabledWhen>
384                         <activeWhen>
385                                 <reference
386                                                 definitionId="org.eclipse.egit.gitflow.ui.commandEnabled">
387                                 </reference>
388                         </activeWhen>
389                 </handler>
390                 <handler
391                                 commandId="org.eclipse.egit.gitflow.ui.command.featureTrack">
392                         <class
393                                         class="org.eclipse.egit.gitflow.ui.internal.actions.FeatureTrackHandler">
394                         </class>
395                         <activeWhen>
396                                 <reference
397                                                 definitionId="org.eclipse.egit.gitflow.ui.commandEnabled">
398                                 </reference>
399                         </activeWhen>
400                         <enabledWhen>
401                                 <with variable="org.eclipse.egit.ui.currentRepository">
402                                         <test
403                                                         forcePluginActivation="true"
404                                                         property="GitFlowRepository.hasDefaultRemote">
405                                         </test>
406                                 </with>
407                         </enabledWhen>
408                 </handler>
409                 <handler
410                                 commandId="org.eclipse.egit.gitflow.ui.command.featureCheckout">
411                         <class
412                                         class="org.eclipse.egit.gitflow.ui.internal.actions.FeatureCheckoutHandler">
413                         </class>
414                         <activeWhen>
415                                 <reference
416                                                 definitionId="org.eclipse.egit.gitflow.ui.commandEnabled">
417                                 </reference>
418                         </activeWhen>
419                         <enabledWhen>
420                                 <with variable="org.eclipse.egit.ui.currentRepository">
421                                         <test
422                                                         forcePluginActivation="true"
423                                                         property="GitFlowRepository.isInitialized">
424                                         </test>
425                                 </with>
426                         </enabledWhen>
427                 </handler>
428                 <handler
429                                 commandId="org.eclipse.egit.gitflow.ui.command.featureRebase">
430                         <class
431                                         class="org.eclipse.egit.gitflow.ui.internal.actions.FeatureRebaseHandler">
432                         </class>
433                         <activeWhen>
434                                 <reference
435                                                 definitionId="org.eclipse.egit.gitflow.ui.commandEnabled">
436                                 </reference>
437                         </activeWhen>
438                         <enabledWhen>
439                                 <with variable="org.eclipse.egit.ui.currentRepository">
440                                         <test
441                                                         forcePluginActivation="true"
442                                                         property="GitFlowRepository.isFeature">
443                                         </test>
444                                 </with>
445                         </enabledWhen>
446                 </handler>
447                 <handler
448                                 commandId="org.eclipse.egit.gitflow.ui.command.hotfixStart">
449                         <class
450                                         class="org.eclipse.egit.gitflow.ui.internal.actions.HotfixStartHandler">
451                         </class>
452                         <activeWhen>
453                                 <reference
454                                                 definitionId="org.eclipse.egit.gitflow.ui.commandEnabled">
455                                 </reference>
456                         </activeWhen>
457                         <enabledWhen>
458                                 <with variable="org.eclipse.egit.ui.currentRepository">
459                                         <test
460                                                         forcePluginActivation="true"
461                                                         property="GitFlowRepository.isInitialized">
462                                         </test>
463                                 </with>
464                         </enabledWhen>
465                 </handler>
466                 <handler
467                                 commandId="org.eclipse.egit.gitflow.ui.command.hotfixFinish">
468                         <class
469                                         class="org.eclipse.egit.gitflow.ui.internal.actions.HotfixFinishHandler">
470                         </class>
471                         <activeWhen>
472                                 <reference
473                                                 definitionId="org.eclipse.egit.gitflow.ui.commandEnabled">
474                                 </reference>
475                         </activeWhen>
476                         <enabledWhen>
477                                 <with variable="org.eclipse.egit.ui.currentRepository">
478                                         <test
479                                                         forcePluginActivation="true"
480                                                         property="GitFlowRepository.isHotfix">
481                                         </test>
482                                 </with>
483                         </enabledWhen>
484                 </handler>
485         </extension>
486         <extension
487                         point="org.eclipse.core.expressions.propertyTesters">
488                 <propertyTester
489                                 class="org.eclipse.egit.gitflow.ui.internal.properties.RepositoryPropertyTester"
490                                 id="org.eclipse.egit.gitflow.ui.propertyTester"
491                                 namespace="GitFlowRepository"
492                                 properties="isFeature,isRelease,isHotfix,isDevelop,isMaster,isInitialized,hasDefaultRemote"
493                                 type="java.lang.String">
494                 </propertyTester>
495         </extension>
497         <extension
498                         point="org.eclipse.core.expressions.definitions">
499                 <definition
500                                 id="org.eclipse.egit.gitflow.ui.commandEnabled">
501                         <or>
502                                 <reference
503                                                 definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
504                                 </reference>
505                                 <and>
506                                         <count
507                                                         value="1">
508                                         </count>
509                                         <iterate>
510                                                 <and>
511                                                         <instanceof
512                                                                         value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode">
513                                                         </instanceof>
514                                                         <not>
515                                                                 <test
516                                                                                 property="GitRepository.isBare">
517                                                                 </test>
518                                                         </not>
519                                                 </and>
520                                         </iterate>
521                                 </and>
522                         </or>
523                 </definition>
524         </extension>
525         <extension
526                         point="org.eclipse.core.runtime.adapters">
527                 <factory adaptableType="org.eclipse.core.resources.IResource"
528                                 class="org.eclipse.egit.gitflow.ui.internal.factories.GitFlowAdapterFactory">
529                         <adapter type="org.eclipse.jgit.lib.Repository"/>
530                 </factory>
531         </extension>
532         <extension
533                         point="org.eclipse.core.runtime.adapters">
534                 <factory adaptableType="org.eclipse.team.ui.history.IHistoryView"
535                                 class="org.eclipse.egit.gitflow.ui.internal.factories.GitFlowAdapterFactory">
536                         <adapter type="org.eclipse.jgit.lib.Repository"/>
537                 </factory>
538         </extension>
539         <extension
540                         point="org.eclipse.core.runtime.adapters">
541                 <factory adaptableType="org.eclipse.jface.viewers.ISelection"
542                                 class="org.eclipse.egit.gitflow.ui.internal.factories.GitFlowAdapterFactory">
543                         <adapter type="org.eclipse.jgit.lib.Repository"/>
544                 </factory>
545         </extension>
547         <extension
548                         point="org.eclipse.ui.menus">
549                 <menuContribution
550                                 locationURI="popup:team.main?after=group11">
551                         <menu
552                                         icon="icons/obj16/gitflow.png"
553                                         label="%TeamGitFlowMenu.name">
554                                 <visibleWhen
555                                                 checkEnabled="false">
556                                         <and>
557                                                 <reference definitionId="org.eclipse.egit.ui.resourcesSingleRepository" />
558                                                 <with variable="org.eclipse.egit.ui.currentRepository">
559                                                         <test
560                                                                         forcePluginActivation="true"
561                                                                         property="GitFlowRepository.isInitialized">
562                                                         </test>
563                                                 </with>
564                                         </and>
565                                 </visibleWhen>
566                                 <command
567                                                 commandId="org.eclipse.egit.gitflow.ui.command.featureStart"
568                                                 label="%TeamGitFlowFeatureStart.name"
569                                                 style="push">
570                                 </command>
571                                 <command
572                                                 commandId="org.eclipse.egit.gitflow.ui.command.featureFinish"
573                                                 label="%TeamGitFlowFeatureFinish.name"
574                                                 style="push">
575                                 </command>
576                                 <command
577                                                 commandId="org.eclipse.egit.gitflow.ui.command.featureRebase"
578                                                 label="%TeamGitFlowFeatureRebase.name"
579                                                 style="push">
580                                 </command>
581                                 <command
582                                                 commandId="org.eclipse.egit.gitflow.ui.command.featureCheckout"
583                                                 label="%TeamGitFlowFeatureCheckout.name"
584                                                 style="push">
585                                 </command>
586                                 <command
587                                                 commandId="org.eclipse.egit.gitflow.ui.command.featureTrack"
588                                                 label="%TeamGitFlowFeatureTrack.name"
589                                                 style="push">
590                                 </command>
591                                 <command
592                                                 commandId="org.eclipse.egit.gitflow.ui.command.featurePublish"
593                                                 label="%TeamGitFlowFeaturePublish.name"
594                                                 style="push">
595                                 </command>
596                                 <separator
597                                                 name="org.eclipse.egit.gitflow.ui.team.separator1"
598                                                 visible="true">
599                                 </separator>
600                                 <command
601                                                 commandId="org.eclipse.egit.gitflow.ui.command.releaseStart"
602                                                 label="%TeamGitFlowReleaseStart.name"
603                                                 style="push">
604                                 </command>
605                                 <command
606                                                 commandId="org.eclipse.egit.gitflow.ui.command.releaseFinish"
607                                                 label="%TeamGitFlowReleaseFinish.name"
608                                                 style="push">
609                                 </command>
610                                 <command
611                                                 commandId="org.eclipse.egit.gitflow.ui.command.releasePublish"
612                                                 label="%TeamGitFlowReleasePublish.name"
613                                                 style="push">
614                                 </command>
615                                 <separator
616                                                 name="org.eclipse.egit.gitflow.ui.team.separator2"
617                                                 visible="true">
618                                 </separator>
619                                 <command
620                                                 commandId="org.eclipse.egit.gitflow.ui.command.hotfixStart"
621                                                 label="%TeamGitFlowHotfixStart.name"
622                                                 style="push">
623                                 </command>
624                                 <command
625                                                 commandId="org.eclipse.egit.gitflow.ui.command.hotfixFinish"
626                                                 label="%TeamGitFlowHotfixFinish.name"
627                                                 style="push">
628                                 </command>
629                                 <command
630                                                 commandId="org.eclipse.egit.gitflow.ui.command.hotfixPublish"
631                                                 label="%TeamGitFlowHotfixPublish.name"
632                                                 style="push">
633                                 </command>
634                                 <separator
635                                                 name="org.eclipse.egit.gitflow.ui.separator3"
636                                                 visible="true">
637                                 </separator>
638                                 <command
639                                                 commandId="org.eclipse.egit.gitflow.ui.command.developCheckout"
640                                                 label="%TeamGitFlowDevelopCheckout.name"
641                                                 style="push">
642                                 </command>
643                         </menu>
644                 </menuContribution>
645                 <menuContribution
646                                 locationURI="popup:team.main?after=group11">
647                         <command
648                                         commandId="org.eclipse.egit.gitflow.ui.command.init"
649                                         icon="icons/obj16/gitflow.png"
650                                         label="%TeamGitFlowInit.name"
651                                         style="push">
652                                 <visibleWhen
653                                                 checkEnabled="false">
654                                         <and>
655                                                 <reference definitionId="org.eclipse.egit.ui.resourcesSingleRepository" />
656                                                 <with variable="org.eclipse.egit.ui.currentRepository">
657                                                         <not>
658                                                                 <test
659                                                                                 forcePluginActivation="true"
660                                                                                 property="GitFlowRepository.isInitialized">
661                                                                 </test>
662                                                         </not>
663                                                 </with>
664                                         </and>
665                                 </visibleWhen>
666                         </command>
667                 </menuContribution>
668         </extension>
669         <extension
670                         point="org.eclipse.ui.menus">
671                 <menuContribution
672                                 allPopups="false"
673                                 locationURI="popup:org.eclipse.egit.ui.historyPageContributions?after=additions">
674                         <menu
675                                         icon="icons/obj16/gitflow.png"
676                                         label="%TeamGitFlowMenu.name">
677                                 <dynamic
678                                                 class="org.eclipse.egit.gitflow.ui.internal.menu.DynamicHistoryMenu"
679                                                 id="org.eclipse.egit.gitflow.menu.history">
680                                         <visibleWhen
681                                                         checkEnabled="false">
682                                                 <with variable="org.eclipse.egit.ui.currentRepository">
683                                                         <test
684                                                                         forcePluginActivation="true"
685                                                                         property="GitFlowRepository.isInitialized">
686                                                         </test>
687                                                 </with>
688                                         </visibleWhen>
689                                 </dynamic>
690                         </menu>
691                 </menuContribution>
692         </extension>
693         <extension point="org.eclipse.ui.decorators">
694                 <decorator
695                                 lightweight="true"
696                                 adaptable="true"
697                                 label="%Decorator_name"
698                                 class="org.eclipse.egit.gitflow.ui.internal.decorators.GitFlowLightweightDecorator"
699                                 state="true"
700                                 location="TOP_RIGHT"
701                                 id="org.eclipse.egit.gitflow.ui.internal.decorators.GitflowLightweightDecorator">
702                         <enablement>
703                                 <objectClass name="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode"/>
704                         </enablement>
705                         <description>
706                                 %Decorator_description
707                         </description>
708                 </decorator>
709         </extension>
710         <extension
711                         point="org.eclipse.ui.menus">
712                 <menuContribution
713                                 allPopups="false"
714                                 locationURI="popup:replaceWithMenu?after=gitReplaceWithGroup">
715                         <command
716                                         commandId="org.eclipse.egit.gitflow.ui.command.replaceWithDevelop"
717                                         icon="icons/obj16/gitflow.png"
718                                         label="%TeamGitFlowDevelopReplace.label"
719                                         style="push">
720                                 <visibleWhen
721                                                 checkEnabled="false">
722                                         <and>
723                         <with variable="activeMenu">
724                             <not>
725                                 <iterate operator="or">
726                                     <or>
727                                         <equals value="#AbstractTextEditorRulerContext" />
728                                         <equals value="#OverviewRulerContext" />
729                                     </or>
730                                 </iterate>
731                             </not>
732                         </with>
733                                                 <with variable="org.eclipse.egit.ui.currentRepository">
734                                                         <test
735                                                                         forcePluginActivation="true"
736                                                                         property="GitFlowRepository.isInitialized">
737                                                         </test>
738                                                 </with>
739                                                 <reference
740                                                                 definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
741                                                 </reference>
742                                                 <reference
743                                                                 definitionId="org.eclipse.egit.ui.resourcesAllInRepository">
744                                                 </reference>
745                                         </and>
746                                 </visibleWhen>
747                         </command>
748                 </menuContribution>
749                 <menuContribution
750                                 allPopups="false"
751                                 locationURI="popup:compareWithMenu?after=gitCompareWithGroup">
752                         <command
753                                         commandId="org.eclipse.egit.gitflow.ui.command.compareWithDevelop"
754                                         icon="icons/obj16/gitflow.png"
755                                         label="%TeamGitFlowDevelopCompare.label"
756                                         style="push">
757                                 <visibleWhen
758                                                 checkEnabled="false">
759                                         <and>
760                         <with variable="activeMenu">
761                             <not>
762                                 <iterate operator="or">
763                                     <or>
764                                         <equals value="#AbstractTextEditorRulerContext" />
765                                         <equals value="#OverviewRulerContext" />
766                                     </or>
767                                 </iterate>
768                             </not>
769                         </with>
770                                                 <with variable="org.eclipse.egit.ui.currentRepository">
771                                                         <test
772                                                                         forcePluginActivation="true"
773                                                                         property="GitFlowRepository.isInitialized">
774                                                         </test>
775                                                 </with>
776                                                 <reference
777                                                                 definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
778                                                 </reference>
779                                                 <reference
780                                                                 definitionId="org.eclipse.egit.ui.resourcesAllInRepository">
781                                                 </reference>
782                                         </and>
783                                 </visibleWhen>
784                         </command>
785                 </menuContribution>
786         </extension>
787         <extension
788                         point="org.eclipse.ui.commands">
789                 <command
790                                 categoryId="org.eclipse.egit.ui.commandCategory"
791                                 id="org.eclipse.egit.gitflow.ui.command.replaceWithDevelop"
792                                 name="%TeamGitFlowDevelopReplace.name">
793                 </command>
794                 <command
795                                 categoryId="org.eclipse.egit.ui.commandCategory"
796                                 id="org.eclipse.egit.gitflow.ui.command.compareWithDevelop"
797                                 name="%TeamGitFlowDevelopCompare.name">
798                 </command>
799         </extension>
800         <extension
801                         point="org.eclipse.ui.handlers">
802                 <handler
803                                 commandId="org.eclipse.egit.gitflow.ui.command.replaceWithDevelop">
804                         <class
805                                         class="org.eclipse.egit.gitflow.ui.internal.actions.DevelopReplaceHandler">
806                         </class>
807                         <activeWhen>
808                                 <reference
809                                                 definitionId="org.eclipse.egit.gitflow.ui.commandEnabled">
810                                 </reference>
811                         </activeWhen>
812                         <enabledWhen>
813                                 <with variable="org.eclipse.egit.ui.currentRepository">
814                                         <not>
815                                                 <test
816                                                                 forcePluginActivation="true"
817                                                                 property="GitFlowRepository.isDevelop">
818                                                 </test>
819                                         </not>
821                                 </with>
822                         </enabledWhen>
823                 </handler>
824                 <handler
825                                 commandId="org.eclipse.egit.gitflow.ui.command.compareWithDevelop">
826                         <class
827                                         class="org.eclipse.egit.gitflow.ui.internal.actions.DevelopCompareHandler">
828                         </class>
829                         <activeWhen>
830                                 <reference
831                                                 definitionId="org.eclipse.egit.gitflow.ui.commandEnabled">
832                                 </reference>
833                         </activeWhen>
834                         <enabledWhen>
835                                 <with variable="org.eclipse.egit.ui.currentRepository">
836                                         <not>
837                                                 <test
838                                                                 forcePluginActivation="true"
839                                                                 property="GitFlowRepository.isDevelop">
840                                                 </test>
841                                         </not>
843                                 </with>
844                         </enabledWhen>
845                 </handler>
846         </extension>
847 </plugin>