1 L0 = <http://www.simantics.org/Layer0-1.1>
\r
2 VP = <http://www.simantics.org/Viewpoint-1.2>
\r
3 CSG = <http://www.simantics.org/CSG-0.1>
\r
4 PROJ = <http://www.simantics.org/Project-1.2>
\r
5 SIM = <http://www.simantics.org/Simulation-1.1>
\r
6 IMAGE = <http://www.simantics.org/Image2-1.2>
\r
7 ACT = <http://www.simantics.org/Action-1.1>
\r
8 G3D = <http://www.simantics.org/G3D-0.1>
\r
9 SEL = <http://www.simantics.org/SelectionView-1.2>
\r
11 CBC = CSG.CSGBrowseContext : VP.BrowseContext
\r
12 //VP.BrowseContext.IsIncludedIn PROJ.ProjectBrowseContext
\r
13 @VP.constantImageRule CSG.Union IMAGES.Union
\r
14 @VP.constantImageRule CSG.Difference IMAGES.Difference
\r
15 @VP.constantImageRule CSG.Intersection IMAGES.Intersection
\r
16 @VP.constantImageRule CSG.Primitive IMAGES.Ruby
\r
17 @VP.constantImageRule CSG.Model IMAGES.Ruby
\r
18 @VP.relationChildRule CSG.Model G3D.nodes CSG.Shape
\r
19 @VP.relationChildRule CSG.Shape G3D.nodes CSG.Shape
\r
20 @VP.relationChildRule PROJ.Project L0.ConsistsOf CSG.Model
\r
22 IMAGES = CSG.Images : L0.Library
\r
23 IMAGES.Union : IMAGE.PngImage
\r
24 @L0.loadBytes "images/union.png"
\r
25 IMAGES.Difference : IMAGE.PngImage
\r
26 @L0.loadBytes "images/difference.png"
\r
27 IMAGES.Intersection : IMAGE.PngImage
\r
28 @L0.loadBytes "images/intersection.png"
\r
29 IMAGES.Ruby : IMAGE.PngImage
\r
30 @L0.loadBytes "images/ruby.png"
\r
32 CBC.ShapeTabContribution <T SEL.TypedVariableTabContribution
\r
33 SEL.TypedVariableTabContribution.HasType CSG.Shape
\r
37 CBC.RunLabelRule : VP.LabelRule
\r
39 VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution
\r
40 VP.VisualsContribution.HasNodeType L0.Entity
\r
41 VP.VisualsContribution.HasRule VP.ResourceLabelLabelRule
\r
42 VP.VisualsContribution.HasRule VP.ResourceNameModifierRule
\r
45 CBC.ActiveLabelDecorationRule : VP.ConstantLabelDecorationRule
\r
46 VP.ConstantLabelDecorationRule.HasFormat "%s [ACTIVE]"
\r
47 VP.ConstantLabelDecorationRule.HasStyle "B"