-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathplugin.xml
84 lines (81 loc) · 2.55 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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.commands">
<category
name="MyTranslate Category"
id="myTranslate.commands.category">
</category>
<command
name="MyTranslate Command"
categoryId="myTranslate.commands.category"
id="myTranslate.commands.sampleCommand">
</command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
commandId="myTranslate.commands.sampleCommand"
class="mytranslate.handlers.KeyHandler">
</handler>
</extension>
<extension
point="org.eclipse.ui.bindings">
<key
commandId="myTranslate.commands.sampleCommand"
contextId="org.eclipse.ui.contexts.window"
sequence="M1+M2+C"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
</key>
</extension>
<extension
point="org.eclipse.ui.views">
<category
name="MyTranslate Category"
id="MyTranslate">
</category>
<view
name="MyTranslate View"
icon="icons/sample.gif"
category="MyTranslate"
class="mytranslate.views.MyTranslateView"
id="mytranslate.views.SampleView">
</view>
</extension>
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="org.eclipse.jdt.ui.JavaPerspective">
<view
ratio="0.5"
relative="org.eclipse.ui.views.ProblemView"
relationship="right"
id="mytranslate.views.SampleView">
</view>
</perspectiveExtension>
</extension>
<extension
point="org.eclipse.help.contexts">
<contexts
file="contexts.xml">
</contexts>
</extension>
<extension
point="org.eclipse.core.runtime.preferences">
<initializer
class="mytranslate.preferences.PreferenceInitializer">
</initializer>
<initializer
class="mytranslate.preferences.PreferenceInitializer">
</initializer>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
class="mytranslate.preferences.MyTranslatePreferencePage"
id="mytranslate.preferences.MyTranslatePreferencePage"
name="MyTranslate Preferences">
</page>
</extension>
</plugin>