-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
73 lines (67 loc) · 1.99 KB
/
plugin.xml
File metadata and controls
73 lines (67 loc) · 1.99 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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
id="application"
point="org.eclipse.core.runtime.applications">
<application>
<run
class="my.project.Application">
</run>
</application>
</extension>
<extension
point="org.eclipse.ui.perspectives">
<perspective
class="my.project.Perspective"
name="RCP Perspective"
id="my.project.perspective">
</perspective>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="menu:org.eclipse.ui.main.menu">
<menu
id="my.project.fileId"
label="File">
<command
commandId="my.project.commandId"
label="Show Message"
style="push">
</command>
</menu>
</menuContribution>
<menuContribution
locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
<toolbar
id="my.project.sampleToolbar"
label="ToolBar">
<dynamic
class="my.project.MyCompoundContributionItem"
id="my.project.dynamicItem">
</dynamic>
<command
commandId="my.project.commandId"
label="Show Message"
style="push">
</command>
</toolbar>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
id="my.project.commandId"
name="Show Message">
</command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="my.project.MyHandler"
commandId="my.project.commandId">
</handler>
</extension>
</plugin>