blob: c1245cdbfd7f72b09e4907533f1618b02f741562 (
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
|
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<!--
Copyright (c) 2004 - 2012 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.GitCleanAction"
enablesFor="1"
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.GitResetHardAction"
enablesFor="1"
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.GitAddAllAction"
enablesFor="1"
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.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.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>
|