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