-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
61 lines (59 loc) · 1.86 KB
/
Copy pathplugin.xml
File metadata and controls
61 lines (59 loc) · 1.86 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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.commands">
<category
id="goToLambda.commands.category"
name="Go To Lambda">
</category>
<command
categoryId="goToLambda.commands.category"
name="Go To Lambda Definition"
id="goToLambda.commands.goToLambdaDefinition">
</command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="gotolambda.handlers.GoToLambdaDefinition"
commandId="goToLambda.commands.goToLambdaDefinition">
</handler>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.ui.popup.any">
<command
commandId="goToLambda.commands.goToLambdaDefinition"
icon="icons/lambda.png"
label="Go To Lambda Definition"
style="push">
<visibleWhen
checkEnabled="false">
<with
variable="activeMenuSelection">
<iterate
ifEmpty="false"
operator="or">
<adapt
type="gotolambda.LambdaJavaVariable">
</adapt>
</iterate>
</with>
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension
point="org.eclipse.core.runtime.adapters">
<factory
adaptableType="org.eclipse.jdt.debug.core.IJavaVariable"
class="gotolambda.LambdaJavaVariableAdapterFactory">
<adapter
type="gotolambda.LambdaJavaVariable">
</adapter>
</factory>
</extension>
</plugin>