/
plugin.xml
94 lines (94 loc) · 3.87 KB
/
plugin.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
<extension
point="org.eclipse.debug.ui.launchConfigurationTypeImages">
<launchConfigurationTypeImage
icon="icons/etool16/hsicon16.gif"
configTypeID="net.sf.eclipsefp.haskell.debug.core.internal.launch.HaskellLaunchDelegate"
id="net.sf.eclipsefp.haskell.ui.launch.launchIcon">
</launchConfigurationTypeImage>
</extension>
<extension
point="org.eclipse.debug.ui.launchConfigurationTabGroups">
<launchConfigurationTabGroup
type="net.sf.eclipsefp.haskell.debug.core.internal.launch.HaskellLaunchDelegate"
class="net.sf.eclipsefp.haskell.debug.ui.internal.launch.HaskellLaunchTabGroup"
id="net.sf.eclipsefp.haskell.debug.ui.internal.launch.HaskellLaunchTabGroup">
</launchConfigurationTabGroup>
</extension>
<extension
point="org.eclipse.debug.ui.launchShortcuts">
<shortcut
label="%appLaunchShortcut_label"
icon="icons/etool16/hsicon16.gif"
class="net.sf.eclipsefp.haskell.debug.ui.internal.launch.ExecutableLaunchShortcut"
modes="run"
id="net.sf.eclipsefp.haskell.debug.ui.internal.launch.ExecutableLaunchShortcut">
<contextualLaunch>
<enablement>
<with
variable="selection">
<count
value="1">
</count>
<iterate>
<test
property="net.sf.eclipsefp.haskell.core.isProjectExecutable">
</test>
</iterate>
</with>
</enablement>
<contextLabel
label="%appLaunchContextLabel_label"
mode="run">
</contextLabel>
</contextualLaunch>
</shortcut>
<shortcut
label="%ghciShortcut_label"
icon="icons/etool16/ghci16.gif"
class="net.sf.eclipsefp.haskell.debug.ui.internal.launch.ghci.GhciLaunchShortcut"
modes="run"
id="net.sf.eclipsefp.haskell.debug.ui.internal.launch.ghci.GhciLaunchShortcut">
<contextualLaunch>
<enablement>
<with variable="selection">
<count value="1" />
<iterate>
<adapt type="org.eclipse.core.resources.IResource">
<test property="net.sf.eclipsefp.haskell.core.isHaskellFile"/>
</adapt>
</iterate>
</with>
</enablement>
<contextLabel
label="%ghciContextLabel_label"
mode="run">
</contextLabel>
</contextualLaunch>
</shortcut>
</extension>
<extension point="org.eclipse.ui.commands">
<command
name="%runGHCiShortcut_name"
description="%runGHCiShortcut_desc"
categoryId="org.eclipse.debug.ui.category.run"
id="net.sf.eclipsefp.haskell.debug.ui.internal.launch.ghci.GhciLaunchShortcut.run">
</command>
<command
name="%runHaskellShortcut_name"
description="%runHaskellShortcut_desc"
categoryId="org.eclipse.debug.ui.category.run"
id="net.sf.eclipsefp.haskell.debug.ui.internal.launch.ExecutableLaunchShortcut.run">
</command>
</extension>
<extension point="org.eclipse.ui.bindings">
<key sequence="M3+M2+X G"
commandId="net.sf.eclipsefp.haskell.debug.ui.internal.launch.ghci.GhciLaunchShortcut.run"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
<key sequence="M3+M2+X H"
commandId="net.sf.eclipsefp.haskell.debug.ui.internal.launch.ExecutableLaunchShortcut.run"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
</extension>
</plugin>