]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.simulation.ui/plugin.xml
Disable SCL Issue provider by default
[simantics/platform.git] / bundles / org.simantics.simulation.ui / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <plugin>
3
4    <extension
5          point="org.simantics.ui.doubleClick">
6       <doubleClickAction
7             name="Activate Experiment"
8             priority="1.0"
9             class="org.simantics.simulation.ui.handlers.ActivateExperimentAction">
10       </doubleClickAction>
11    </extension>
12    <extension
13          point="org.eclipse.ui.contexts">
14       <context
15             name="Experiment"
16             id="org.simantics.simulation.ui.experiment">
17       </context>
18       <context
19             name="DynamicExperiment"
20             id="org.simantics.simulation.ui.dynamicExperiment">
21       </context>
22    </extension>
23    <extension
24          point="org.eclipse.ui.menus">
25       <menuContribution
26             locationURI="popup:#GraphExplorerPopup?after=modelling.ext">
27          <command
28                commandId="org.simantics.simulation.ui.activateExperiment"
29                label="Activate Experiment"
30                icon="icons/control_play_blue.gif"
31                style="push">
32             <visibleWhen
33                   checkEnabled="true">
34             </visibleWhen>
35          </command>
36       </menuContribution>
37    </extension>
38    <extension
39          point="org.eclipse.ui.commands">
40       <category
41             name="Simulation Commands"
42             id="org.simantics.simulation.ui.category">
43       </category>
44       <command
45             name="Synchronize"
46             categoryId="org.simantics.simulation.ui.category"
47             id="org.simantics.simulation.ui.reload">
48       </command>
49       <!--<command
50             defaultHandler="org.simantics.simulation.ui.handlers.Run"
51             name="Run"
52             categoryId="org.simantics.simulation.ui.category"
53             id="org.simantics.simulation.ui.run">
54          <state
55                class="org.eclipse.jface.commands.ToggleState"
56                id="org.simantics.simulation.ui.run.state">
57          </state>
58       </command>-->
59       <command
60             defaultHandler="org.simantics.simulation.ui.handlers.Pause"
61             name="Pause"
62             categoryId="org.simantics.simulation.ui.category"
63             id="org.simantics.simulation.ui.pause">
64       </command>
65       <command
66             defaultHandler="org.simantics.simulation.ui.handlers.Step"
67             name="Step"
68             categoryId="org.simantics.simulation.ui.category"
69             id="org.simantics.simulation.ui.step">
70       </command>
71       <command
72             defaultHandler="org.simantics.simulation.ui.handlers.Dispose"
73             name="Dispose"
74             categoryId="org.simantics.simulation.ui.category"
75             id="org.simantics.simulation.ui.dispose">
76       </command>
77       <command
78             defaultHandler="org.simantics.simulation.ui.handlers.SaveState"
79             name="Save State"
80             categoryId="org.simantics.simulation.ui.category"
81             id="org.simantics.simulation.ui.saveState">
82       </command>
83       <command
84             name="activateExperiment"
85             categoryId="org.simantics.simulation.ui.category"
86             id="org.simantics.simulation.ui.activateExperiment">
87       </command>
88    </extension>
89    <extension
90          point="org.eclipse.core.runtime.preferences">
91       <initializer
92             class="org.simantics.simulation.ui.preferences.PreferenceInitializer">
93       </initializer>
94    </extension>
95    <extension
96          point="org.eclipse.ui.handlers">
97       <handler
98             commandId="org.simantics.simulation.ui.activateExperiment"
99             class="org.simantics.simulation.ui.handlers.ActivateExperimentHandler">
100          <activeWhen>
101             <with
102                   variable="selection">
103                <test
104                      args="http://www.simantics.org/Simulation-0.0/Experiment"
105                      property="org.simantics.graph.resourceType">
106                </test>
107             </with>
108          </activeWhen>
109       </handler>
110    </extension>
111    <extension
112          id="org.simantics.simulation.ui.fragment"
113          point="org.eclipse.e4.workbench.model">
114       <fragment
115             uri="fragment.e4xmi">
116       </fragment>
117    </extension>
118
119 </plugin>