-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplugin.xml
More file actions
121 lines (120 loc) · 4.33 KB
/
plugin.xml
File metadata and controls
121 lines (120 loc) · 4.33 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
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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension point="org.eclipse.ui.commands">
<category
id="nlp2testablecode.category"
name="Handler Category">
</category>
<command
categoryId="nlp2testablecode.category"
id="nlp2testablecode.handler"
name="Input Handler">
</command>
<command
categoryId="nlp2testablecode.category"
id="nlp2testablecode.cyclehandler"
name="Cycle Answers Handler">
</command>
<command
categoryId="nlp2testablecode.category"
id="nlp2testablecode.testhandler"
name="Test Handler">
</command>
</extension>
<extension point="org.eclipse.ui.handlers">
<handler
class="nlp2testablecode.cycler.CycleAnswersHandler"
commandId="nlp2testablecode.cyclehandler">
</handler>
<handler
class="nlp2testablecode.InputHandler"
commandId="nlp2testablecode.handler">
</handler>
<handler
class="nlp2testablecode.tester.TestHandler"
commandId="nlp2testablecode.testhandler">
</handler>
</extension>
<extension
point="org.eclipse.ui.bindings">
<key
commandId="nlp2testablecode.cyclehandler"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M4+`">
</key>
<key
commandId="nlp2testablecode.cyclehandler"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+`">
</key>
<key
contextId="org.eclipse.ui.contexts.dialogAndWindow"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+6"
commandId="org.eclipse.jdt.ui.specific_content_assist.command">
<parameter
id="org.eclipse.jdt.ui.specific_content_assist.category_id"
value="nlp2testablecode.contentassist.tasks"/>
</key>
<key
contextId="org.eclipse.ui.contexts.dialogAndWindow"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+M3+T"
commandId="org.eclipse.jdt.ui.specific_content_assist.command">
<parameter
id="org.eclipse.jdt.ui.specific_content_assist.category_id"
value="nlp2testablecode.contentassist.test"/>
</key>
<key
commandId="nlp2testablecode.testhandler"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+M3+D">
</key>
</extension>
<extension point="org.eclipse.ui.menus">
<menuContribution
locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
<toolbar
id="nlp2testablecode.toolbar">
<command
commandId="nlp2testablecode.handler"
icon="icons/stackoverflow.gif"
id="nlp2testablecode.toolbar.handler"
style="push"
tooltip="Query Stack Overflow">
</command>
<command
commandId="nlp2testablecode.cyclehandler"
icon="icons/cycle.gif"
id="nlp2testablecode.toolbar.handler"
style="push"
tooltip="Cycle Code Snippet - Press to see diferent answers to your previously made query. (CTRL + `)">
</command>
</toolbar>
</menuContribution>
</extension>
<extension
id="nlp2code.contentassist"
point="org.eclipse.jdt.ui.javaCompletionProposalComputer">
<proposalCategory>
</proposalCategory>
<proposalComputer
activate="true"
categoryId="nlp2testablecode.contentassist.tasks"
class="nlp2testablecode.recommenders.TaskRecommender"
id="nlp2testablecode.proposalcomputer">
<contentType id="org.eclipse.core.runtime.text"/>
</proposalComputer>
<proposalComputer
activate="true"
categoryId="nlp2testablecode.contentassist.test"
class="nlp2testablecode.recommenders.TypeRecommender"
id="nlp2testablecode.proposalcomputer">
<contentType id="org.eclipse.core.runtime.text"/>
</proposalComputer>
</extension>
</plugin>