From: jsimomaa Date: Wed, 29 Mar 2017 16:47:59 +0000 (+0300) Subject: Some fixes to district stuff 3 X-Git-Tag: v1.31.0~12 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=2636fc31c16c23711cf2b06a4ae8537bba9c1d35;p=simantics%2Fdistrict.git Some fixes to district stuff 3 refs #6958 Change-Id: I58d80b1c6d5b80ff8dd465305f19865c3c9db99f --- diff --git a/org.simantics.district.network.ontology/graph.tg b/org.simantics.district.network.ontology/graph.tg index 317d8ce0..6737f9af 100644 Binary files a/org.simantics.district.network.ontology/graph.tg and b/org.simantics.district.network.ontology/graph.tg differ diff --git a/org.simantics.district.network.ontology/graph/DistrictNetwork.pgraph b/org.simantics.district.network.ontology/graph/DistrictNetwork.pgraph index 7719ed48..5e17f658 100644 --- a/org.simantics.district.network.ontology/graph/DistrictNetwork.pgraph +++ b/org.simantics.district.network.ontology/graph/DistrictNetwork.pgraph @@ -127,13 +127,14 @@ DNAC.newDiagramContribution : L0.Template DNAC = DN.ActionContext : VP.BrowseContext VP.BrowseContext.IsIncludedIn MOD.ModelingActionContext - @DNAC.newDiagramContribution "DN Diagram" IMAGES.ConfigurationFolder ACTIONS.NewDNDiagram + @DNAC.newDiagramContribution "Network Diagram" IMAGES.MapImage ACTIONS.NewDNDiagram DNBC = DN.BrowseContext : VP.BrowseContext VP.BrowseContext.IsIncludedIn MOD.ModelingBrowseContext VP.BrowseContext.Includes SEL_UI.StandardPropertiesBase.BrowseContext @VP.customModifierRule DN.Edge VP.ResourceLabelModifierRule + @VP.constantImageRule DN.Composite IMAGES.MapImage ACTIONS = DN.Actions : L0.Library @@ -144,8 +145,8 @@ ACTIONS.NewDNDiagram : MOD.NewComposite IMAGES = DN.Images : L0.Library -IMAGES.ConfigurationFolder : IMAGE.PngImage - @L0.loadBytes "images/Configuration.png" +IMAGES.MapImage : IMAGE.PngImage + @L0.loadBytes "images/map.png" // Component MAPPING DN.Mapping