blob: 86cbb5f22e7242eaf52e87f7bc3e9ee5ae2b1b88 (
plain)
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
|
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension-point id="de.dhbw.horb.ksm.core.model.property" name="PropertyAdvisor" schema="schema/de.dhbw.horb.ksm.core.mode.property.exsd"/>
<extension
id="ksm"
point="org.eclipse.core.runtime.applications">
<application>
<run
class="de.dhbw.horb.ksm.core.Application">
</run>
</application>
</extension>
<extension
point="org.eclipse.ui.navigator.viewer">
<viewerContentBinding
viewerId="ksm.core.view.navigator">
<includes>
<contentExtension pattern="org.eclipse.ui.navigator.resourceContent" />
<contentExtension pattern="org.eclipse.ui.navigator.resources.filters.*"/>
</includes>
</viewerContentBinding>
<viewerActionBinding
viewerId="ksm.core.view.navigator">
<includes>
<actionExtension pattern="org.eclipse.ui.navigator.actionProvider.*" />
<actionExtension
pattern="org.eclipse.ui.navigator.resources.*">
</actionExtension>
</includes>
</viewerActionBinding>
<viewer
viewerId="ksm.core.view.navigatorigator">
<!--
<popupMenu
allowsPlatformContributions="true"
id="org.eclipse.ui.navigator.resourceContent#PopupMenu">
<insertionPoint name="group.new"/>
<insertionPoint name="group.edit" />
<insertionPoint name="group.reorganize" />
<insertionPoint name="group.open" />
<insertionPoint name="group.openWith"/>
</popupMenu>-->
</viewer>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="menu:org.eclipse.ui.main.menu">
<menu
id="ksm.core.menu.file"
label="File">
<command
commandId="org.eclipse.ui.newWizard"
label="New"
style="push">
</command>
<command
commandId="org.eclipse.ui.edit.text.openLocalFile"
label="Open Local File"
style="push">
</command>
<separator
name="ksm.core.menu.seperator1"
visible="true">
</separator>
<command
commandId="org.eclipse.ui.file.save"
label="Save"
style="push">
</command>
<command
commandId="org.eclipse.ui.file.print"
label="Print"
style="push">
</command>
<separator
name="ksm.core.menu.seperator2"
visible="true">
</separator>
<command
commandId="org.eclipse.ui.file.exit"
label="Exit"
style="push">
</command>
</menu>
<menu
label="Edit"
mnemonic="ksm.core.menu.edit">
<command
commandId="org.eclipse.ui.edit.undo"
label="Undo"
style="push">
</command>
<command
commandId="org.eclipse.ui.edit.redo"
label="Redo"
style="push">
</command>
</menu>
<menu
id="ksm.core.menu.perspective"
label="Perspective">
<command
commandId="ksm.core.command.CallEditorPerspective"
id="ksmcore.menu.perspective.editor"
label="Editor"
style="push">
</command>
</menu>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="toolbar:org.eclipse.ui.main.toolbar">
<toolbar
id="ksm.core.toolbar">
<command
commandId="org.eclipse.ui.file.save"
label="Save"
style="push">
</command>
</toolbar>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
defaultHandler="de.dhbw.horb.ksm.core.handler.CallEditorPerspective"
id="ksm.core.command.CallEditorPerspective"
name="CallEditorPerspective">
</command>
</extension>
<extension
point="org.eclipse.ui.editors">
<editor
class="de.dhbw.horb.ksm.core.editor.ui.DiagramEditor"
contributorClass="de.dhbw.horb.ksm.core.editor.actions.DiagramActionBarContributor"
default="true"
extensions="ksm"
icon="icons/16/ksm-modell.png"
id="ksm.core.editor"
name="KSM Editor">
</editor>
</extension>
<extension
point="org.eclipse.ui.newWizards">
<category
id="ksm.core.category"
name="KSM">
</category>
<wizard
category="ksm.core.category"
class="de.dhbw.horb.ksm.core.editor.ui.DiagramCreationWizard"
icon="icons/16/ksm-modell.png"
id="ksm.core.editor.wizard.new.file"
name="KSM Model"
project="false">
<description>
Wizard for creating a new KSM model
</description>
<selection
class="org.eclipse.core.resources.IResource">
</selection>
</wizard>
<primaryWizard
id="ksm.core.editor.wizard.new.file">
</primaryWizard>
<wizard
category="ksm.core.category"
class="de.dhbw.horb.ksm.core.project.NewKSMProjectWizard"
finalPerspective="ksm.core.perspectives.KSMEditorPerspective"
icon="icons/32/ksm-modell.png"
id="ksm.core.editor.wizard.new.project"
name="New KSM Project"
project="true">
</wizard>
</extension>
<extension
point="org.eclipse.core.runtime.products">
<product
application="ksm.core.application"
description="Kybernetisches System Modell"
name="KSM">
<property
name="windowImages"
value="icons/16/ksm-modell.png icons/32/ksm-modell.png">
</property>
</product>
</extension>
<extension
point="org.eclipse.ui.views">
<view
category="ksm.core.views.KSMCategory"
class="de.dhbw.horb.ksm.core.view.Navigator"
id="ksm.core.view.navigator"
name="Navigator"
restorable="true">
</view>
<category
id="ksm.core.views.KSMCategory"
name="KSM">
</category>
</extension>
<extension
point="org.eclipse.ui.perspectives">
<perspective
class="de.dhbw.horb.ksm.core.perspectives.KSMEditorPerspective"
fixed="true"
icon="icons/releng_gears.gif"
id="ksm.core.perspectives.KSMEditorPerspective"
name="KSM Editor Perspektive">
</perspective>
</extension>
<extension
id="ksmProjectNature"
point="org.eclipse.core.resources.natures">
<runtime>
<run
class="de.dhbw.horb.ksm.core.project.KSMProjectNature">
</run>
</runtime>
</extension>
<extension
point="org.eclipse.ui.ide.projectNatureImages">
<image
icon="icons/32/ksm-modell.png"
id="ksm.core.natureImage"
natureId="de.dhbw.horb.ksm.core.ksmProjectNature">
</image>
</extension>
<extension
point="de.dhbw.horb.ksm.core.model.property">
<advisor
class="de.dhbw.horb.ksm.core.editor.model.property.BaseNodePropertyAdvisor"
name="BaseNodePropertyAdvisor"
type="node">
</advisor>
<advisor
class="de.dhbw.horb.ksm.core.editor.model.property.BaseNodeGroupPropertyAdvisor"
name="BaseNodeGroupPropertyAdvisor"
type="nodegroup">
</advisor>
<advisor
class="de.dhbw.horb.ksm.core.editor.model.property.BaseConnectionPropertyAdvisor"
name="BaseConnectionPropertyAdvisor"
type="connection">
</advisor>
</extension>
</plugin>
|