]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.diagram.ontology/graph/DiagramProfiles.pgraph
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.diagram.ontology / graph / DiagramProfiles.pgraph
diff --git a/bundles/org.simantics.diagram.ontology/graph/DiagramProfiles.pgraph b/bundles/org.simantics.diagram.ontology/graph/DiagramProfiles.pgraph
new file mode 100644 (file)
index 0000000..652ea69
--- /dev/null
@@ -0,0 +1,82 @@
+L0 = <http://www.simantics.org/Layer0-1.1>\r
+L0X = <http://www.simantics.org/Layer0X-1.1>\r
+DIA = <http://www.simantics.org/Diagram-2.2>\r
+\r
+//// PROFILES\r
+\r
+DIA.Profile <T L0.List\r
+  >-- DIA.Profile.priority --> L0.Double <R L0.HasProperty : L0.FunctionalRelation\r
+  >-- DIA.Profile.children ==> "[Resource]" <R L0.HasProperty : L0.FunctionalRelation\r
+  @L0.assert DIA.Profile.priority 0.0\r
+  @L0.assert DIA.Profile.children DIA.Profile.Functions.profileChildren\r
+\r
+DIA.Profile.Functions : L0.Library\r
+\r
+DIA.Profile.Functions.singleResourceSelection : L0.Function\r
+    L0.HasValueType "a"\r
+DIA.Profile.Functions.profileChildren : L0.Function\r
+    L0.HasValueType "[Resource]"\r
+DIA.Profile.Functions.availableProfiles : L0.Function\r
+    L0.HasValueType "[(String, Resource)]"\r
+DIA.Profile.Functions.selectedProfile : L0.Function\r
+    L0.HasValueType "String"\r
+DIA.Profile.Functions.activeProfileModifier : L0.Function\r
+    L0.HasValueType "String -> String"\r
+DIA.Profile.Functions.profileEntrySelected : L0.Function\r
+    L0.HasValueType "a -> Boolean"\r
+\r
+DIA.ProfileEntry <T L0.Entity\r
+    @L0.property DIA.ProfileEntry.HasStyle\r
+    @L0.property DIA.ProfileEntry.HasGroup\r
+    @L0.assert DIA.ProfileEntry.HasPriority 0.0\r
+\r
+DIA.ProfileEntry.HasGroup <R L0.DependsOn : L0.FunctionalRelation\r
+DIA.ProfileEntry.HasStyle <R L0.DependsOn : L0.FunctionalRelation\r
+DIA.ProfileEntry.HasPriority <R L0.HasProperty : L0.FunctionalRelation\r
+\r
+DIA.GroupStyleProfileEntry <T DIA.ProfileEntry\r
+\r
+DIA.Group <T L0.Entity\r
+\r
+DIA.TypeGroup <T DIA.Group\r
+    >-- DIA.TypeGroup.HasType --> L0.Type <R L0.DependsOn \r
+\r
+DIA.MappedTypeGroup <T DIA.TypeGroup\r
+    @L0.property DIA.TypeGroup.HasType\r
+\r
+DIA.SCLGroup <T DIA.Group\r
+\r
+DIA.SingleSelectionGroup <T DIA.Group\r
+\r
+DIA.Style <T L0.Entity\r
+\r
+DIA.ConstantStyle <T DIA.Style\r
+\r
+DIA.ExpressionStyle <T DIA.Style\r
+\r
+DIA.SCLTextStyle <T DIA.Style\r
+DIA.BasicExpressionTextStyle <T DIA.Style\r
+\r
+// Deprecated\r
+DIA.HasProfile : L0.Entity\r
+DIA.HasProfile.Inverse : L0.Entity\r
+\r
+DIA.HasEntries <R L0.DependsOn\r
+\r
+DIA.HasActivationContext <R L0.DependsOn\r
+\r
+DIA.HasValues <R L0.HasProperty : L0.FunctionalRelation\r
+    L0.InverseOf DIA.ValuesOf\r
+\r
+DIA.HasVariableName <R L0.HasProperty : L0.FunctionalRelation\r
+\r
+DIA.HasActiveProfile <R L0.DependsOn : L0.FunctionalRelation\r
+DIA.RuntimeDiagram\r
+    @L0.optionalProperty DIA.HasActiveProfile\r
+    \r
+DIA.Profile.defaultEnabled\r
+  @L0.defTag\r
+  \r
+DIA.ConfigurableProfile <T L0.Entity\r
+\r
+\r