-
Notifications
You must be signed in to change notification settings - Fork 13
/
plugin.xml
113 lines (112 loc) · 3.81 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
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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.commands">
<category
name="Sample Category"
id="CASTParser.commands.category">
</category>
<command
name="Sample Command"
categoryId="CASTParser.commands.category"
id="CASTParser.commands.sampleCommand">
</command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
commandId="CASTParser.commands.sampleCommand"
class="kr.ac.jbnu.ssel.misrac.ui.handlers.CASTHandler">
</handler>
</extension>
<extension
point="org.eclipse.ui.bindings">
<key
commandId="CASTParser.commands.sampleCommand"
contextId="org.eclipse.ui.contexts.window"
sequence="M1+6"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
</key>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="menu:org.eclipse.ui.main.menu?after=additions">
<menu
label="Sample Menu"
mnemonic="M"
id="CASTParser.menus.sampleMenu">
<command
commandId="CASTParser.commands.sampleCommand"
mnemonic="S"
id="CASTParser.menus.sampleCommand">
</command>
</menu>
</menuContribution>
<menuContribution
locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
<toolbar
id="CASTParser.toolbars.sampleToolbar">
<command
commandId="CASTParser.commands.sampleCommand"
icon="icons/openMRC.gif"
tooltip="Run OpenMRC!"
id="CASTParser.toolbars.sampleCommand">
</command>
</toolbar>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.views">
<category
id="CASTParser"
name="MISRA-C">
</category>
<view
category="CASTParser"
class="kr.ac.jbnu.ssel.misrac.ui.view.ViolationMessageView"
icon="icons/sample.gif"
id="kr.ac.jbnu.ssel.misrac.ui.view.ViolationMessageView"
name="MISRA-C Rule Check View">
</view>
<view
name="Misra-C Table View"
icon="icons/tableIcon.gif"
category="CASTParser"
class="kr.ac.jbnu.ssel.misrac.ui.view.MisraTableView"
id="kr.ac.jbnu.ssel.misrac.ui.view.MisraTableView">
</view>
</extension>
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="org.eclipse.jdt.ui.JavaPerspective">
<view
id="kr.ac.jbnu.ssel.misrac.ui.view.ViolationMessageView"
ratio="0.5"
relationship="right"
relative="org.eclipse.ui.views.ProblemView">
</view>
</perspectiveExtension>
</extension>
<extension
point="org.eclipse.help.contexts">
<contexts
file="contexts.xml">
</contexts>
</extension>
<extension
id="kr.ac.jbnu.ssel.misrac.ui.preference.MisraPreferencePage"
point="org.eclipse.ui.preferencePages">
<page name="Misra-C" class = "kr.ac.jbnu.ssel.misrac.ui.preference.MisraPreferencePage"
id="kr.ac.jbnu.ssel.misrac.ui.preference.MisraPreferencePage"/>
</extension>
<extension
point="org.eclipse.core.filebuffers.annotationModelCreation">
<factory
extensions="*"
class="org.eclipse.ui.texteditor.ResourceMarkerAnnotationModelFactory">
</factory>
</extension>
</plugin>