]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.document.ontology/graph/Document.pgraph
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.document.ontology / graph / Document.pgraph
index e869da069170145f7b0e3298e6a9469a927175bc..e006a5fd8a141157a7f5e7687a1b79a030f617c6 100644 (file)
-L0 = <http://www.simantics.org/Layer0-1.1>\r
-L0X = <http://www.simantics.org/Layer0X-1.1>\r
-SG = <http://www.simantics.org/Scenegraph-1.1>\r
-SEL = <http://www.simantics.org/SelectionView-1.2>\r
-GF = <http://www.simantics.org/GraphFile-0.1>\r
-\r
-DOC = <http://www.simantics.org/Document-1.2> : L0.Ontology\r
-    @L0.new\r
-    L0.HasResourceClass "org.simantics.document.DocumentResource"\r
-    \r
-DOC.cssDocument <R L0.HasProperty --> L0.String : L0.FunctionalRelation\r
-\r
-DOC.DocumentSettings <T L0.Literal\r
-    @L0.assert L0.HasDataType ${ marginLeft : Integer, marginRight : Integer, marginTop : Integer, marginBottom : Integer }\r
-\r
-DOC.DocumentSettings."n-marginLeft" <R L0.HasProperty : L0.FunctionalRelation : SEL.GenericParameterType\r
-    ==> "Integer"\r
-    L0.HasSubliteralPredicate.Inverse DOC.DocumentSettings    \r
-    L0.HasLabel "Left Margin"\r
-    SEL.SortingName "1"\r
-\r
-DOC.DocumentSettings."n-marginRight" <R L0.HasProperty : L0.FunctionalRelation : SEL.GenericParameterType\r
-    ==> "Integer"\r
-    L0.HasSubliteralPredicate.Inverse DOC.DocumentSettings    \r
-    L0.HasLabel "Right Margin"\r
-    SEL.SortingName "2"\r
-    \r
-DOC.DocumentSettings."n-marginTop" <R L0.HasProperty : L0.FunctionalRelation : SEL.GenericParameterType\r
-    ==> "Integer"\r
-    L0.HasSubliteralPredicate.Inverse DOC.DocumentSettings    \r
-    L0.HasLabel "Top Margin"\r
-    SEL.SortingName "3"\r
-\r
-DOC.DocumentSettings."n-marginBottom" <R L0.HasProperty : L0.FunctionalRelation : SEL.GenericParameterType\r
-    ==> "Integer"\r
-    L0.HasSubliteralPredicate.Inverse DOC.DocumentSettings    \r
-    L0.HasLabel "Bottom Margin"\r
-    SEL.SortingName "4"\r
-\r
-DOC.documentSettings <R L0.HasProperty : L0.FunctionalRelation : SEL.GenericParameterType\r
-    L0.HasLabel "Wiki Document Settings"\r
-    --> DOC.DocumentSettings\r
-    SEL.HasDisplayValue ""\r
-    L0.readOnly true\r
-    SEL.canBeLifted false\r
-    \r
-// Attachment relations    \r
-DOC.HasDocument <R L0.DependsOn\r
-    L0.HasRange DOC.Document\r
-\r
-DOC.HasDocumentation <R DOC.HasDocument : L0.FunctionalRelation\r
-    L0.HasRange DOC.ScenegraphDocument\r
-\r
-// Document types\r
-DOC.Document <T L0.Entity\r
-\r
-DOC.WikiDocument <T DOC.Document\r
-    >-- DOC.WikiDocument.wikiText --> DOC.WikiDocument.WikiText <R L0.HasProperty : L0.FunctionalRelation\r
-//DOC.MicrosoftWordDocument <T DOC.Document\r
-//    >-- DOC.MicrosoftWordDocument.data --> DOC.MicrosoftWordDocument.Data <R L0.HasProperty : L0.FunctionalRelation\r
-DOC.PlainTextFileDocument <T DOC.Document    \r
-    >-- DOC.PlainTextFileDocument.filePath --> DOC.PlainTextFileDocument.FilePath <R L0.HasProperty : L0.FunctionalRelation\r
-DOC.ScenegraphDocument <T DOC.Document\r
-    >-- DOC.ScenegraphDocument.scenegraph --> DOC.Scenegraph.Node <R L0.DependsOn : L0.FunctionalRelation    \r
-\r
-DOC.FileDocument <T DOC.Document <T GF.File\r
-\r
-DOC.HasUrl <R L0.HasProperty : L0.FunctionalRelation\r
-    L0.HasRange L0.URI\r
-    L0.HasDomain DOC.UrlDocument\r
-\r
-DOC.UrlDocument <T DOC.Document\r
-\r
-// TODO: this should be removed after it is no longer used in Sysdyn.\r
-DOC.Report <T DOC.Document\r
-    // [Tuukka] I've no idea what to replace this with\r
-    @L0.tag L0.Deprecated\r
-    //@L0.singleProperty DOC.HasDocumentation\r
-    //@L0.singleProperty DOC.HasWikiText\r
-\r
-// Literals\r
-DOC.WikiDocument.WikiText <T L0.String\r
-//    @L0.assert L0.HasDataType $String\r
-//    @L0.assert L0.HasValueType "String"\r
-//DOC.MicrosoftWordDocument.Data <T L0.ByteArray\r
-//    @L0.assert L0.HasDataType $(Byte[])\r
-//    @L0.assert L0.HasValueType "ByteArray"\r
-DOC.PlainTextFileDocument.FilePath <T L0.String\r
-//    @L0.assert L0.HasDataType $String\r
-//    @L0.assert L0.HasValueType "String"\r
-\r
-// Functions    \r
-DOC.Functions : L0.Library    \r
-DOC.Functions.documentationRootVariable : L0.Function\r
- L0.HasValueType "Variable"\r
-DOC.Functions.documentationText : L0.Function\r
- L0.HasValueType "String"\r
-DOC.Functions.standardEditText : L0.Function\r
-  L0.HasValueType "String"\r
-\r
-// Document scene graph\r
-    \r
-DOC.Scenegraph : L0.Library\r
-\r
-DOC.Scenegraph.ParameterType <T L0.FunctionalRelation\r
-  @L0.assert SEL.HasDisplayProperty\r
-    _ : SEL.DisplayProperty\r
-  @L0.assert SEL.HasDisplayValue\r
-    _ : SEL.DisplayValue\r
-  @L0.assert SEL.HasDisplayUnit\r
-    _ : SEL.DisplayUnit\r
-  @L0.assert SEL.HasStandardPropertyInfo\r
-    DOC.Scenegraph.CategoryHidden : SEL.StandardPropertyInfo\r
-      SEL.StandardPropertyInfo.CategoryName ""\r
-      SEL.StandardPropertyInfo.CategorySortingName ""\r
-      SEL.StandardPropertyInfo.IsHidden true\r
-\r
-DOC.Scenegraph.Node <T SG.Node\r
-  >-- DOC.Scenegraph.Node.printInPDF ==> "Boolean" <R SG.Node.HasProperty : DOC.Scenegraph.ParameterType\r
-  >-- DOC.Scenegraph.Node.editText ==> "String" <R SG.Node.HasProperty : DOC.Scenegraph.ParameterType\r
-  @L0.assert DOC.Scenegraph.Node.editText ""//DOC.Functions.standardEditText\r
-\r
-DOC.Scenegraph.Composite <T DOC.Scenegraph.Node\r
-\r
-DOC.Scenegraph.Wiki <T DOC.Scenegraph.Node\r
-  >-- DOC.Scenegraph.Wiki.text ==> "String" <R SG.Node.HasProperty : DOC.Scenegraph.ParameterType\r
-\r
-DOC.Scenegraph.Diagram <T DOC.Scenegraph.Node\r
-  >-- DOC.Scenegraph.Diagram.path ==> "String" <R SG.Node.HasProperty : DOC.Scenegraph.ParameterType\r
-    \r
-DOC.DocumentTypeBinding <T L0.Entity\r
-  >-- DOC.DocumentTypeBinding.HasType --> L0.Type <R L0.DependsOn\r
-  >-- DOC.DocumentTypeBinding.HasDocumentType --> DOC.Scenegraph <R L0.DependsOn\r
-  >-- DOC.DocumentTypeBinding.priority ==> "Double" <R L0.HasProperty : L0.TotalFunction\r
-  @L0.assert DOC.DocumentTypeBinding.priority 0.0\r
-\r
-\r
-// Deprecated\r
-DOC.HasReportFactory <R L0.DependsOn\r
-    L0.HasRange DOC.Report\r
-DOC.HasDocumentTemplate <R L0.DependsOn\r
-    L0.HasRange DOC.DocumentTemplate\r
-DOC.DocumentTemplate <T L0.Entity\r
-    @L0.singleProperty DOC.HasDocumentation\r
-    \r
-    \r
-DOC.HasOlderVersion <R L0.IsWeaklyRelatedTo\r
-   L0.InverseOf DOC.HasNewerVersion <R L0.IsWeaklyRelatedTo\r
-   \r
-DOC.HasLibraryRelation <R L0.IsWeaklyRelatedTo\r
-   L0.HasRange L0.Relation\r
-\r
-DOC.HasVersionType <R L0.IsRelatedTo\r
-   L0.HasRange L0.String\r
-\r
-DOC.PlainTextDocument <T DOC.Document\r
-   >-- DOC.PlainTextDocument.text ==> "String" <R L0.HasProperty : L0.FunctionalRelation\r
-\r
-\r
-DOC.DocumentLibrary <T L0.Library\r
+L0 = <http://www.simantics.org/Layer0-1.1>
+L0X = <http://www.simantics.org/Layer0X-1.1>
+SG = <http://www.simantics.org/Scenegraph-1.1>
+SEL = <http://www.simantics.org/SelectionView-1.2>
+GF = <http://www.simantics.org/GraphFile-0.1>
+
+DOC = <http://www.simantics.org/Document-1.2> : L0.Ontology
+    @L0.new
+    L0.HasResourceClass "org.simantics.document.DocumentResource"
+    
+DOC.cssDocument <R L0.HasProperty --> L0.String : L0.FunctionalRelation
+
+DOC.DocumentSettings <T L0.Literal
+    @L0.assert L0.HasDataType ${ marginLeft : Integer, marginRight : Integer, marginTop : Integer, marginBottom : Integer }
+
+DOC.DocumentSettings."n-marginLeft" <R L0.HasProperty : L0.FunctionalRelation : SEL.GenericParameterType
+    ==> "Integer"
+    L0.HasSubliteralPredicate.Inverse DOC.DocumentSettings    
+    L0.HasLabel "Left Margin"
+    SEL.SortingName "1"
+
+DOC.DocumentSettings."n-marginRight" <R L0.HasProperty : L0.FunctionalRelation : SEL.GenericParameterType
+    ==> "Integer"
+    L0.HasSubliteralPredicate.Inverse DOC.DocumentSettings    
+    L0.HasLabel "Right Margin"
+    SEL.SortingName "2"
+    
+DOC.DocumentSettings."n-marginTop" <R L0.HasProperty : L0.FunctionalRelation : SEL.GenericParameterType
+    ==> "Integer"
+    L0.HasSubliteralPredicate.Inverse DOC.DocumentSettings    
+    L0.HasLabel "Top Margin"
+    SEL.SortingName "3"
+
+DOC.DocumentSettings."n-marginBottom" <R L0.HasProperty : L0.FunctionalRelation : SEL.GenericParameterType
+    ==> "Integer"
+    L0.HasSubliteralPredicate.Inverse DOC.DocumentSettings    
+    L0.HasLabel "Bottom Margin"
+    SEL.SortingName "4"
+
+DOC.documentSettings <R L0.HasProperty : L0.FunctionalRelation : SEL.GenericParameterType
+    L0.HasLabel "Wiki Document Settings"
+    --> DOC.DocumentSettings
+    SEL.HasDisplayValue ""
+    L0.readOnly true
+    SEL.canBeLifted false
+    
+// Attachment relations    
+DOC.HasDocument <R L0.DependsOn
+    L0.HasRange DOC.Document
+
+DOC.HasDocumentation <R DOC.HasDocument : L0.FunctionalRelation
+    L0.HasRange DOC.ScenegraphDocument
+
+// Document types
+DOC.Document <T L0.Entity
+
+DOC.WikiDocument <T DOC.Document
+    >-- DOC.WikiDocument.wikiText --> DOC.WikiDocument.WikiText <R L0.HasProperty : L0.FunctionalRelation
+//DOC.MicrosoftWordDocument <T DOC.Document
+//    >-- DOC.MicrosoftWordDocument.data --> DOC.MicrosoftWordDocument.Data <R L0.HasProperty : L0.FunctionalRelation
+DOC.PlainTextFileDocument <T DOC.Document    
+    >-- DOC.PlainTextFileDocument.filePath --> DOC.PlainTextFileDocument.FilePath <R L0.HasProperty : L0.FunctionalRelation
+DOC.ScenegraphDocument <T DOC.Document
+    >-- DOC.ScenegraphDocument.scenegraph --> DOC.Scenegraph.Node <R L0.DependsOn : L0.FunctionalRelation    
+
+DOC.FileDocument <T DOC.Document <T GF.File
+
+DOC.HasUrl <R L0.HasProperty : L0.FunctionalRelation
+    L0.HasRange L0.URI
+    L0.HasDomain DOC.UrlDocument
+
+DOC.UrlDocument <T DOC.Document
+
+// TODO: this should be removed after it is no longer used in Sysdyn.
+DOC.Report <T DOC.Document
+    // [Tuukka] I've no idea what to replace this with
+    @L0.tag L0.Deprecated
+    //@L0.singleProperty DOC.HasDocumentation
+    //@L0.singleProperty DOC.HasWikiText
+
+// Literals
+DOC.WikiDocument.WikiText <T L0.String
+//    @L0.assert L0.HasDataType $String
+//    @L0.assert L0.HasValueType "String"
+//DOC.MicrosoftWordDocument.Data <T L0.ByteArray
+//    @L0.assert L0.HasDataType $(Byte[])
+//    @L0.assert L0.HasValueType "ByteArray"
+DOC.PlainTextFileDocument.FilePath <T L0.String
+//    @L0.assert L0.HasDataType $String
+//    @L0.assert L0.HasValueType "String"
+
+// Functions    
+DOC.Functions : L0.Library    
+DOC.Functions.documentationRootVariable : L0.Function
+ L0.HasValueType "Variable"
+DOC.Functions.documentationText : L0.Function
+ L0.HasValueType "String"
+DOC.Functions.standardEditText : L0.Function
+  L0.HasValueType "String"
+
+// Document scene graph
+    
+DOC.Scenegraph : L0.Library
+
+DOC.Scenegraph.ParameterType <T L0.FunctionalRelation
+  @L0.assert SEL.HasDisplayProperty
+    _ : SEL.DisplayProperty
+  @L0.assert SEL.HasDisplayValue
+    _ : SEL.DisplayValue
+  @L0.assert SEL.HasDisplayUnit
+    _ : SEL.DisplayUnit
+  @L0.assert SEL.HasStandardPropertyInfo
+    DOC.Scenegraph.CategoryHidden : SEL.StandardPropertyInfo
+      SEL.StandardPropertyInfo.CategoryName ""
+      SEL.StandardPropertyInfo.CategorySortingName ""
+      SEL.StandardPropertyInfo.IsHidden true
+
+DOC.Scenegraph.Node <T SG.Node
+  >-- DOC.Scenegraph.Node.printInPDF ==> "Boolean" <R SG.Node.HasProperty : DOC.Scenegraph.ParameterType
+  >-- DOC.Scenegraph.Node.editText ==> "String" <R SG.Node.HasProperty : DOC.Scenegraph.ParameterType
+  @L0.assert DOC.Scenegraph.Node.editText ""//DOC.Functions.standardEditText
+
+DOC.Scenegraph.Composite <T DOC.Scenegraph.Node
+
+DOC.Scenegraph.Wiki <T DOC.Scenegraph.Node
+  >-- DOC.Scenegraph.Wiki.text ==> "String" <R SG.Node.HasProperty : DOC.Scenegraph.ParameterType
+
+DOC.Scenegraph.Diagram <T DOC.Scenegraph.Node
+  >-- DOC.Scenegraph.Diagram.path ==> "String" <R SG.Node.HasProperty : DOC.Scenegraph.ParameterType
+    
+DOC.DocumentTypeBinding <T L0.Entity
+  >-- DOC.DocumentTypeBinding.HasType --> L0.Type <R L0.DependsOn
+  >-- DOC.DocumentTypeBinding.HasDocumentType --> DOC.Scenegraph <R L0.DependsOn
+  >-- DOC.DocumentTypeBinding.priority ==> "Double" <R L0.HasProperty : L0.TotalFunction
+  @L0.assert DOC.DocumentTypeBinding.priority 0.0
+
+
+// Deprecated
+DOC.HasReportFactory <R L0.DependsOn
+    L0.HasRange DOC.Report
+DOC.HasDocumentTemplate <R L0.DependsOn
+    L0.HasRange DOC.DocumentTemplate
+DOC.DocumentTemplate <T L0.Entity
+    @L0.singleProperty DOC.HasDocumentation
+    
+    
+DOC.HasOlderVersion <R L0.IsWeaklyRelatedTo
+   L0.InverseOf DOC.HasNewerVersion <R L0.IsWeaklyRelatedTo
+   
+DOC.HasLibraryRelation <R L0.IsWeaklyRelatedTo
+   L0.HasRange L0.Relation
+
+DOC.HasVersionType <R L0.IsRelatedTo
+   L0.HasRange L0.String
+
+DOC.PlainTextDocument <T DOC.Document
+   >-- DOC.PlainTextDocument.text ==> "String" <R L0.HasProperty : L0.FunctionalRelation
+
+
+DOC.DocumentLibrary <T L0.Library
    
\ No newline at end of file