Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 1e39e3238b275e70c8c9c76792a5a2f11800990b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<!--
	Copyright (c) 2012, 2013 Eike Stepper (Berlin, Germany) and others.
	All rights reserved. This program and the accompanying materials
	are made available under the terms of the Eclipse Public License v1.0
	which accompanies this distribution, and is available at
	http://www.eclipse.org/legal/epl-v10.html

	Contributors:
	  Eike Stepper - initial API and implementation
-->

<plugin>

   <extension
         point="org.eclipse.ui.popupMenus">
      <objectContribution
            adaptable="true"
            id="org.eclipse.emf.cdo.releng.gitbash.contribution1"
            objectClass="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
         <action
               class="org.eclipse.emf.cdo.releng.gitbash.repository.CheckCopyrightsAction"
               enablesFor="1"
               icon="icons/Copyrights.gif"
               id="org.eclipse.emf.cdo.releng.gitbash.CheckCopyrightsAction"
               label="Check Copyrights"
               menubarPath="additions"
               state="true"
               style="push"
               tooltip="Search for files with missing copyrights"/>
         <action
               class="org.eclipse.emf.cdo.releng.gitbash.repository.UpdateCopyrightsAction"
               enablesFor="1"
               icon="icons/Copyrights.gif"
               id="org.eclipse.emf.cdo.releng.gitbash.UpdateCopyrightsAction"
               label="Update Copyrights"
               menubarPath="additions"
               state="true"
               style="push"
               tooltip="Update copyrights with years from git log"/>
         <action
               class="org.eclipse.emf.cdo.releng.gitbash.repository.GitCleanAction"
               enablesFor="1"
               icon="icons/gitbash.gif"
               id="org.eclipse.emf.cdo.releng.gitbash.GitCleanAction"
               label="Git Clean"
               menubarPath="additions"
               state="true"
               style="push"
               tooltip="Execute git clean -f -d"/>
         <action
               class="org.eclipse.emf.cdo.releng.gitbash.repository.GitResetHardAction"
               enablesFor="1"
               icon="icons/gitbash.gif"
               id="org.eclipse.emf.cdo.releng.gitbash.GitResetHardAction"
               label="Git Reset Hard"
               menubarPath="additions"
               state="true"
               style="push"
               tooltip="Execute git reset --hard"/>
         <action
               class="org.eclipse.emf.cdo.releng.gitbash.repository.GitAddAllAction"
               enablesFor="1"
               icon="icons/gitbash.gif"
               id="org.eclipse.emf.cdo.releng.gitbash.GitAddAllAction"
               label="Git Add All"
               menubarPath="additions"
               state="true"
               style="push"
               tooltip="Execute git add --all"/>
         <action
               class="org.eclipse.emf.cdo.releng.gitbash.repository.GitPullAction"
               enablesFor="1"
               icon="icons/gitbash.gif"
               id="org.eclipse.emf.cdo.releng.gitbash.repository.GitPullAction"
               label="Git Pull"
               menubarPath="additions"
               state="true"
               style="push"
               tooltip="Execute git pull"/>
         <action
               class="org.eclipse.emf.cdo.releng.gitbash.repository.GitStatusAction"
               enablesFor="1"
               icon="icons/gitbash.gif"
               id="org.eclipse.emf.cdo.releng.gitbash.GitStatusAction"
               label="Git Status"
               menubarPath="additions"
               state="true"
               style="push"
               tooltip="Execute git status"/>
         <action
               class="org.eclipse.emf.cdo.releng.gitbash.repository.GitBashAction"
               enablesFor="1"
               icon="icons/gitbash.gif"
               id="org.eclipse.emf.cdo.releng.gitbash.GitAction"
               label="Git Bash"
               menubarPath="additions"
               state="true"
               style="push"
               tooltip="Open Git Bash"/>
      </objectContribution>
      <objectContribution
            adaptable="false"
            id="org.eclipse.emf.cdo.releng.gitbash.contribution2"
            objectClass="org.eclipse.jgit.revwalk.RevObject">
         <action
               class="org.eclipse.emf.cdo.releng.gitbash.revision.GitRebaseAction"
               enablesFor="1"
               icon="icons/gitbash.gif"
               id="org.eclipse.emf.cdo.releng.gitbash.GitRebaseAction"
               label="Git Rebase"
               menubarPath="additions"
               state="true"
               style="push"
               tooltip="Execute git rebase"/>
         <action
               class="org.eclipse.emf.cdo.releng.gitbash.revision.GitCherryPickAction"
               enablesFor="1"
               icon="icons/gitbash.gif"
               id="org.eclipse.emf.cdo.releng.gitbash.revision.GitCherryPickAction"
               label="Git Cherry-Pick"
               menubarPath="additions"
               state="true"
               style="push"
               tooltip="Execute git cherry-pick -n"/>
      </objectContribution>
      <objectContribution
            adaptable="false"
            id="org.eclipse.emf.cdo.releng.gitbash.contribution3"
            objectClass="org.eclipse.mylyn.tasks.core.ITaskAttachment">
         <action
               class="org.eclipse.emf.cdo.releng.gitbash.GitApplyAction"
               enablesFor="1"
               icon="icons/apply-patch.gif"
               id="org.eclipse.emf.cdo.releng.gitbash.GitApplyAction"
               label="Apply Patch To Git"
               menubarPath="actions"
               style="pulldown"
               tooltip="Apply patch to a Git repository"/>
      </objectContribution>
   </extension>

</plugin>

Back to the top