-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathplugin.xml
More file actions
87 lines (82 loc) · 3.67 KB
/
plugin.xml
File metadata and controls
87 lines (82 loc) · 3.67 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<!--
Copyright 2012 James Phillpotts
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<plugin>
<extension point="org.eclipse.ui.editors">
<editor
name="Cucumber Editor"
extensions="feature"
icon="icons/cukes.gif"
contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
class="potes.cucumberjvm.eclipseplugin.editors.CucumberEditor"
id="potes.cucumberjvm.eclipseplugin.editors.CucumberEditor">
</editor>
</extension>
<extension point="org.eclipse.debug.ui.launchShortcuts">
<shortcut
label="Cucumber Test"
icon="icons/cukes.gif"
helpContextId="org.eclipse.jdt.junit.launch_shortcut"
class="potes.cucumberjvm.eclipseplugin.launch.CucumberLaunchShortcut"
modes="run, debug"
id="potes.cucumberjvm.junitShortcut">
<contextualLaunch>
<enablement>
<with variable="selection">
<count value="1"/>
<iterate>
<test property="org.eclipse.debug.ui.matchesPattern" value="*.feature"/>
<adapt type="org.eclipse.core.resources.IResource">
<test property="potes.cucumberjvm.eclipseplugin.launch.isCucumberProject"/>
</adapt>
</iterate>
</with>
</enablement>
</contextualLaunch>
<configurationType id="potes.cucumberjvm.launching.cucumberTest"/>
<description description="%DebugJUnitLaunchShortcut.description" mode="debug"/>
<description description="%RunJUnitLaunchShortcut.description" mode="run"/>
</shortcut>
</extension>
<extension point="org.eclipse.debug.core.launchConfigurationTypes">
<launchConfigurationType
name="Cucumber JVM Test"
delegate="potes.cucumberjvm.eclipseplugin.launch.CucumberTestLaunchDelegate"
modes="run, debug"
id="potes.cucumberjvm.launching.cucumberTest">
</launchConfigurationType>
</extension>
<extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
<launchConfigurationTypeImage
icon="icons/cukes.gif"
configTypeID="potes.cucumberjvm.launching.cucumberTest"
id="potes.cucumberjvm.launching.cucumberTest.image">
</launchConfigurationTypeImage>
</extension>
<extension point="org.eclipse.debug.ui.launchConfigurationTabGroups">
<launchConfigurationTabGroup
type="potes.cucumberjvm.launching.cucumberTest"
class="potes.cucumberjvm.eclipseplugin.launch.CucumberTabGroup"
id="potes.cucumberjvm.launching.cucumberTest.tabGroup">
</launchConfigurationTabGroup>
</extension>
<extension point="org.eclipse.core.expressions.propertyTesters">
<propertyTester
class="potes.cucumberjvm.eclipseplugin.launch.CucumberLaunchableFeatureTester"
id="potes.cucumberjvm.eclipseplugin.launch.CucumberLaunchableFeatureTester"
namespace="potes.cucumberjvm.eclipseplugin.launch"
properties="isCucumberProject"
type="org.eclipse.core.resources.IResource"/>
</extension>
</plugin>