]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.annotation.ontology/graph/AnnotationView.pgraph
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.annotation.ontology / graph / AnnotationView.pgraph
diff --git a/bundles/org.simantics.annotation.ontology/graph/AnnotationView.pgraph b/bundles/org.simantics.annotation.ontology/graph/AnnotationView.pgraph
new file mode 100644 (file)
index 0000000..352589e
--- /dev/null
@@ -0,0 +1,125 @@
+L0 = <http://www.simantics.org/Layer0-1.1>\r
+VP = <http://www.simantics.org/Viewpoint-1.2>\r
+VIEW = <http://www.simantics.org/Views-1.2>\r
+SG = <http://www.simantics.org/Scenegraph-1.1>\r
+SEL = <http://www.simantics.org/SelectionView-1.2>\r
+SEL_UI = <http://www.simantics.org/SelectionViewUI-1.1>\r
+MOD = <http://www.simantics.org/Modeling-1.2>\r
+ANNO = <http://www.simantics.org/Annotation-1.0>\r
+\r
+ANNO.HasDefaultAnnotationType <R L0.IsRelatedTo\r
+    L0.HasDescription "Stores preference information related to the type of the previously user selected annotation type"\r
+ANNO.HasDefaultAnnotationName <R L0.IsRelatedTo\r
+    L0.HasDescription "Stores preference information related to the type of the previously user selected annotation name"\r
+ANNO.DefaultAnnotationSource <R L0.IsRelatedTo\r
+    L0.HasDescription "Stores preference information about which object to show in the annotation tab"\r
+\r
+ANNO.Functions.availableAnnotations : L0.Function\r
+    L0.HasValueType "[(String, Resource)]"\r
+ANNO.Functions.selectedAnnotation : L0.Function\r
+    L0.HasValueType "String"\r
+ANNO.Functions.selectedAnnotationModifier : L0.Function\r
+    L0.HasValueType "String -> String"\r
+ANNO.Functions.availableSources : L0.Function\r
+    L0.HasValueType "[(String, Resource)]"\r
+ANNO.Functions.selectedSource : L0.Function\r
+    L0.HasValueType "String"\r
+ANNO.Functions.selectedSourceModifier : L0.Function\r
+    L0.HasValueType "String -> String"\r
+ANNO.Functions.newAnnotationModifier : L0.Function\r
+    L0.HasValueType "String"\r
+ANNO.Functions.removeAnnotationModifier : L0.Function\r
+    L0.HasValueType "String"\r
+ANNO.Functions.saveAnnotationModifier : L0.Function\r
+    L0.HasValueType "String"\r
+ANNO.Functions.explorerInput : L0.Function\r
+    L0.HasValueType "a"\r
+ANNO.Functions.explorerInput2 : L0.Function\r
+    L0.HasValueType "a"\r
+ANNO.Functions.descriptionText : L0.Function\r
+    L0.HasValueType "String"\r
+\r
+ANNO.SelectionTabContribution : SEL.TypedVariableTabContribution\r
+    SEL.TypedVariableTabContribution.HasType L0.Entity\r
+    SEL.VariableTabContribution.HasView ANNO.SelectionTab\r
+    SEL.VariableTabContribution.HasPriority -10\r
+    L0.HasLabel "Annotations"\r
+\r
+ANNO.SelectionTabContribution2 : SEL.TypedVariableTabContribution\r
+    SEL.TypedVariableTabContribution.HasType ANNO.Annotation\r
+    SEL.VariableTabContribution.HasView ANNO.SelectionTab2\r
+    SEL.VariableTabContribution.HasPriority -9\r
+    L0.HasLabel "Annotation Properties"\r
+\r
+ANNO.SelectionTab.BC : SEL_UI.StandardProperties.BrowseContextStandardChildren\r
+    VP.BrowseContext.HasChildContribution\r
+        MOD.Contributions.VariableChildren\r
+\r
+ANNO.SelectionTab : VIEW.Composite\r
+  VIEW.Composite.layout _ : VIEW.GridLayout\r
+    VIEW.GridLayout.columnCount 5\r
+  VIEW.Control.layoutData _ : VIEW.GridLayout.GridData\r
+    VIEW.GridLayout.GridData.horizontalGrab true\r
+    VIEW.GridLayout.GridData.verticalGrab true\r
+  SG.Node.children _ : L0.List\r
+    @L0.list\r
+      ANNO.SelectionTab.Combo1 : VIEW.Combo\r
+        @VIEW.Control.style1 VIEW.Control.Style.Constant.ReadOnly\r
+        VIEW.Control.layoutData _ : VIEW.GridLayout.GridData\r
+          VIEW.GridLayout.GridData.horizontalGrab true\r
+        VIEW.Combo.available ANNO.Functions.availableSources\r
+        VIEW.Combo.selected ANNO.Functions.selectedSource\r
+        VIEW.Combo.modifier ANNO.Functions.selectedSourceModifier\r
+      ANNO.SelectionTab.Combo2 : VIEW.Combo\r
+        @VIEW.Control.style1 VIEW.Control.Style.Constant.ReadOnly\r
+        VIEW.Control.layoutData _ : VIEW.GridLayout.GridData\r
+          VIEW.GridLayout.GridData.horizontalGrab true\r
+        VIEW.Combo.available ANNO.Functions.availableAnnotations\r
+        VIEW.Combo.selected ANNO.Functions.selectedAnnotation\r
+        VIEW.Combo.modifier ANNO.Functions.selectedAnnotationModifier\r
+      ANNO.SelectionTab.Add : VIEW.Button\r
+        VIEW.Control.layoutData _ : VIEW.GridLayout.GridData\r
+        VIEW.Button.text "Add"\r
+        VIEW.Button.tooltip "Add New or Attach Existing Annotation to Selected Entity"\r
+        VIEW.Button.modifier ANNO.Functions.newAnnotationModifier\r
+      ANNO.SelectionTab.Remove : VIEW.Button\r
+        VIEW.Control.layoutData _ : VIEW.GridLayout.GridData\r
+        VIEW.Button.text "Remove"\r
+        VIEW.Button.tooltip "Remove Current Annotation from Selected Entity"\r
+        VIEW.Button.modifier ANNO.Functions.removeAnnotationModifier\r
+      ANNO.SelectionTab.Save : VIEW.Button\r
+        VIEW.Control.layoutData _ : VIEW.GridLayout.GridData\r
+        VIEW.Button.text "Save"\r
+        VIEW.Button.tooltip "Attach Current Annotation to a Library"\r
+        VIEW.Button.modifier ANNO.Functions.saveAnnotationModifier\r
+      ANNO.SelectionTab.Description : VIEW.Label\r
+        @VIEW.Control.style1 VIEW.Control.Style.Constant.Border\r
+        VIEW.Control.layoutData _ : VIEW.GridLayout.GridData\r
+          VIEW.GridLayout.GridData.horizontalGrab true\r
+          VIEW.GridLayout.GridData.verticalGrab false\r
+          VIEW.GridLayout.GridData.horizontalSpan 5\r
+        VIEW.TextContainer.text ANNO.Functions.descriptionText\r
+      ANNO.SelectionTab.Properties : SEL_UI.StandardPropertiesBase\r
+        VIEW.Control.layoutData _ : VIEW.GridLayout.GridData\r
+          VIEW.GridLayout.GridData.horizontalGrab true\r
+          VIEW.GridLayout.GridData.verticalGrab true\r
+          VIEW.GridLayout.GridData.horizontalSpan 5\r
+        VIEW.Explorer.input ANNO.Functions.explorerInput\r
+        VIEW.Explorer.browseContext _ : VIEW.ResourceURI\r
+          VIEW.ResourceURI.HasResource ANNO.SelectionTab.BC        \r
+\r
+ANNO.SelectionTab2 : VIEW.Composite\r
+  VIEW.Composite.layout _ : VIEW.GridLayout\r
+    VIEW.GridLayout.columnCount 2\r
+  VIEW.Control.layoutData _ : VIEW.GridLayout.GridData\r
+    VIEW.GridLayout.GridData.horizontalGrab true\r
+    VIEW.GridLayout.GridData.verticalGrab true\r
+  SG.Node.children _ : L0.List\r
+    @L0.list\r
+      ANNO.SelectionTab2.Properties : SEL_UI.StandardPropertiesBase\r
+        VIEW.Control.layoutData _ : VIEW.GridLayout.GridData\r
+          VIEW.GridLayout.GridData.horizontalGrab true\r
+          VIEW.GridLayout.GridData.verticalGrab true\r
+          VIEW.GridLayout.GridData.horizontalSpan 2\r
+        VIEW.Explorer.input ANNO.Functions.explorerInput2\r
+        
\ No newline at end of file