]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling.ui/fragment.e4xmi
Red background color & tooltip for invalid derived property expression
[simantics/platform.git] / bundles / org.simantics.modeling.ui / fragment.e4xmi
index 131129b6142e7ee58b0fe7fb255c5cb154856543..fa9f69832cd86873eed30d6c9c75dedbd0644f7b 100644 (file)
@@ -1,37 +1,37 @@
-<?xml version="1.0" encoding="ASCII"?>\r
-<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" xmi:id="_St00UEY1EeW-3eIiQWH6eQ">\r
-  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_UfSK4EY1EeW-3eIiQWH6eQ" featurename="handlers" parentElementId="xpath:/">\r
-    <elements xsi:type="commands:Handler" xmi:id="_tUSQkEZsEeWVEeKfdS2HAg" elementId="org.simantics.modeling.ui.handler.SessionUndoHandler" contributionURI="bundleclass://org.simantics.ui/org.simantics.ui.workbench.handler.e4.SessionUndoHandler" command="_vsdo4EZsEeWVEeKfdS2HAg"/>\r
-    <elements xsi:type="commands:Handler" xmi:id="_uJvR4EZsEeWVEeKfdS2HAg" elementId="org.simantics.modeling.ui.handler.SessionRedoHandler" contributionURI="bundleclass://org.simantics.ui/org.simantics.ui.workbench.handler.e4.SessionRedoHandler" command="_wblYsEZsEeWVEeKfdS2HAg"/>\r
-    <elements xsi:type="commands:Handler" xmi:id="_iRrGYKPwEeW8eee008tTJw" elementId="org.simantics.modeling.ui.handler.syncActivateModelTypicals" contributionURI="bundleclass://org.simantics.modeling.ui/org.simantics.modeling.ui.handlers.e4.SyncActiveModelTypicals" command="_e16xMKPwEeW8eee008tTJw"/>\r
-    <elements xsi:type="commands:Handler" xmi:id="_IrL-8KPxEeW8eee008tTJw" elementId="org.simantics.modeling.ui.handler.syncCurrentTypicalInstance" contributionURI="bundleclass://org.simantics.modeling.ui/org.simantics.modeling.ui.handlers.e4.SyncCurrentTypicalInstanceWithTemplate" command="_EqE58KPxEeW8eee008tTJw"/>\r
-    <elements xsi:type="commands:Handler" xmi:id="_LGdHgKPxEeW8eee008tTJw" elementId="org.simantics.modeling.ui.handler.syncCurrentTypicalTemplate" contributionURI="bundleclass://org.simantics.modeling.ui/org.simantics.modeling.ui.handlers.e4.SyncCurrentTypicalTemplateToInstances" command="_G8wHMKPxEeW8eee008tTJw"/>\r
-    <elements xsi:type="commands:Handler" xmi:id="_6dVm8MpBEeWfDdI1wOX-XQ" elementId="org.simantics.modeling.ui.handler.editStyle" contributionURI="bundleclass://org.simantics.modeling.ui/org.simantics.modeling.ui.actions.e4.EditStyleHandler" command="_yxn4cMpBEeWfDdI1wOX-XQ"/>\r
-    <elements xsi:type="commands:Handler" xmi:id="_uculsM8sEeWsxN0a-I6jfA" elementId="org.simantics.modeling.ui.handler.pageSettings" contributionURI="bundleclass://org.simantics.modeling.ui/org.simantics.modeling.ui.actions.e4.PageSettingsHandler" command="_qo02QM8sEeWsxN0a-I6jfA"/>\r
-    <elements xsi:type="commands:Handler" xmi:id="_FqawIM80EeWsxN0a-I6jfA" elementId="org.simantics.modeling.ui.handler.enableImageEditability" contributionURI="bundleclass://org.simantics.modeling.ui/org.simantics.modeling.ui.diagramEditor.handlers.e4.ToggleFocusabilityHandler" command="_PWK9YM8sEeWsxN0a-I6jfA"/>\r
-    <elements xsi:type="commands:Handler" xmi:id="_ARZw8NGNEeWms5ScZhgLXQ" elementId="org.simantics.modeling.ui.handler.importSVGPNG" contributionURI="bundleclass://org.simantics.modeling.ui/org.simantics.modeling.ui.actions.e4.ImportSVGPNG" command="_0KXtsNGMEeWms5ScZhgLXQ"/>\r
-  </fragments>\r
-  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_dFWo0EY1EeW-3eIiQWH6eQ" featurename="commands" parentElementId="xpath:/">\r
-    <elements xsi:type="commands:Command" xmi:id="_vsdo4EZsEeWVEeKfdS2HAg" elementId="org.simantics.modeling.ui.edit.undo" commandName="Session Undo" description="Undo last operations" category="_zxj2AEZsEeWVEeKfdS2HAg"/>\r
-    <elements xsi:type="commands:Command" xmi:id="_wblYsEZsEeWVEeKfdS2HAg" elementId="org.simantics.modeling.ui.edit.redo" commandName="Session Redo" description="Redo previously undoed operations" category="_zxj2AEZsEeWVEeKfdS2HAg"/>\r
-    <elements xsi:type="commands:Command" xmi:id="_e16xMKPwEeW8eee008tTJw" elementId="org.simantics.modeling.ui.command.syncactivemodeltypicals" commandName="Sync Active Model Typicals"/>\r
-    <elements xsi:type="commands:Command" xmi:id="_EqE58KPxEeW8eee008tTJw" elementId="org.simantics.modeling.ui.command.synccurrenttypicalinstance" commandName="Sync Current Typical Instance"/>\r
-    <elements xsi:type="commands:Command" xmi:id="_G8wHMKPxEeW8eee008tTJw" elementId="org.simantics.modeling.ui.command.synccurrenttypicaltemplate" commandName="Sync Current Typical Template"/>\r
-    <elements xsi:type="commands:Command" xmi:id="_yxn4cMpBEeWfDdI1wOX-XQ" elementId="org.simantics.modeling.ui.editStyle" commandName="Edit Style"/>\r
-    <elements xsi:type="commands:Command" xmi:id="_PWK9YM8sEeWsxN0a-I6jfA" elementId="org.simantics.modeling.ui.focusAllToggle" commandName="Enable Image Editability" description="Enable user to focus and edit properties of images on the active diagram editor."/>\r
-    <elements xsi:type="commands:Command" xmi:id="_qo02QM8sEeWsxN0a-I6jfA" elementId="org.simantics.modeling.ui.pagesettings" commandName="Page Settings"/>\r
-    <elements xsi:type="commands:Command" xmi:id="_0KXtsNGMEeWms5ScZhgLXQ" elementId="org.simantics.modeling.ui.importSVG" commandName="Import image from SVG/PNG file" description="Import image from SVG/PNG file"/>\r
-  </fragments>\r
-  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_xrQQ0EZsEeWVEeKfdS2HAg" featurename="categories" parentElementId="xpath:/">\r
-    <elements xsi:type="commands:Category" xmi:id="_zxj2AEZsEeWVEeKfdS2HAg" elementId="org.simantics.modeling.ui.category.UndoRedo" name="Undo Redo category"/>\r
-  </fragments>\r
-  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_DaiR0M8sEeWsxN0a-I6jfA" featurename="trimContributions" parentElementId="xpath:/">\r
-    <elements xsi:type="menu:TrimContribution" xmi:id="_Rn4AoM80EeWsxN0a-I6jfA" elementId="org.simantics.modeling.ui.trimcontribution.diagramEditorTrimContribution" parentId="org.eclipse.ui.main.toolbar" positionInParent="after=fi.vtt.apros.ui.diagram.toolbar.typical">\r
-      <children xsi:type="menu:ToolBar" xmi:id="_G7OxYM8sEeWsxN0a-I6jfA" elementId="org.simantics.modeling.ui.toolbar.diagramEditorToolbar">\r
-        <children xsi:type="menu:HandledToolItem" xmi:id="_IE1dwM8sEeWsxN0a-I6jfA" elementId="fi.vtt.apros.ui.diagram.handledtoolitem.enableimageeditability" label="Enable Image Editability" iconURI="platform:/plugin/com.famfamfam.silk/icons/image_edit.png" tooltip="Allow Focusing and Editing of Images" type="Check" command="_PWK9YM8sEeWsxN0a-I6jfA"/>\r
-        <children xsi:type="menu:HandledToolItem" xmi:id="_X2gmwM8sEeWsxN0a-I6jfA" elementId="org.simantics.modeling.ui.handledtoolitem.editstyle" label="Edit Style" iconURI="platform:/plugin/org.simantics.modeling.ui/icons/silk/palette.png" tooltip="Edit Style" command="_yxn4cMpBEeWfDdI1wOX-XQ"/>\r
-        <children xsi:type="menu:HandledToolItem" xmi:id="_9xRt0M8sEeWsxN0a-I6jfA" elementId="org.simantics.modeling.ui.handledtoolitem.pagesettings" label="Page Settings" iconURI="platform:/plugin/org.simantics.modeling.ui/icons/silk/page.png" tooltip="Page Settings" command="_qo02QM8sEeWsxN0a-I6jfA"/>\r
-      </children>\r
-    </elements>\r
-  </fragments>\r
-</fragment:ModelFragments>\r
+<?xml version="1.0" encoding="ASCII"?>
+<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" xmi:id="_St00UEY1EeW-3eIiQWH6eQ">
+  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_UfSK4EY1EeW-3eIiQWH6eQ" featurename="handlers" parentElementId="xpath:/">
+    <elements xsi:type="commands:Handler" xmi:id="_tUSQkEZsEeWVEeKfdS2HAg" elementId="org.simantics.modeling.ui.handler.SessionUndoHandler" contributionURI="bundleclass://org.simantics.ui/org.simantics.ui.workbench.handler.e4.SessionUndoHandler" command="_vsdo4EZsEeWVEeKfdS2HAg"/>
+    <elements xsi:type="commands:Handler" xmi:id="_uJvR4EZsEeWVEeKfdS2HAg" elementId="org.simantics.modeling.ui.handler.SessionRedoHandler" contributionURI="bundleclass://org.simantics.ui/org.simantics.ui.workbench.handler.e4.SessionRedoHandler" command="_wblYsEZsEeWVEeKfdS2HAg"/>
+    <elements xsi:type="commands:Handler" xmi:id="_iRrGYKPwEeW8eee008tTJw" elementId="org.simantics.modeling.ui.handler.syncActivateModelTypicals" contributionURI="bundleclass://org.simantics.modeling.ui/org.simantics.modeling.ui.handlers.e4.SyncActiveModelTypicals" command="_e16xMKPwEeW8eee008tTJw"/>
+    <elements xsi:type="commands:Handler" xmi:id="_IrL-8KPxEeW8eee008tTJw" elementId="org.simantics.modeling.ui.handler.syncCurrentTypicalInstance" contributionURI="bundleclass://org.simantics.modeling.ui/org.simantics.modeling.ui.handlers.e4.SyncCurrentTypicalInstanceWithTemplate" command="_EqE58KPxEeW8eee008tTJw"/>
+    <elements xsi:type="commands:Handler" xmi:id="_LGdHgKPxEeW8eee008tTJw" elementId="org.simantics.modeling.ui.handler.syncCurrentTypicalTemplate" contributionURI="bundleclass://org.simantics.modeling.ui/org.simantics.modeling.ui.handlers.e4.SyncCurrentTypicalTemplateToInstances" command="_G8wHMKPxEeW8eee008tTJw"/>
+    <elements xsi:type="commands:Handler" xmi:id="_6dVm8MpBEeWfDdI1wOX-XQ" elementId="org.simantics.modeling.ui.handler.editStyle" contributionURI="bundleclass://org.simantics.modeling.ui/org.simantics.modeling.ui.actions.e4.EditStyleHandler" command="_yxn4cMpBEeWfDdI1wOX-XQ"/>
+    <elements xsi:type="commands:Handler" xmi:id="_uculsM8sEeWsxN0a-I6jfA" elementId="org.simantics.modeling.ui.handler.pageSettings" contributionURI="bundleclass://org.simantics.modeling.ui/org.simantics.modeling.ui.actions.e4.PageSettingsHandler" command="_qo02QM8sEeWsxN0a-I6jfA"/>
+    <elements xsi:type="commands:Handler" xmi:id="_FqawIM80EeWsxN0a-I6jfA" elementId="org.simantics.modeling.ui.handler.enableImageEditability" contributionURI="bundleclass://org.simantics.modeling.ui/org.simantics.modeling.ui.diagramEditor.handlers.e4.ToggleFocusabilityHandler" command="_PWK9YM8sEeWsxN0a-I6jfA"/>
+    <elements xsi:type="commands:Handler" xmi:id="_ARZw8NGNEeWms5ScZhgLXQ" elementId="org.simantics.modeling.ui.handler.importSVGPNG" contributionURI="bundleclass://org.simantics.modeling.ui/org.simantics.modeling.ui.actions.e4.ImportSVGPNG" command="_0KXtsNGMEeWms5ScZhgLXQ"/>
+  </fragments>
+  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_dFWo0EY1EeW-3eIiQWH6eQ" featurename="commands" parentElementId="xpath:/">
+    <elements xsi:type="commands:Command" xmi:id="_vsdo4EZsEeWVEeKfdS2HAg" elementId="org.simantics.modeling.ui.edit.undo" commandName="Session Undo" description="Undo last operations" category="_zxj2AEZsEeWVEeKfdS2HAg"/>
+    <elements xsi:type="commands:Command" xmi:id="_wblYsEZsEeWVEeKfdS2HAg" elementId="org.simantics.modeling.ui.edit.redo" commandName="Session Redo" description="Redo previously undoed operations" category="_zxj2AEZsEeWVEeKfdS2HAg"/>
+    <elements xsi:type="commands:Command" xmi:id="_e16xMKPwEeW8eee008tTJw" elementId="org.simantics.modeling.ui.command.syncactivemodeltypicals" commandName="Sync Active Model Typicals"/>
+    <elements xsi:type="commands:Command" xmi:id="_EqE58KPxEeW8eee008tTJw" elementId="org.simantics.modeling.ui.command.synccurrenttypicalinstance" commandName="Sync Current Typical Instance"/>
+    <elements xsi:type="commands:Command" xmi:id="_G8wHMKPxEeW8eee008tTJw" elementId="org.simantics.modeling.ui.command.synccurrenttypicaltemplate" commandName="Sync Current Typical Template"/>
+    <elements xsi:type="commands:Command" xmi:id="_yxn4cMpBEeWfDdI1wOX-XQ" elementId="org.simantics.modeling.ui.editStyle" commandName="Edit Style"/>
+    <elements xsi:type="commands:Command" xmi:id="_PWK9YM8sEeWsxN0a-I6jfA" elementId="org.simantics.modeling.ui.focusAllToggle" commandName="Enable Image Editability" description="Enable user to focus and edit properties of images on the active diagram editor."/>
+    <elements xsi:type="commands:Command" xmi:id="_qo02QM8sEeWsxN0a-I6jfA" elementId="org.simantics.modeling.ui.pagesettings" commandName="Page Settings"/>
+    <elements xsi:type="commands:Command" xmi:id="_0KXtsNGMEeWms5ScZhgLXQ" elementId="org.simantics.modeling.ui.importSVG" commandName="Import image from SVG/PNG file" description="Import image from SVG/PNG file"/>
+  </fragments>
+  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_xrQQ0EZsEeWVEeKfdS2HAg" featurename="categories" parentElementId="xpath:/">
+    <elements xsi:type="commands:Category" xmi:id="_zxj2AEZsEeWVEeKfdS2HAg" elementId="org.simantics.modeling.ui.category.UndoRedo" name="Undo Redo category"/>
+  </fragments>
+  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_DaiR0M8sEeWsxN0a-I6jfA" featurename="trimContributions" parentElementId="xpath:/">
+    <elements xsi:type="menu:TrimContribution" xmi:id="_Rn4AoM80EeWsxN0a-I6jfA" elementId="org.simantics.modeling.ui.trimcontribution.diagramEditorTrimContribution" parentId="org.eclipse.ui.main.toolbar" positionInParent="after=fi.vtt.apros.ui.diagram.toolbar.typical">
+      <children xsi:type="menu:ToolBar" xmi:id="_G7OxYM8sEeWsxN0a-I6jfA" elementId="org.simantics.modeling.ui.toolbar.diagramEditorToolbar">
+        <children xsi:type="menu:HandledToolItem" xmi:id="_IE1dwM8sEeWsxN0a-I6jfA" elementId="fi.vtt.apros.ui.diagram.handledtoolitem.enableimageeditability" label="Enable Image Editability" iconURI="platform:/plugin/com.famfamfam.silk/icons/image_edit.png" tooltip="Allow Focusing and Editing of Images" type="Check" command="_PWK9YM8sEeWsxN0a-I6jfA"/>
+        <children xsi:type="menu:HandledToolItem" xmi:id="_X2gmwM8sEeWsxN0a-I6jfA" elementId="org.simantics.modeling.ui.handledtoolitem.editstyle" label="Edit Style" iconURI="platform:/plugin/org.simantics.modeling.ui/icons/silk/palette.png" tooltip="Edit Style" command="_yxn4cMpBEeWfDdI1wOX-XQ"/>
+        <children xsi:type="menu:HandledToolItem" xmi:id="_9xRt0M8sEeWsxN0a-I6jfA" elementId="org.simantics.modeling.ui.handledtoolitem.pagesettings" label="Page Settings" iconURI="platform:/plugin/org.simantics.modeling.ui/icons/silk/page.png" tooltip="Page Settings" command="_qo02QM8sEeWsxN0a-I6jfA"/>
+      </children>
+    </elements>
+  </fragments>
+</fragment:ModelFragments>