--- /dev/null
+L0 = <http://www.simantics.org/Layer0-1.1>\r
+VP = <http://www.simantics.org/Viewpoint-1.2>\r
+DIA = <http://www.simantics.org/Diagram-2.2>\r
+BRO = <http://www.simantics.org/Browsing-1.1>\r
+VIEW = <http://www.simantics.org/Views-1.2>\r
+SG = <http://www.simantics.org/Scenegraph-1.1>\r
+\r
+BC = DIA.ProfilesBrowseContext : VP.BrowseContext\r
+\r
+// TODO: this .pgraph shouldn't be here, but in a separate "UI" ontology\r
+\r
+BC.Entry : VP.ResourceNodeType\r
+ VP.HasContentType "org.simantics.diagram.profile.view.ResourcePair"\r
+ VP.HasBundle "org.simantics.diagram.profile"\r
+BC.EntryLabelRule : VP.LabelRule\r
+BC.EntryImageRule : VP.ImageRule\r
+BC.EntryCheckRule : VP.CheckedStateRule\r
+\r
+// Viewpoint\r
+BC \r
+ @VP.customLabelRule BC.Entry BC.EntryLabelRule\r
+ @VP.customImageRule BC.Entry BC.EntryImageRule\r
+ @VP.customCheckedStateRule BC.Entry BC.EntryCheckRule\r
+ @VP.customChildRule L0.Entity \r
+ BC.DirectProfileRule : VP.ChildRule\r
+ BC.Entry\r
+ @VP.customChildRule BC.Entry \r
+ BC.EntryChildrenRule : VP.ChildRule\r
+ BC.Entry\r
+ VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
+ VP.VisualsContribution.HasNodeType BC.Entry\r
+ VP.VisualsContribution.HasRule VP.PassThruSorterRule\r
+ VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
+ VP.VisualsContribution.HasNodeType L0.Entity\r
+ VP.VisualsContribution.HasRule VP.PassThruSorterRule\r
+\r
+\r
+DIA.ProfilesView.AvailableProfiles : VIEW.ReadFactory\r
+DIA.ProfilesView.SelectedProfile : BRO.ReadFactory\r
+DIA.ProfilesView.ActiveProfileModifier : BRO.ModifyListener\r
+DIA.ProfilesView.ProfileEntrySelectionListener : BRO.Listener\r
+\r
+DIA.ProfilesView.ActiveRuntimeDiagramInputSource : BRO.InputSource\r
+\r
+DIA.ProfilesView.SelectedEntries : BRO.Parameter\r
+DIA.ProfilesView.SelectedAvailableEntries : BRO.Parameter\r
+\r
+DIA.ProfilesView.NewEntryGroup : BRO.Parameter\r
+DIA.ProfilesView.NewEntryStyle : BRO.Parameter\r
+\r
+DIA.ProfilesView : VIEW.TabFolder\r
+ VIEW.Control.layoutData _ : VIEW.GridLayout.GridData\r
+ VIEW.GridLayout.GridData.horizontalGrab true\r
+ VIEW.GridLayout.GridData.verticalGrab true\r
+ VIEW.HasInputSource DIA.ProfilesView.ActiveRuntimeDiagramInputSource \r
+ SG.Node.children _ : L0.List\r
+ @L0.list\r
+ DIA.ProfilesView.Active : VIEW.Composite\r
+ SG.Node.children _ : L0.List\r
+ @L0.list\r
+ DIA.ProfilesView.Active.Combo : VIEW.Combo\r
+ @VIEW.Control.style1 VIEW.Control.Style.Constant.ReadOnly\r
+ VIEW.Control.layoutData _ : VIEW.GridLayout.GridData\r
+ VIEW.GridLayout.GridData.horizontalGrab true\r
+ VIEW.Combo.available DIA.Profile.Functions.availableProfiles\r
+ VIEW.Combo.selected DIA.Profile.Functions.selectedProfile\r
+ VIEW.Combo.modifier DIA.Profile.Functions.activeProfileModifier\r
+ DIA.ProfilesView.Active.Explorer : VIEW.Explorer\r
+ @VIEW.Control.style2 VIEW.Control.Style.Constant.FullSelection VIEW.Control.Style.Constant.Check\r
+ VIEW.Explorer.input DIA.Profile.Functions.singleResourceSelection\r
+ VIEW.Control.layoutData _ : VIEW.GridLayout.GridData\r
+ VIEW.GridLayout.GridData.horizontalGrab true\r
+ VIEW.GridLayout.GridData.verticalGrab true\r
+ VIEW.Explorer.columns _ : VIEW.Explorer.ColumnList\r
+ @L0.list\r
+ VIEW.SingleColumn\r
+ VIEW.Explorer.selectionListener DIA.Profile.Functions.profileEntrySelected\r
+ VIEW.Explorer.browseContext _ : VIEW.ResourceURI\r
+ VIEW.ResourceURI.HasResource BC\r
+ VIEW.Explorer.columnsVisible false\r
+ VIEW.Explorer.contextMenuId "#ProfilesPopup"\r
+ \r
+ \r
+ \r
+ \r
+ /*\r
+BRO.Combo.SelectedItem DIA.ProfilesView.SelectedProfile\r
+BRO.Combo.Modifier DIA.ProfilesView.ActiveProfileModifier\r
+ \r
+ _ : BRO.Button\r
+ BRO.Button.Text "New profile"\r
+ BRO.Button.Action DIA.ProfilesView.CreateProfileAction : BRO.Action\r
+ _ : BRO.Button\r
+ BRO.Button.Tooltip "Add entries"\r
+ BRO.Button.Icon _ : BRO.BundleIcon\r
+ BRO.BundleIcon.Bundle "com.famfamfam.silk"\r
+ BRO.BundleIcon.Path "icons/bullet_add.png"\r
+ BRO.Button.Action _ : BRO.Dialog\r
+ BRO.Dialog.Title "Select from available entries"\r
+ BRO.Dialog.Control _ : BRO.GraphExplorerComposite\r
+ BRO.GraphExplorerComposite.BrowseContextURI "http://www.simantics.org/Diagram-0.0/ProfilesView/Entries"\r
+ BRO.GraphExplorerComposite.SelectionParameter DIA.ProfilesView.SelectedAvailableEntries\r
+ BRO.GraphExplorerComposite.DisplayFilter true\r
+ BRO.Control.PreferredWidth 500\r
+ BRO.Control.PreferredHeight 500\r
+ BRO.Dialog.FinishAction DIA.ProfilesView.AddEntriesAction : BRO.Action \r
+ _ : BRO.Button\r
+ BRO.Button.Tooltip "Remove entries"\r
+ BRO.Button.Icon _ : BRO.BundleIcon\r
+ BRO.BundleIcon.Bundle "com.famfamfam.silk"\r
+ BRO.BundleIcon.Path "icons/bullet_delete.png"\r
+ BRO.Button.Action DIA.ProfilesView.RemoveEntriesAction : BRO.Action\r
+ */\r
+ /*\r
+ _ : BRO.GraphExplorerComposite\r
+ BRO.GraphExplorerComposite.SelectionListener DIA.ProfilesView.ProfileEntrySelectionListener\r
+ BRO.GraphExplorerComposite.BrowseContext BC\r
+ BRO.GraphExplorerComposite.SelectionParameter DIA.ProfilesView.SelectedEntries\r
+ BRO.GraphExplorerComposite.Check true\r
+ BRO.Control.HorizontalSpan 4\r
+ */\r
+ /*\r
+ DIA.ProfilesView.Entries : BRO.Composite\r
+ BRO.Composite.Children _ <R L0.HasNext\r
+ @L0.orderedSet\r
+ _ : BRO.Button\r
+ BRO.Button.Text "Create Entry"\r
+ BRO.Button.Action _ : BRO.Wizard\r
+ BRO.Wizard.Title "Create new profile entry"\r
+ BRO.Wizard.FinishAction DIA.ProfilesView.CreateEntryAction : BRO.Action \r
+ BRO.Wizard.Pages _ <R L0.HasNext\r
+ @L0.orderedSet\r
+ _ : BRO.WizardPage\r
+ BRO.WizardPage.Title "Select group"\r
+ BRO.WizardPage.Control _ : BRO.GraphExplorerComposite\r
+ BRO.GraphExplorerComposite.BrowseContextURI "http://www.simantics.org/Diagram-0.0/ProfilesView/Groups" \r
+ BRO.GraphExplorerComposite.SelectionParameter DIA.ProfilesView.NewEntryGroup\r
+ _ : BRO.WizardPage\r
+ BRO.WizardPage.Title "Select style"\r
+ BRO.WizardPage.Control _ : BRO.GraphExplorerComposite\r
+ BRO.GraphExplorerComposite.BrowseContextURI "http://www.simantics.org/Diagram-0.0/ProfilesView/Styles" \r
+ BRO.GraphExplorerComposite.SelectionParameter DIA.ProfilesView.NewEntryStyle\r
+ _ : BRO.GraphExplorerComposite\r
+ BRO.GraphExplorerComposite.BrowseContextURI "http://www.simantics.org/Diagram-0.0/ProfilesView/Entries" \r
+ DIA.ProfilesView.Groups : BRO.Composite\r
+ BRO.Composite.Children _ <R L0.HasNext\r
+ @L0.orderedSet\r
+ _ : BRO.Button\r
+ BRO.Button.Text "Create SCL group"\r
+ BRO.Button.Action DIA.ProfilesView.CreateGroupAction : BRO.Action\r
+ _ : BRO.GraphExplorerComposite\r
+ BRO.GraphExplorerComposite.BrowseContextURI "http://www.simantics.org/Diagram-0.0/ProfilesView/Groups" \r
+ DIA.ProfilesView.Styles : BRO.Composite\r
+ BRO.Composite.Children _ <R L0.HasNext\r
+ @L0.orderedSet\r
+ _ : BRO.Button\r
+ BRO.Button.Text "Create SCL style"\r
+ BRO.Button.Action DIA.ProfilesView.CreateStyleAction : BRO.Action\r
+ _ : BRO.GraphExplorerComposite\r
+ BRO.GraphExplorerComposite.BrowseContextURI "http://www.simantics.org/Diagram-0.0/ProfilesView/Styles" \r
+\r
+ */\r
+
\ No newline at end of file