1 <?xml version="1.0" encoding="ASCII"?>
2 <fragment:ModelFragments xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:commands="http://www.eclipse.org/ui/2010/UIModel/application/commands" xmlns:fragment="http://www.eclipse.org/ui/2010/UIModel/fragment" xmlns:menu="http://www.eclipse.org/ui/2010/UIModel/application/ui/menu" xmlns:ui="http://www.eclipse.org/ui/2010/UIModel/application/ui" xmi:id="_xhS5QMmiEeW7xbSNBQl45w">
3 <imports xsi:type="commands:BindingContext" xmi:id="_dowfMM6dEeWsxN0a-I6jfA" elementId="org.simantics.charts.editor.context"/>
4 <imports xsi:type="commands:Command" xmi:id="_KG9A8M70EeWsxN0a-I6jfA" elementId="org.simantics.workbench.file.close"/>
5 <imports xsi:type="commands:Command" xmi:id="_0Gm58M8ZEeWsxN0a-I6jfA" elementId="org.simantics.workbench.command.activatePart"/>
6 <imports xsi:type="commands:Command" xmi:id="_txoiYM-9EeWsxN0a-I6jfA" elementId="org.simantics.charts.linktime"/>
7 <fragments xsi:type="fragment:StringModelFragment" xmi:id="_0KQ24MmzEeW7xbSNBQl45w" featurename="handlers" parentElementId="xpath:/">
8 <elements xsi:type="commands:Handler" xmi:id="_TxGhwMm0EeW7xbSNBQl45w" elementId="org.simantics.diagram.handler.canvasCommandDelegate" contributionURI="bundleclass://org.simantics.diagram/org.simantics.diagram.handler.e4.CanvasCommandDelegate" command="_Cv5DgMm0EeW7xbSNBQl45w"/>
10 <fragments xsi:type="fragment:StringModelFragment" xmi:id="_2OGW4MmzEeW7xbSNBQl45w" featurename="commands" parentElementId="xpath:/">
11 <elements xsi:type="commands:Command" xmi:id="_Cv5DgMm0EeW7xbSNBQl45w" elementId="org.simantics.diagram.canvasCommandDelegateCommand" commandName="Canvas Command Delegate" description="Command for delegating commands to ICanvasContext">
12 <parameters xmi:id="_lhH3QMo3EeWfDdI1wOX-XQ" elementId="org.simantics.diagram.commandparameter.canvasCommandDelegateParameter" name="CanvasCommandDelegateParameter" optional="false"/>
13 <parameters xmi:id="_HyR_0M_JEeWsxN0a-I6jfA" elementId="org.simantics.diagram.commandparameter.canvasCommandHandlerActiveWithPart" name="CanvasCommandHandlerActiveWithPart"/>
16 <fragments xsi:type="fragment:StringModelFragment" xmi:id="_twqPYMtGEeWfDdI1wOX-XQ" featurename="snippets" parentElementId="xpath:/">
17 <elements xsi:type="menu:PopupMenu" xmi:id="_cKVPYM8LEeWsxN0a-I6jfA" elementId="org.simantics.charts.popupmenu.contextMenu" label="Time Series Popup" tooltip="Time Series Popup">
18 <children xsi:type="menu:DynamicMenuContribution" xmi:id="_OYqH4M8OEeWsxN0a-I6jfA" elementId="org.simantics.charts.dynamicmenucontribution.0" label="Move Hairline Here" contributionURI="bundleclass://org.simantics.charts/org.simantics.charts.editor.e4.MoveHairlineHandler"/>
19 <children xsi:type="menu:HandledMenuItem" xmi:id="_uKheYM8LEeWsxN0a-I6jfA" elementId="org.simantics.charts.handledmenuitem.zoomtofit" label="Zoom to Fit" iconURI="platform:/plugin/org.simantics.charts/icons/horizAndVert16.png" tooltip="Zoom to Fit" command="_Cv5DgMm0EeW7xbSNBQl45w">
20 <parameters xmi:id="_7XaWcM8LEeWsxN0a-I6jfA" elementId="org.simantics.charts.parameter.zoomToFit" name="org.simantics.diagram.commandparameter.canvasCommandDelegateParameter" value="zoomToFit"/>
22 <children xsi:type="menu:HandledMenuItem" xmi:id="__y0KwM8LEeWsxN0a-I6jfA" elementId="org.simantics.charts.handledmenuitem.zoomToFitHoriz" label="Zoom to Fit Horizontally" iconURI="platform:/plugin/org.simantics.charts/icons/horiz16.png" tooltip="Zoom to Fit Horizontally" command="_Cv5DgMm0EeW7xbSNBQl45w">
23 <parameters xmi:id="__y0Kwc8LEeWsxN0a-I6jfA" elementId="org.simantics.charts.parameter.zoomToFitHoriz" name="org.simantics.diagram.commandparameter.canvasCommandDelegateParameter" value="org.simantics.chart.zoomToFitHoriz"/>
25 <children xsi:type="menu:HandledMenuItem" xmi:id="__2FhMM8LEeWsxN0a-I6jfA" elementId="org.simantics.charts.handledmenuitem.zoomToFitVert" label="Zoom to Fit Vertically" iconURI="platform:/plugin/org.simantics.charts/icons/vert16.png" tooltip="Zoom to Fit Vertically" command="_Cv5DgMm0EeW7xbSNBQl45w">
26 <parameters xmi:id="_WAGFQM8MEeWsxN0a-I6jfA" elementId="org.simantics.charts.parameter.zoomToFitVertHandledParameter" name="org.simantics.diagram.commandparameter.canvasCommandDelegateParameter" value="org.simantics.chart.zoomToFitVert"/>
28 <children xsi:type="menu:HandledMenuItem" xmi:id="__5hPsM8LEeWsxN0a-I6jfA" elementId="org.simantics.charts.handledmenuitem.zoomtofit" label="Autoscale Chart" iconURI="platform:/plugin/org.simantics.charts/icons/autoscale16.png" tooltip="Autoscale Chart" command="_Cv5DgMm0EeW7xbSNBQl45w">
29 <parameters xmi:id="_dpBlgM8MEeWsxN0a-I6jfA" elementId="org.simantics.charts.parameter.autoscaleHandledParameter" name="org.simantics.diagram.commandparameter.canvasCommandDelegateParameter" value="org.simantics.chart.autoscale"/>
32 <elements xsi:type="menu:ToolBar" xmi:id="_F9dnIM9kEeWsxN0a-I6jfA" elementId="org.simantics.charts.toolbar.default.snippet">
33 <children xsi:type="menu:HandledToolItem" xmi:id="_F9dnIc9kEeWsxN0a-I6jfA" elementId="org.simantics.charts.handledtoolitem.zoomToFit" label="Zoom To Fit" iconURI="platform:/plugin/org.simantics.charts/icons/horizAndVert16.png" tooltip="Zoom To Fit" command="_Cv5DgMm0EeW7xbSNBQl45w">
34 <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_F9dnIs9kEeWsxN0a-I6jfA" coreExpressionId="org.simantics.charts.context.active"/>
35 <parameters xmi:id="_F9dnI89kEeWsxN0a-I6jfA" elementId="org.simantics.charts.parameter.zoomToFitHandledParameter" name="org.simantics.diagram.commandparameter.canvasCommandDelegateParameter" value="zoomToFit"/>
37 <children xsi:type="menu:HandledToolItem" xmi:id="_F9dnJM9kEeWsxN0a-I6jfA" elementId="org.simantics.charts.handledtoolitem.zoomToFitHoriz" label="Zoom To Fit Horizontally" iconURI="platform:/plugin/org.simantics.charts/icons/horiz16.png" tooltip="Zoom To Fit Horizontally" command="_Cv5DgMm0EeW7xbSNBQl45w">
38 <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_F9dnJc9kEeWsxN0a-I6jfA" coreExpressionId="org.simantics.charts.context.active"/>
39 <parameters xmi:id="_F9dnJs9kEeWsxN0a-I6jfA" elementId="org.simantics.charts.parameter.zoomToFitHorizHandledParameter" name="org.simantics.diagram.commandparameter.canvasCommandDelegateParameter" value="org.simantics.chart.zoomToFitHoriz"/>
41 <children xsi:type="menu:HandledToolItem" xmi:id="_F9dnJ89kEeWsxN0a-I6jfA" elementId="org.simantics.charts.handledtoolitem.zoomToFitVert" label="Zoom To Fit Vertically" iconURI="platform:/plugin/org.simantics.charts/icons/vert16.png" tooltip="Zoom To Fit Vertically" command="_Cv5DgMm0EeW7xbSNBQl45w">
42 <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_F9dnKM9kEeWsxN0a-I6jfA" coreExpressionId="org.simantics.charts.context.active"/>
43 <parameters xmi:id="_F9dnKc9kEeWsxN0a-I6jfA" elementId="org.simantics.charts.parameter.zoomToFitVertHandledParameter" name="org.simantics.diagram.commandparameter.canvasCommandDelegateParameter" value="org.simantics.chart.zoomToFitVert"/>
45 <children xsi:type="menu:HandledToolItem" xmi:id="_F9dnKs9kEeWsxN0a-I6jfA" elementId="org.simantics.charts.handledtoolitem.autoscale" label="Autoscale Chart" iconURI="platform:/plugin/org.simantics.charts/icons/autoscale16.png" tooltip="Autoscale Chart" command="_Cv5DgMm0EeW7xbSNBQl45w">
46 <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_F9dnK89kEeWsxN0a-I6jfA" coreExpressionId="org.simantics.charts.context.active"/>
47 <parameters xmi:id="_F9dnLM9kEeWsxN0a-I6jfA" elementId="org.simantics.charts.parameter.autoscaleHandledParameter" name="org.simantics.diagram.commandparameter.canvasCommandDelegateParameter" value="org.simantics.chart.autoscale"/>
49 <children xsi:type="menu:HandledToolItem" xmi:id="_F9dnLc9kEeWsxN0a-I6jfA" elementId="org.simantics.charts.handledtoolitem.linktime" label="Link Charts" iconURI="platform:/plugin/org.simantics.charts/icons/link.png" tooltip="Link Charts" type="Check" command="_Cv5DgMm0EeW7xbSNBQl45w">
50 <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_F9dnLs9kEeWsxN0a-I6jfA" coreExpressionId="org.simantics.charts.context.active"/>
51 <parameters xmi:id="_F9dnL89kEeWsxN0a-I6jfA" elementId="org.simantics.charts.parameter.linkchartsHandledParameter" name="org.simantics.diagram.commandparameter.canvasCommandDelegateParameter" value="org.simantics.charts.linktime"/>
55 <fragments xsi:type="fragment:StringModelFragment" xmi:id="_lON7gM4rEeWooO9VO0ELpg" featurename="bindingTables" parentElementId="xpath:/">
56 <elements xsi:type="commands:BindingTable" xmi:id="_pPSkQM4rEeWooO9VO0ELpg" elementId="org.simantics.charts.bindingtable.0" bindingContext="_dowfMM6dEeWsxN0a-I6jfA">
57 <bindings xmi:id="_v6mlsM4rEeWooO9VO0ELpg" elementId="org.simantics.charts.keybinding.0" keySequence="1" command="_Cv5DgMm0EeW7xbSNBQl45w">
58 <parameters xmi:id="_x6FxMM4rEeWooO9VO0ELpg" elementId="org.simantics.charts.parameter.zoomToFit" name="org.simantics.diagram.commandparameter.canvasCommandDelegateParameter" value="zoomToFit"/>
60 <bindings xmi:id="_1IiO4M5GEeWooO9VO0ELpg" elementId="org.simantics.charts.keybinding.0" keySequence="2" command="_Cv5DgMm0EeW7xbSNBQl45w">
61 <parameters xmi:id="_1IiO4c5GEeWooO9VO0ELpg" elementId="org.simantics.charts.parameter.zoomToFit" name="org.simantics.diagram.commandparameter.canvasCommandDelegateParameter" value="org.simantics.chart.zoomToFitHoriz"/>
63 <bindings xmi:id="_1K3KIM5GEeWooO9VO0ELpg" elementId="org.simantics.charts.keybinding.0" keySequence="3" command="_Cv5DgMm0EeW7xbSNBQl45w">
64 <parameters xmi:id="_1K3KIc5GEeWooO9VO0ELpg" elementId="org.simantics.charts.parameter.zoomToFit" name="org.simantics.diagram.commandparameter.canvasCommandDelegateParameter" value="org.simantics.chart.zoomToFitVert"/>
66 <bindings xmi:id="_1M38UM5GEeWooO9VO0ELpg" elementId="org.simantics.charts.keybinding.0" keySequence="4" command="_Cv5DgMm0EeW7xbSNBQl45w">
67 <parameters xmi:id="_1M38Uc5GEeWooO9VO0ELpg" elementId="org.simantics.charts.parameter.zoomToFit" name="org.simantics.diagram.commandparameter.canvasCommandDelegateParameter" value="org.simantics.chart.autoscale"/>
69 <bindings xmi:id="_1PRwEM5GEeWooO9VO0ELpg" elementId="org.simantics.charts.keybinding.0" keySequence="5" command="_txoiYM-9EeWsxN0a-I6jfA"/>
70 <bindings xmi:id="_I2znsM70EeWsxN0a-I6jfA" elementId="org.simantics.charts.keybinding.1" keySequence="CTRL+W" command="_KG9A8M70EeWsxN0a-I6jfA"/>
71 <bindings xmi:id="_o8Ce8M8ZEeWsxN0a-I6jfA" elementId="org.simantics.charts.keybinding.2" keySequence="F12" command="_0Gm58M8ZEeWsxN0a-I6jfA"/>
74 <fragments xsi:type="fragment:StringModelFragment" xmi:id="__cnJQM9jEeWsxN0a-I6jfA" featurename="trimContributions" parentElementId="xpath:/">
75 <elements xsi:type="menu:TrimContribution" xmi:id="_DtDqwM9kEeWsxN0a-I6jfA" elementId="org.simantics.charts.trimcontribution.0" parentId="org.eclipse.ui.main.toolbar" positionInParent="before=org.simantics.modeling.ui.toolbar.diagramEditorToolbar">
76 <children xsi:type="menu:ToolBar" xmi:id="_3LDtQMtGEeWfDdI1wOX-XQ" elementId="org.simantics.charts.toolbar.default">
77 <children xsi:type="menu:HandledToolItem" xmi:id="_3LDtQctGEeWfDdI1wOX-XQ" elementId="org.simantics.charts.handledtoolitem.zoomToFit" label="Zoom To Fit" iconURI="platform:/plugin/org.simantics.charts/icons/horizAndVert16.png" tooltip="Zoom To Fit" command="_Cv5DgMm0EeW7xbSNBQl45w">
78 <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_3LDtQstGEeWfDdI1wOX-XQ" coreExpressionId="org.simantics.charts.context.active"/>
79 <parameters xmi:id="_3LDtQ8tGEeWfDdI1wOX-XQ" elementId="org.simantics.charts.parameter.zoomToFitHandledParameter" name="org.simantics.diagram.commandparameter.canvasCommandDelegateParameter" value="zoomToFit"/>
80 <parameters xmi:id="_PnhdwM_JEeWsxN0a-I6jfA" elementId="org.simantics.charts.parameter.canvasCommandHandlerActiveWithPart" name="org.simantics.diagram.commandparameter.canvasCommandHandlerActiveWithPart" value="org.simantics.charts.editor.timeseries"/>
82 <children xsi:type="menu:HandledToolItem" xmi:id="_3LDtRMtGEeWfDdI1wOX-XQ" elementId="org.simantics.charts.handledtoolitem.zoomToFitHoriz" label="Zoom To Fit Horizontally" iconURI="platform:/plugin/org.simantics.charts/icons/horiz16.png" tooltip="Zoom To Fit Horizontally" command="_Cv5DgMm0EeW7xbSNBQl45w">
83 <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_3LDtRctGEeWfDdI1wOX-XQ" coreExpressionId="org.simantics.charts.context.active"/>
84 <parameters xmi:id="_3LDtRstGEeWfDdI1wOX-XQ" elementId="org.simantics.charts.parameter.zoomToFitHorizHandledParameter" name="org.simantics.diagram.commandparameter.canvasCommandDelegateParameter" value="org.simantics.chart.zoomToFitHoriz"/>
85 <parameters xmi:id="_Zwyz0M_JEeWsxN0a-I6jfA" elementId="org.simantics.charts.parameter.canvasCommandHandlerActiveWithPart" name="org.simantics.diagram.commandparameter.canvasCommandHandlerActiveWithPart" value="org.simantics.charts.editor.timeseries"/>
87 <children xsi:type="menu:HandledToolItem" xmi:id="_3LDtR8tGEeWfDdI1wOX-XQ" elementId="org.simantics.charts.handledtoolitem.zoomToFitVert" label="Zoom To Fit Vertically" iconURI="platform:/plugin/org.simantics.charts/icons/vert16.png" tooltip="Zoom To Fit Vertically" command="_Cv5DgMm0EeW7xbSNBQl45w">
88 <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_3LDtSMtGEeWfDdI1wOX-XQ" coreExpressionId="org.simantics.charts.context.active"/>
89 <parameters xmi:id="_3LDtSctGEeWfDdI1wOX-XQ" elementId="org.simantics.charts.parameter.zoomToFitVertHandledParameter" name="org.simantics.diagram.commandparameter.canvasCommandDelegateParameter" value="org.simantics.chart.zoomToFitVert"/>
90 <parameters xmi:id="_Z9lSoM_JEeWsxN0a-I6jfA" elementId="org.simantics.charts.parameter.canvasCommandHandlerActiveWithPart" name="org.simantics.diagram.commandparameter.canvasCommandHandlerActiveWithPart" value="org.simantics.charts.editor.timeseries"/>
92 <children xsi:type="menu:HandledToolItem" xmi:id="_3LDtSstGEeWfDdI1wOX-XQ" elementId="org.simantics.charts.handledtoolitem.autoscale" label="Autoscale Chart" iconURI="platform:/plugin/org.simantics.charts/icons/autoscale16.png" tooltip="Autoscale Chart" command="_Cv5DgMm0EeW7xbSNBQl45w">
93 <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_3LDtS8tGEeWfDdI1wOX-XQ" coreExpressionId="org.simantics.charts.context.active"/>
94 <parameters xmi:id="_3LDtTMtGEeWfDdI1wOX-XQ" elementId="org.simantics.charts.parameter.autoscaleHandledParameter" name="org.simantics.diagram.commandparameter.canvasCommandDelegateParameter" value="org.simantics.chart.autoscale"/>
95 <parameters xmi:id="_aEz8AM_JEeWsxN0a-I6jfA" elementId="org.simantics.charts.parameter.canvasCommandHandlerActiveWithPart" name="org.simantics.diagram.commandparameter.canvasCommandHandlerActiveWithPart" value="org.simantics.charts.editor.timeseries"/>
97 <children xsi:type="menu:HandledToolItem" xmi:id="_3LDtTctGEeWfDdI1wOX-XQ" elementId="org.simantics.charts.handledtoolitem.linktime" label="Link Charts" iconURI="platform:/plugin/org.simantics.charts/icons/link.png" tooltip="Link Charts" type="Check" command="_txoiYM-9EeWsxN0a-I6jfA">
98 <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_3LDtTstGEeWfDdI1wOX-XQ" coreExpressionId="org.simantics.charts.context.active"/>
103 </fragment:ModelFragments>