]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.district.network.ui.ontology/graph/DistrictNetworkUI.pgraph
Add an SCL interface for loading tech type files
[simantics/district.git] / org.simantics.district.network.ui.ontology / graph / DistrictNetworkUI.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2 VP = <http://www.simantics.org/Viewpoint-1.2>
3 VIEW = <http://www.simantics.org/Views-1.2>
4 SEL = <http://www.simantics.org/SelectionView-1.2>
5 SEL_UI = <http://www.simantics.org/SelectionViewUI-1.1>
6 DN = <http://www.simantics.org/DistrictNetwork-1.0>
7
8 DNUI = <http://www.simantics.org/DistrictNetworkUI-1.0> : L0.Ontology
9     @L0.new
10     L0.Ontology.global true
11     L0.HasResourceClass "org.simantics.district.network.ui.ontology.DistrictNetworkUIResource"
12
13 DNUI.SelectionTabContribution : SEL.TypedVariableTabContribution
14     SEL.TypedVariableTabContribution.HasType DN.Vertex
15     SEL.TypedVariableTabContribution.HasType DN.Edge
16     SEL.TypedVariableTabContribution.HasType DN.Diagram
17     SEL.VariableTabContribution.HasView SEL_UI.StandardProperties
18     SEL.VariableTabContribution.HasPriority 10
19     L0.HasLabel "Input Data"
20
21 DNUI.NetworkProperties : SEL_UI.StandardProperties
22     @L0.assert VIEW.Explorer.browseContext
23       _ : VIEW.ResourceURI
24         VIEW.ResourceURI.HasResource DN.BrowseContext
25
26 DNUI.SelectionTab : VIEW.Composite
27   VIEW.Composite.layout _ : VIEW.GridLayout
28     VIEW.GridLayout.columnCount 5
29   VIEW.Control.layoutData _ : VIEW.GridLayout.GridData
30     VIEW.GridLayout.GridData.horizontalGrab true
31     VIEW.GridLayout.GridData.verticalGrab true