]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.simulation.ui/plugin.xml
Render last known value in time series chart hairline value tip
[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.SetDuration"
79             name="Set Duration"
80             categoryId="org.simantics.simulation.ui.category"
81             id="org.simantics.simulation.ui.setDuration">
82       </command>
83       <command
84             defaultHandler="org.simantics.simulation.ui.handlers.SaveState"
85             name="Save State"
86             categoryId="org.simantics.simulation.ui.category"
87             id="org.simantics.simulation.ui.saveState">
88       </command>
89       <command
90             name="activateExperiment"
91             categoryId="org.simantics.simulation.ui.category"
92             id="org.simantics.simulation.ui.activateExperiment">
93       </command>
94    </extension>
95    <extension
96          point="org.eclipse.core.runtime.preferences">
97       <initializer
98             class="org.simantics.simulation.ui.preferences.PreferenceInitializer">
99       </initializer>
100    </extension>
101    <extension
102          point="org.eclipse.ui.handlers">
103       <handler
104             commandId="org.simantics.simulation.ui.activateExperiment"
105             class="org.simantics.simulation.ui.handlers.ActivateExperimentHandler">
106          <activeWhen>
107             <with
108                   variable="selection">
109                <test
110                      args="http://www.simantics.org/Simulation-0.0/Experiment"
111                      property="org.simantics.graph.resourceType">
112                </test>
113             </with>
114          </activeWhen>
115       </handler>
116    </extension>
117    <extension
118          id="org.simantics.simulation.ui.fragment"
119          point="org.eclipse.e4.workbench.model">
120       <fragment
121             uri="fragment.e4xmi">
122       </fragment>
123    </extension>
124
125 </plugin>