X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.diagram.ontology%2Fgraph%2FProfilesView.pgraph;h=ae326ca88b0144df4f50930c6c99f500bb846519;hb=refs%2Fchanges%2F38%2F238%2F2;hp=ac767e644cb4ba0624c4208f7a851b364d628ba1;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.diagram.ontology/graph/ProfilesView.pgraph b/bundles/org.simantics.diagram.ontology/graph/ProfilesView.pgraph index ac767e644..ae326ca88 100644 --- a/bundles/org.simantics.diagram.ontology/graph/ProfilesView.pgraph +++ b/bundles/org.simantics.diagram.ontology/graph/ProfilesView.pgraph @@ -1,163 +1,163 @@ -L0 = -VP = -DIA = -BRO = -VIEW = -SG = - -BC = DIA.ProfilesBrowseContext : VP.BrowseContext - -// TODO: this .pgraph shouldn't be here, but in a separate "UI" ontology - -BC.Entry : VP.ResourceNodeType - VP.HasContentType "org.simantics.diagram.profile.view.ResourcePair" - VP.HasBundle "org.simantics.diagram.profile" -BC.EntryLabelRule : VP.LabelRule -BC.EntryImageRule : VP.ImageRule -BC.EntryCheckRule : VP.CheckedStateRule - -// Viewpoint -BC - @VP.customLabelRule BC.Entry BC.EntryLabelRule - @VP.customImageRule BC.Entry BC.EntryImageRule - @VP.customCheckedStateRule BC.Entry BC.EntryCheckRule - @VP.customChildRule L0.Entity - BC.DirectProfileRule : VP.ChildRule - BC.Entry - @VP.customChildRule BC.Entry - BC.EntryChildrenRule : VP.ChildRule - BC.Entry - VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution - VP.VisualsContribution.HasNodeType BC.Entry - VP.VisualsContribution.HasRule VP.PassThruSorterRule - VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution - VP.VisualsContribution.HasNodeType L0.Entity - VP.VisualsContribution.HasRule VP.PassThruSorterRule - - -DIA.ProfilesView.AvailableProfiles : VIEW.ReadFactory -DIA.ProfilesView.SelectedProfile : BRO.ReadFactory -DIA.ProfilesView.ActiveProfileModifier : BRO.ModifyListener -DIA.ProfilesView.ProfileEntrySelectionListener : BRO.Listener - -DIA.ProfilesView.ActiveRuntimeDiagramInputSource : BRO.InputSource - -DIA.ProfilesView.SelectedEntries : BRO.Parameter -DIA.ProfilesView.SelectedAvailableEntries : BRO.Parameter - -DIA.ProfilesView.NewEntryGroup : BRO.Parameter -DIA.ProfilesView.NewEntryStyle : BRO.Parameter - -DIA.ProfilesView : VIEW.TabFolder - VIEW.Control.layoutData _ : VIEW.GridLayout.GridData - VIEW.GridLayout.GridData.horizontalGrab true - VIEW.GridLayout.GridData.verticalGrab true - VIEW.HasInputSource DIA.ProfilesView.ActiveRuntimeDiagramInputSource - SG.Node.children _ : L0.List - @L0.list - DIA.ProfilesView.Active : VIEW.Composite - SG.Node.children _ : L0.List - @L0.list - DIA.ProfilesView.Active.Combo : VIEW.Combo - @VIEW.Control.style1 VIEW.Control.Style.Constant.ReadOnly - VIEW.Control.layoutData _ : VIEW.GridLayout.GridData - VIEW.GridLayout.GridData.horizontalGrab true - VIEW.Combo.available DIA.Profile.Functions.availableProfiles - VIEW.Combo.selected DIA.Profile.Functions.selectedProfile - VIEW.Combo.modifier DIA.Profile.Functions.activeProfileModifier - DIA.ProfilesView.Active.Explorer : VIEW.Explorer - @VIEW.Control.style2 VIEW.Control.Style.Constant.FullSelection VIEW.Control.Style.Constant.Check - VIEW.Explorer.input DIA.Profile.Functions.singleResourceSelection - VIEW.Control.layoutData _ : VIEW.GridLayout.GridData - VIEW.GridLayout.GridData.horizontalGrab true - VIEW.GridLayout.GridData.verticalGrab true - VIEW.Explorer.columns _ : VIEW.Explorer.ColumnList - @L0.list - VIEW.SingleColumn - VIEW.Explorer.selectionListener DIA.Profile.Functions.profileEntrySelected - VIEW.Explorer.browseContext _ : VIEW.ResourceURI - VIEW.ResourceURI.HasResource BC - VIEW.Explorer.columnsVisible false - VIEW.Explorer.contextMenuId "#ProfilesPopup" - - - - - /* -BRO.Combo.SelectedItem DIA.ProfilesView.SelectedProfile -BRO.Combo.Modifier DIA.ProfilesView.ActiveProfileModifier - - _ : BRO.Button - BRO.Button.Text "New profile" - BRO.Button.Action DIA.ProfilesView.CreateProfileAction : BRO.Action - _ : BRO.Button - BRO.Button.Tooltip "Add entries" - BRO.Button.Icon _ : BRO.BundleIcon - BRO.BundleIcon.Bundle "com.famfamfam.silk" - BRO.BundleIcon.Path "icons/bullet_add.png" - BRO.Button.Action _ : BRO.Dialog - BRO.Dialog.Title "Select from available entries" - BRO.Dialog.Control _ : BRO.GraphExplorerComposite - BRO.GraphExplorerComposite.BrowseContextURI "http://www.simantics.org/Diagram-0.0/ProfilesView/Entries" - BRO.GraphExplorerComposite.SelectionParameter DIA.ProfilesView.SelectedAvailableEntries - BRO.GraphExplorerComposite.DisplayFilter true - BRO.Control.PreferredWidth 500 - BRO.Control.PreferredHeight 500 - BRO.Dialog.FinishAction DIA.ProfilesView.AddEntriesAction : BRO.Action - _ : BRO.Button - BRO.Button.Tooltip "Remove entries" - BRO.Button.Icon _ : BRO.BundleIcon - BRO.BundleIcon.Bundle "com.famfamfam.silk" - BRO.BundleIcon.Path "icons/bullet_delete.png" - BRO.Button.Action DIA.ProfilesView.RemoveEntriesAction : BRO.Action - */ - /* - _ : BRO.GraphExplorerComposite - BRO.GraphExplorerComposite.SelectionListener DIA.ProfilesView.ProfileEntrySelectionListener - BRO.GraphExplorerComposite.BrowseContext BC - BRO.GraphExplorerComposite.SelectionParameter DIA.ProfilesView.SelectedEntries - BRO.GraphExplorerComposite.Check true - BRO.Control.HorizontalSpan 4 - */ - /* - DIA.ProfilesView.Entries : BRO.Composite - BRO.Composite.Children _ +VP = +DIA = +BRO = +VIEW = +SG = + +BC = DIA.ProfilesBrowseContext : VP.BrowseContext + +// TODO: this .pgraph shouldn't be here, but in a separate "UI" ontology + +BC.Entry : VP.ResourceNodeType + VP.HasContentType "org.simantics.diagram.profile.view.ResourcePair" + VP.HasBundle "org.simantics.diagram.profile" +BC.EntryLabelRule : VP.LabelRule +BC.EntryImageRule : VP.ImageRule +BC.EntryCheckRule : VP.CheckedStateRule + +// Viewpoint +BC + @VP.customLabelRule BC.Entry BC.EntryLabelRule + @VP.customImageRule BC.Entry BC.EntryImageRule + @VP.customCheckedStateRule BC.Entry BC.EntryCheckRule + @VP.customChildRule L0.Entity + BC.DirectProfileRule : VP.ChildRule + BC.Entry + @VP.customChildRule BC.Entry + BC.EntryChildrenRule : VP.ChildRule + BC.Entry + VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution + VP.VisualsContribution.HasNodeType BC.Entry + VP.VisualsContribution.HasRule VP.PassThruSorterRule + VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution + VP.VisualsContribution.HasNodeType L0.Entity + VP.VisualsContribution.HasRule VP.PassThruSorterRule + + +DIA.ProfilesView.AvailableProfiles : VIEW.ReadFactory +DIA.ProfilesView.SelectedProfile : BRO.ReadFactory +DIA.ProfilesView.ActiveProfileModifier : BRO.ModifyListener +DIA.ProfilesView.ProfileEntrySelectionListener : BRO.Listener + +DIA.ProfilesView.ActiveRuntimeDiagramInputSource : BRO.InputSource + +DIA.ProfilesView.SelectedEntries : BRO.Parameter +DIA.ProfilesView.SelectedAvailableEntries : BRO.Parameter + +DIA.ProfilesView.NewEntryGroup : BRO.Parameter +DIA.ProfilesView.NewEntryStyle : BRO.Parameter + +DIA.ProfilesView : VIEW.TabFolder + VIEW.Control.layoutData _ : VIEW.GridLayout.GridData + VIEW.GridLayout.GridData.horizontalGrab true + VIEW.GridLayout.GridData.verticalGrab true + VIEW.HasInputSource DIA.ProfilesView.ActiveRuntimeDiagramInputSource + SG.Node.children _ : L0.List + @L0.list + DIA.ProfilesView.Active : VIEW.Composite + SG.Node.children _ : L0.List + @L0.list + DIA.ProfilesView.Active.Combo : VIEW.Combo + @VIEW.Control.style1 VIEW.Control.Style.Constant.ReadOnly + VIEW.Control.layoutData _ : VIEW.GridLayout.GridData + VIEW.GridLayout.GridData.horizontalGrab true + VIEW.Combo.available DIA.Profile.Functions.availableProfiles + VIEW.Combo.selected DIA.Profile.Functions.selectedProfile + VIEW.Combo.modifier DIA.Profile.Functions.activeProfileModifier + DIA.ProfilesView.Active.Explorer : VIEW.Explorer + @VIEW.Control.style2 VIEW.Control.Style.Constant.FullSelection VIEW.Control.Style.Constant.Check + VIEW.Explorer.input DIA.Profile.Functions.singleResourceSelection + VIEW.Control.layoutData _ : VIEW.GridLayout.GridData + VIEW.GridLayout.GridData.horizontalGrab true + VIEW.GridLayout.GridData.verticalGrab true + VIEW.Explorer.columns _ : VIEW.Explorer.ColumnList + @L0.list + VIEW.SingleColumn + VIEW.Explorer.selectionListener DIA.Profile.Functions.profileEntrySelected + VIEW.Explorer.browseContext _ : VIEW.ResourceURI + VIEW.ResourceURI.HasResource BC + VIEW.Explorer.columnsVisible false + VIEW.Explorer.contextMenuId "#ProfilesPopup" + + + + + /* +BRO.Combo.SelectedItem DIA.ProfilesView.SelectedProfile +BRO.Combo.Modifier DIA.ProfilesView.ActiveProfileModifier + + _ : BRO.Button + BRO.Button.Text "New profile" + BRO.Button.Action DIA.ProfilesView.CreateProfileAction : BRO.Action + _ : BRO.Button + BRO.Button.Tooltip "Add entries" + BRO.Button.Icon _ : BRO.BundleIcon + BRO.BundleIcon.Bundle "com.famfamfam.silk" + BRO.BundleIcon.Path "icons/bullet_add.png" + BRO.Button.Action _ : BRO.Dialog + BRO.Dialog.Title "Select from available entries" + BRO.Dialog.Control _ : BRO.GraphExplorerComposite + BRO.GraphExplorerComposite.BrowseContextURI "http://www.simantics.org/Diagram-0.0/ProfilesView/Entries" + BRO.GraphExplorerComposite.SelectionParameter DIA.ProfilesView.SelectedAvailableEntries + BRO.GraphExplorerComposite.DisplayFilter true + BRO.Control.PreferredWidth 500 + BRO.Control.PreferredHeight 500 + BRO.Dialog.FinishAction DIA.ProfilesView.AddEntriesAction : BRO.Action + _ : BRO.Button + BRO.Button.Tooltip "Remove entries" + BRO.Button.Icon _ : BRO.BundleIcon + BRO.BundleIcon.Bundle "com.famfamfam.silk" + BRO.BundleIcon.Path "icons/bullet_delete.png" + BRO.Button.Action DIA.ProfilesView.RemoveEntriesAction : BRO.Action + */ + /* + _ : BRO.GraphExplorerComposite + BRO.GraphExplorerComposite.SelectionListener DIA.ProfilesView.ProfileEntrySelectionListener + BRO.GraphExplorerComposite.BrowseContext BC + BRO.GraphExplorerComposite.SelectionParameter DIA.ProfilesView.SelectedEntries + BRO.GraphExplorerComposite.Check true + BRO.Control.HorizontalSpan 4 + */ + /* + DIA.ProfilesView.Entries : BRO.Composite + BRO.Composite.Children _ + @L0.orderedSet + _ : BRO.Button + BRO.Button.Text "Create Entry" + BRO.Button.Action _ : BRO.Wizard + BRO.Wizard.Title "Create new profile entry" + BRO.Wizard.FinishAction DIA.ProfilesView.CreateEntryAction : BRO.Action + BRO.Wizard.Pages _ + @L0.orderedSet + _ : BRO.WizardPage + BRO.WizardPage.Title "Select group" + BRO.WizardPage.Control _ : BRO.GraphExplorerComposite + BRO.GraphExplorerComposite.BrowseContextURI "http://www.simantics.org/Diagram-0.0/ProfilesView/Groups" + BRO.GraphExplorerComposite.SelectionParameter DIA.ProfilesView.NewEntryGroup + _ : BRO.WizardPage + BRO.WizardPage.Title "Select style" + BRO.WizardPage.Control _ : BRO.GraphExplorerComposite + BRO.GraphExplorerComposite.BrowseContextURI "http://www.simantics.org/Diagram-0.0/ProfilesView/Styles" + BRO.GraphExplorerComposite.SelectionParameter DIA.ProfilesView.NewEntryStyle + _ : BRO.GraphExplorerComposite + BRO.GraphExplorerComposite.BrowseContextURI "http://www.simantics.org/Diagram-0.0/ProfilesView/Entries" + DIA.ProfilesView.Groups : BRO.Composite + BRO.Composite.Children _ + @L0.orderedSet + _ : BRO.Button + BRO.Button.Text "Create SCL group" + BRO.Button.Action DIA.ProfilesView.CreateGroupAction : BRO.Action + _ : BRO.GraphExplorerComposite + BRO.GraphExplorerComposite.BrowseContextURI "http://www.simantics.org/Diagram-0.0/ProfilesView/Groups" + DIA.ProfilesView.Styles : BRO.Composite + BRO.Composite.Children _ + @L0.orderedSet + _ : BRO.Button + BRO.Button.Text "Create SCL style" + BRO.Button.Action DIA.ProfilesView.CreateStyleAction : BRO.Action + _ : BRO.GraphExplorerComposite + BRO.GraphExplorerComposite.BrowseContextURI "http://www.simantics.org/Diagram-0.0/ProfilesView/Styles" + + */ \ No newline at end of file