plugin.xml 13.1 KB
Newer Older
Florian Hölzl's avatar
Florian Hölzl committed
1
2
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
Simon Barner's avatar
Simon Barner committed
3
<!-- (c) 2017 fortiss GmbH -->
Florian Hölzl's avatar
Florian Hölzl committed
4
5

<plugin>
6
   <extension-point id="simulationContextMenuContribution" name="Simulation Context Menu Contribution" schema="schema/simulationContextMenuContribution.exsd"/>
Florian Hölzl's avatar
Florian Hölzl committed
7
8
9
10
11
12
   <extension
         point="org.fortiss.tooling.kernel.modelPrototypeProvider">
      <modelPrototypeProvider
            provider="org.fortiss.af3.component.ui.prototypes.PrototypeProvider">
      </modelPrototypeProvider>
   </extension>
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
      <extension
         point="org.fortiss.tooling.kernel.modelConnectionCompositor">
      <modelConnectionCompositor
            modelConnectionCompositor="org.fortiss.af3.component.ui.compose.ComponentConnectionCompositor">
         <source>
            <modelElementClass
                  modelElementClass="org.fortiss.af3.component.model.Component">
            </modelElementClass>
         </source>
         <target>
            <modelElementClass
                  modelElementClass="org.fortiss.af3.component.model.Component">
            </modelElementClass>
         </target>
      </modelConnectionCompositor>
      <modelConnectionCompositor
            modelConnectionCompositor="org.fortiss.af3.component.ui.compose.ComponentConnectionCompositor">
         <source>
            <modelElementClass
                  modelElementClass="org.fortiss.af3.component.model.Port">
            </modelElementClass>
         </source>
         <target>
            <modelElementClass
                  modelElementClass="org.fortiss.af3.component.model.Component">
            </modelElementClass>
         </target>
      </modelConnectionCompositor>
      <modelConnectionCompositor
            modelConnectionCompositor="org.fortiss.af3.component.ui.compose.ComponentConnectionCompositor">
         <source>
            <modelElementClass
                  modelElementClass="org.fortiss.af3.component.model.Component">
            </modelElementClass>
         </source>
         <target>
            <modelElementClass
                  modelElementClass="org.fortiss.af3.component.model.Port">
            </modelElementClass>
         </target>
      </modelConnectionCompositor>
      <modelConnectionCompositor
            modelConnectionCompositor="org.fortiss.af3.component.ui.compose.ComponentConnectionCompositor">
         <source>
            <modelElementClass
                  modelElementClass="org.fortiss.af3.component.model.Port">
            </modelElementClass>
         </source>
         <target>
            <modelElementClass
                  modelElementClass="org.fortiss.af3.component.model.Port">
            </modelElementClass>
         </target>
      </modelConnectionCompositor>
         </extension>
Florian Hölzl's avatar
Florian Hölzl committed
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
   <extension
         point="org.fortiss.tooling.kernel.ui.modelElementHandler">
      <modelElementHandler
            handler="org.fortiss.af3.component.ui.handler.ComponentArchitectureHandler">
         <modelElementClass
               modelElementClass="org.fortiss.af3.component.model.ComponentArchitecture">
         </modelElementClass>
      </modelElementHandler>
      <modelElementHandler
            handler="org.fortiss.af3.component.ui.handler.ComponentHandler">
         <modelElementClass
               modelElementClass="org.fortiss.af3.component.model.Component">
         </modelElementClass>
      </modelElementHandler>
      <modelElementHandler
            handler="org.fortiss.af3.component.ui.handler.InputPortHandler">
         <modelElementClass
               modelElementClass="org.fortiss.af3.component.model.InputPort">
         </modelElementClass>
      </modelElementHandler>
      <modelElementHandler
            handler="org.fortiss.af3.component.ui.handler.OutputPortHandler">
         <modelElementClass
               modelElementClass="org.fortiss.af3.component.model.OutputPort">
         </modelElementClass>
      </modelElementHandler>
      <modelElementHandler
            handler="org.fortiss.af3.component.ui.handler.ChannelHandler">
         <modelElementClass
               modelElementClass="org.fortiss.af3.component.model.Channel">
         </modelElementClass>
      </modelElementHandler>
      <modelElementHandler
            handler="org.fortiss.af3.component.ui.handler.CodeSpecificationHandler">
         <modelElementClass
               modelElementClass="org.fortiss.af3.component.model.behavior.code.CodeSpecification">
         </modelElementClass>
      </modelElementHandler>
Daniel Ratiu's avatar
Daniel Ratiu committed
106
107
108
109
110
111
      <modelElementHandler
            handler="org.fortiss.af3.component.ui.handler.LibraryComponentPackageHandler">
         <modelElementClass
               modelElementClass="org.fortiss.af3.component.model.LibraryComponentPackage">
         </modelElementClass>
      </modelElementHandler>
Daniel Ratiu's avatar
Daniel Ratiu committed
112
113
114
115
116
117
      <modelElementHandler
            handler="org.fortiss.af3.component.ui.handler.LibraryComponentHandler">
         <modelElementClass
               modelElementClass="org.fortiss.af3.component.model.LibraryComponent">
         </modelElementClass>
      </modelElementHandler>
118
119
120
121
122
123
      <modelElementHandler
            handler="org.fortiss.af3.component.ui.handler.ComponentSpecificationsContainerHandler">
         <modelElementClass
               modelElementClass="org.fortiss.af3.component.model.ComponentSpecificationsContainer">
         </modelElementClass>
      </modelElementHandler>
Florian Hölzl's avatar
Florian Hölzl committed
124
   </extension>
Florian Hölzl's avatar
Florian Hölzl committed
125

Florian Hölzl's avatar
Florian Hölzl committed
126
127
128
129
130
131
132
133
134
135
136
137
   <extension
         point="org.fortiss.tooling.kernel.ui.modelEditorBinding">
      <modelEditorBinding
            binding="org.fortiss.af3.component.ui.editor.ComponentStructureEditorBinding">
         <modelElementClass
               modelElementClass="org.fortiss.af3.component.model.Component"></modelElementClass>
      </modelEditorBinding>
      <modelEditorBinding
            binding="org.fortiss.af3.component.ui.editor.ComponentArchitectureEditorBinding">
         <modelElementClass
               modelElementClass="org.fortiss.af3.component.model.ComponentArchitecture"></modelElementClass>
      </modelEditorBinding>
138
139
140
141
142
143
      <modelEditorBinding
            binding="org.fortiss.af3.component.ui.editor.CodeSpecificationEditorBinding">
         <modelElementClass
               modelElementClass="org.fortiss.af3.component.model.behavior.code.CodeSpecification">
         </modelElementClass>
      </modelEditorBinding>
Florian Hölzl's avatar
Florian Hölzl committed
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
   </extension>
   <extension
         point="org.eclipse.ui.views.properties.tabbed.propertySections">
      <propertySections
            contributorId="org.fortiss.tooling.kernel.ui.properties.Contributor">
         <propertySection
               afterSection="org.fortiss.tooling.kernel.ui.internal.properties.NamedCommentedPropertySection"
               class="org.fortiss.af3.component.ui.properties.PortSpecificationPropertySection"
               enablesFor="1"
               id="org.fortiss.af3.component.ui.properties.PortSpecificationPropertySection"
               tab="org.fortiss.tooling.kernel.ui.property.tab.general">
            <input
                  type="org.fortiss.af3.component.model.Port">
            </input>
         </propertySection>
159
160
161
162
163
164
165
166
167
168
         <propertySection
               afterSection="org.fortiss.af3.component.ui.properties.PortSpecificationPropertySection"
               class="org.fortiss.af3.component.ui.properties.PortInitValueSection"
               enablesFor="1"
               id="org.fortiss.af3.component.ui.properties.PortInitValueSection"
               tab="org.fortiss.tooling.kernel.ui.property.tab.general">
            <input
                  type="org.fortiss.af3.component.model.Port">
            </input>
         </propertySection>
169
170
171
172
173
174
175
176
177
         <propertySection
               afterSection="org.fortiss.tooling.kernel.ui.internal.properties.NamedCommentedPropertySection"
               class="org.fortiss.af3.component.ui.properties.ComponentSpecificationPropertySection"
               enablesFor="1"
               id="org.fortiss.af3.component.ui.properties.ComponentSpecificationPropertySection"
               tab="org.fortiss.tooling.kernel.ui.property.tab.general">
            <input
                  type="org.fortiss.af3.component.model.Component">
            </input>
Florian Hölzl's avatar
Florian Hölzl committed
178
179
180
            <input
                  type="org.fortiss.af3.component.model.ComponentArchitecture">
            </input>
181
         </propertySection>
Florian Hölzl's avatar
Florian Hölzl committed
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
      </propertySections>
   </extension>

   <extension
         point="org.fortiss.tooling.kernel.ui.editPartFactory">
      <editPartFactory
            factory="org.fortiss.af3.component.ui.editpart.EditPartFactory">
         <modelElementClass
               modelElementClass="org.fortiss.af3.component.model.Component"></modelElementClass>
         <modelElementClass
               modelElementClass="org.fortiss.af3.component.model.Port">
         </modelElementClass>
         <modelElementClass
               modelElementClass="org.fortiss.af3.component.model.Channel">
         </modelElementClass>
      </editPartFactory>
   </extension>

   <extension
         point="org.fortiss.af3.project.executionTarget">
      <executionTarget
            target="org.fortiss.af3.component.ui.simulator.SimulatorExecutionTarget">
      </executionTarget>
      <executionTarget
206
            target="org.fortiss.af3.component.ui.generator.CGeneratorExecutionTarget">
Florian Hölzl's avatar
Florian Hölzl committed
207
      </executionTarget>
208
209
210
      <executionTarget
            target="org.fortiss.af3.component.ui.generator.JavaGeneratorExecutionTarget">
      </executionTarget>
211
212
213
      <executionTarget
            target="org.fortiss.af3.component.ui.generator.FMUGeneratorExecutionTarget">
      </executionTarget>
Florian Hölzl's avatar
Florian Hölzl committed
214
215
216
217
   </extension>
   <extension
         point="org.eclipse.ui.perspectives">
      <perspective
218
            class="org.fortiss.af3.component.ui.simulator.SimulationPerspective"
Florian Hölzl's avatar
Florian Hölzl committed
219
            fixed="false"
Christoph Döbber's avatar
Christoph Döbber committed
220
            icon="icons/simulation.gif"
221
            id="org.fortiss.af3.component.ui.simulator.SimulationPerspective"
Klaus Becker's avatar
Klaus Becker committed
222
            name="Simulator">
Florian Hölzl's avatar
Florian Hölzl committed
223
224
225
226
227
228
      </perspective>
   </extension>

   <extension
         point="org.eclipse.ui.views">
      <view
229
            allowMultiple="false"
Florian Hölzl's avatar
Florian Hölzl committed
230
            class="org.fortiss.af3.component.ui.simulator.SimulationView"
Christoph Döbber's avatar
Christoph Döbber committed
231
            icon="icons/simulation.gif"
Florian Hölzl's avatar
Florian Hölzl committed
232
233
234
235
            id="org.fortiss.af3.component.ui.simulator.SimulationView"
            name="Simulation"
            restorable="true">
      </view>
236
237
      <view
            allowMultiple="true"
238
            class="org.fortiss.af3.component.ui.simulator.component.InputOutputTableView"
Christoph Döbber's avatar
Christoph Döbber committed
239
            icon="icons/inputoutput.gif"
240
            id="org.fortiss.af3.component.ui.simulator.component.InputOutputTableView"
241
242
243
            name="Input/Output View"
            restorable="false">
      </view>
244
245
      <view
            allowMultiple="true"
246
            class="org.fortiss.af3.component.ui.simulator.component.GraphicalStructureSimulationView"
Christoph Döbber's avatar
Christoph Döbber committed
247
            icon="icons/componentstructure.gif"
248
            id="org.fortiss.af3.component.ui.simulator.component.GraphicalStructureSimulationView"
249
250
251
            name="Component Simulation View"
            restorable="false">
      </view>
Florian Hölzl's avatar
Florian Hölzl committed
252
   </extension>
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
   <extension
         point="org.fortiss.af3.component.ui.simulationContextMenuContribution">
      <simulationContextMenuContribution
            contributor="org.fortiss.af3.component.ui.simulator.component.InputOutputTableMenuContributor">
         <modelElementClass
               modelElementClass="org.fortiss.af3.component.model.Component">
         </modelElementClass>
      </simulationContextMenuContribution>
      <simulationContextMenuContribution
            contributor="org.fortiss.af3.component.ui.simulator.component.GraphicalStructureViewMenuContributor">
         <modelElementClass
               modelElementClass="org.fortiss.af3.component.model.Component">
         </modelElementClass>
      </simulationContextMenuContribution>
   </extension>
Florian Hölzl's avatar
Florian Hölzl committed
268
269
   <extension
         point="org.fortiss.tooling.kernel.ui.contextMenuContribution">
270
271
272
      <contextMenuContribution
            contributor="org.fortiss.af3.component.ui.editor.PackSelectionToComponent">
      </contextMenuContribution>
Florian Hölzl's avatar
Florian Hölzl committed
273
274
275
      <contextMenuContribution
            contributor="org.fortiss.af3.component.ui.simulator.SimulatorEasyStartMenu">
      </contextMenuContribution>
276
277
278
      <contextMenuContribution
            contributor="org.fortiss.af3.component.ui.generator.CCodeGeneratorEasyStartMenu">
      </contextMenuContribution>
279
280
281
      <contextMenuContribution
            contributor="org.fortiss.af3.component.ui.generator.JavaCodeGeneratorEasyStartMenu">
      </contextMenuContribution>
Daniel Ratiu's avatar
Daniel Ratiu committed
282
283
284
      <contextMenuContribution
            contributor="org.fortiss.af3.component.ui.library.AddComponentToLibrary">
      </contextMenuContribution>
285
286
287
      <contextMenuContribution
            contributor="org.fortiss.af3.component.ui.library.AddTypeDefinitionToLibrary">
      </contextMenuContribution>
288
289
290
      <contextMenuContribution
            contributor="org.fortiss.af3.component.ui.library.AddFunctionDefinitionToLibrary">
      </contextMenuContribution>
291
      <contextMenuContribution
Daniel Ratiu's avatar
Daniel Ratiu committed
292
293
            contributor="org.fortiss.af3.component.ui.library.ConvertReferenceToComponent">
      </contextMenuContribution>
294
295
296
      <contextMenuContribution
            contributor="org.fortiss.af3.component.ui.generator.FMUGeneratorEasyStartMenu">
      </contextMenuContribution>
Florian Hölzl's avatar
Florian Hölzl committed
297
   </extension>
Florian Hölzl's avatar
Florian Hölzl committed
298
</plugin>