X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.plant3d.ontology%2Fgraph%2Fplant3d_viewpoint.pgraph;h=5be0264c6b26bac365eb34702ceb96b479dd1e74;hb=8c8a6f597d1c56ebe788a028d70c7851f58dae9f;hp=0c42f7ff38de3230b37fe3e824ef2b757729388b;hpb=d00bd5522f6a92bbfeb2a72a7d28ba25c3f36fed;p=simantics%2F3d.git diff --git a/org.simantics.plant3d.ontology/graph/plant3d_viewpoint.pgraph b/org.simantics.plant3d.ontology/graph/plant3d_viewpoint.pgraph index 0c42f7ff..5be0264c 100644 --- a/org.simantics.plant3d.ontology/graph/plant3d_viewpoint.pgraph +++ b/org.simantics.plant3d.ontology/graph/plant3d_viewpoint.pgraph @@ -19,8 +19,8 @@ PBC = P3D.P3DBrowseContext : VP.BrowseContext @VP.constantImageRule P3D.Builtin.Straight IMAGES.Straight @VP.constantImageRule P3D.EndComponent IMAGES.Component @VP.constantImageRule P3D.PipeRun IMAGES.Straight - @VP.relationChildRule PROJ.Project L0.ConsistsOf P3D.Plant - @VP.relationChildRule PROJ.Project L0.ConsistsOf CSG.Model + @VP.relationChildRule L0.Library L0.ConsistsOf P3D.Plant + @VP.relationChildRule L0.Library L0.ConsistsOf CSG.Model @VP.relationChildRule P3D.Node P3D.children P3D.Node @VP.relationChildRule P3D.Node P3D.HasNozzle P3D.Node @@ -40,35 +40,9 @@ IMAGES.Tank : IMAGE.PngImage @L0.loadBytes "images/tank.png" MAC = P3D.P3DActionContext : VP.BrowseContext - VP.BrowseContext.IsIncludedIn PROJ.ProjectActionContext - - -MAC.newContribution : L0.Template - @template %actionContext %label %action %image - %actionContext - VP.BrowseContext.HasActionContribution _ : VP.ActionContribution - L0.HasLabel %label - VP.ActionContribution.HasImage %image - VP.ActionContribution.HasCategory VP.NewActionCategory - VP.ActionContribution.HasNodeType P3D.Plant - VP.ActionContribution.HasAction %action + VP.BrowseContext.IsIncludedIn PROJ.ProjectActionContext -MAC.newTypeContribution : L0.Template - @template %actionContext %label %action %type %image - %actionContext - VP.BrowseContext.HasActionContribution _ : VP.ActionContribution - L0.HasLabel %label - VP.ActionContribution.HasImage %image - VP.ActionContribution.HasCategory VP.NewActionCategory - VP.ActionContribution.HasNodeType %type - VP.ActionContribution.HasAction %action - -MAC.editTypeContribution : L0.Template - @template %actionContext %label %action %type %image - %actionContext - VP.BrowseContext.HasActionContribution _ : VP.ActionContribution - L0.HasLabel %label - VP.ActionContribution.HasImage %image - VP.ActionContribution.HasCategory VP.EditActionCategory - VP.ActionContribution.HasNodeType %type - VP.ActionContribution.HasAction %action \ No newline at end of file + @VP.actionContribution "Plant" L0.Library IMAGES.Factory VP.NewActionCategory P3D.Actions.NewPlant + +P3D.Actions : L0.Library +P3D.Actions.NewPlant : L0.Action