Editor for modelled STS variables for easier debugging
[simantics/platform.git] / bundles / org.simantics.tests.modelled.ui / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>
3 <plugin>
4    <extension
5          point="org.eclipse.ui.editors">
6       <editor
7             default="false"
8             name="STS Test Editor"
9             class="org.simantics.tests.modelled.ui.STSTestEditor"
10             id="org.simantics.tests.ui.stsTestEditor">
11       </editor>
12       <editor
13             default="false"
14             name="STS Variable Viewer"
15             class="org.simantics.tests.modelled.ui.STSVariableViewerEditor"
16             id="org.simantics.tests.ui.stsVariableViewer">
17       </editor>
18    </extension>
19    <extension
20          point="org.eclipse.core.expressions.definitions">
21       <definition
22             id="org.simantics.tests.ui.inSTSTestEditor">
23          <with
24                variable="activePartId">
25             <equals
26                   value="org.simantics.tests.ui.stsTestEditor">
27             </equals>
28          </with>
29       </definition>
30    </extension>
31    <extension
32          point="org.simantics.ui.resourceEditorAdapter">
33       <adapterClass
34             class="org.simantics.tests.modelled.ui.STSEditorAdapter"
35             id="org.simantics.tests.ui.stsTestEditor"
36             priority="10">
37       </adapterClass>
38       <adapterClass
39             class="org.simantics.tests.modelled.ui.STSVariableViewerAdapter"
40             id="org.simantics.tests.ui.stsVariableViewer"
41             priority="11">
42       </adapterClass>
43    </extension>
44    <extension
45          point="org.eclipse.ui.elementFactories">
46       <factory
47             class="org.simantics.tests.modelled.ui.STSEditorInputFactory"
48             id="org.simantics.tests.modelled.ui.stseditor.inputFactory">
49       </factory>
50       <!--<factory
51             class="org.simantics.tests.modelled.ui.STSVariableViewerInputFactory"
52             id="org.simantics.tests.modelled.ui.stsVariableViewer.inputFactory">
53       </factory>-->
54    </extension>
55    <extension
56          point="org.eclipse.ui.views">
57       <e4view
58             class="org.simantics.tests.modelled.ui.STSTestRunnerView"
59             id="org.simantics.tests.modelled.ui.stsTestRunnerView"
60             name="STS Test Runner View"
61             restorable="true">
62       </e4view>
63    </extension>
64
65 </plugin>