]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.modeling.template2d.ontology/graph/Profiles.pgraph
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.modeling.template2d.ontology / graph / Profiles.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2 L0X = <http://www.simantics.org/Layer0X-1.1>
3 DIA = <http://www.simantics.org/Diagram-2.2>
4 TEMPLATE2D = <http://www.simantics.org/ModelingTemplate2d-1.0>
5 G2D = <http://www.simantics.org/G2D-1.1>
6 SEL = <http://www.simantics.org/SelectionView-1.2>
7
8 UIFUNC = <http://www.simantics.org/Template2dFunctions-1.0> : L0.Library
9     @L0.new
10
11 TEMPLATE2D.Profiles : L0.Library
12
13
14 TEMPLATE2D.Profiles.VariableReference <T L0.Value
15   >-- TEMPLATE2D.Profiles.VariableReference.path --> L0.String <R L0.HasProperty : L0.FunctionalRelation
16   @L0.assert
17     L0.ConvertsToValueWith 
18     UIFUNC.variableReference : L0.ExternalValue
19   @L0.assert
20     SEL.HasDisplayValue
21     _ : L0.Value
22       SEL.HasDisplayColumn "HasDisplayValue"
23       L0.HasValueType "String"
24       L0.ConvertsToValueWith UIFUNC.variableReferencePath : L0.ExternalValue
25       SEL.HasCustomModifier UIFUNC.variableReferenceModifier : L0.Function
26
27
28 groupStyleEntry : L0.Template
29     @template %subject %style %group
30         %subject : DIA.GroupStyleProfileEntry
31             DIA.ProfileEntry.HasStyle %style
32             DIA.ProfileEntry.HasGroup %group
33
34 //-------------------------------------------------------------------------------
35 // Standard entries
36
37
38 TEMPLATE2D.DrawingFlagTableStyle : DIA.Style
39 TEMPLATE2D.DrawingTemplateStyle : DIA.Style
40 TEMPLATE2D.DrawingBorderStyle : DIA.Style
41
42 TEMPLATE2D.DiagramGroup : DIA.Group
43
44
45 TEMPLATE2D.Profiles.DrawingBorder
46     L0.HasLabel "Diagram border"
47     @groupStyleEntry TEMPLATE2D.DrawingBorderStyle TEMPLATE2D.DiagramGroup
48 TEMPLATE2D.Profiles.DrawingFlagTables
49     L0.HasLabel "Diagram flag tables"
50     @groupStyleEntry TEMPLATE2D.DrawingFlagTableStyle TEMPLATE2D.DiagramGroup
51 TEMPLATE2D.Profiles.DrawingTemplate
52     L0.HasLabel "Diagram template"
53     @groupStyleEntry TEMPLATE2D.DrawingTemplateStyle TEMPLATE2D.DiagramGroup
54    
55   
56