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