X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.platform.ui.ontology%2Fgraph%2FPlatformUIViews.pgraph;h=a49e26a7b5026dd2d8bee78df775424121c234b6;hb=3bfee12f7be9da11f14b3a7181887dfc28b7124c;hp=b16ccf21e3e1ace6868aec10f66490ef71e97996;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.platform.ui.ontology/graph/PlatformUIViews.pgraph b/bundles/org.simantics.platform.ui.ontology/graph/PlatformUIViews.pgraph index b16ccf21e..a49e26a7b 100644 --- a/bundles/org.simantics.platform.ui.ontology/graph/PlatformUIViews.pgraph +++ b/bundles/org.simantics.platform.ui.ontology/graph/PlatformUIViews.pgraph @@ -1,180 +1,180 @@ -L0 = -SIMU = -PROJECT = -MOD = -STR = -VP = -DATA = -DOC = -SEL = -SWT = -SHEET = -PlatformUI = - -VIEWS = PlatformUI.Views : L0.Library -COMPONENTS = SWT.Components - -VIEWS.UsedColumns = { columns = [ - {key = "single", label = "Used libraries", tooltip = "Used libraries", width = 80, weight = 1, alignment = "LEFT", grab = true} - ]} : SWT.Literals.Columns - -VIEWS.AvailableColumns = { columns = [ - {key = "single", label = "Available libraries", tooltip = "Available libraries", width = 80, weight = 1, alignment = "LEFT", grab = true} - ]} : SWT.Literals.Columns - -SharedLibraries = VIEWS.SharedLibraries : DOC.Document -SharedLibraries.Root : DOC.Components.Root - @DOC.child1 _ SharedLibraries.Panel - -SharedLibraries.Panel - @SWT.scrolledComposite - @DOC.child1 _ SharedLibraries.Panel2 - -SharedLibraries.Panel2 - @SWT.gridComposite 4 - @DOC.child1 _ SharedLibraries.Cell1 - @DOC.child2 _ SharedLibraries.Cell2 - @DOC.child3 _ SharedLibraries.Cell3 - @DOC.child4 _ SharedLibraries.Cell4 - @DOC.child5 _ SharedLibraries.Cell5 - @DOC.child6 _ SharedLibraries.Cell6 - -SharedLibraries.Cell1 - @SWT.gridCell _ true false 4 SharedLibraries.Explorer1 - -SharedLibraries.Cell2 - @SWT.gridCell _ true false 1 SharedLibraries.LinkButton - -SharedLibraries.Cell3 - @SWT.gridCell _ true false 1 SharedLibraries.UnlinkButton - -SharedLibraries.Cell4 - @SWT.gridCell _ true false 1 SharedLibraries.NewButton - -SharedLibraries.Cell5 - @SWT.gridCell _ true false 1 SharedLibraries.ImportButton - -SharedLibraries.Cell6 - @SWT.gridCell _ true false 4 SharedLibraries.Explorer2 - -SharedLibraries.Explorer1 - COMPONENTS.Component.NoScroll true - @SWT.explorer true true - "http://www.simantics.org/PlatformUI-1.0/Views/SharedLibraries/UsedContext" - "#SharedLibrarySelection" - VIEWS.UsedColumns - -SharedLibraries.Explorer2 - COMPONENTS.Component.NoScroll true - @SWT.explorer true true - "http://www.simantics.org/PlatformUI-1.0/Views/SharedLibraries/AvailableContext" - "#SharedLibrarySelection" - VIEWS.AvailableColumns - -SharedLibraries.LinkButton - @SWT.button "Use" - -SharedLibraries.UnlinkButton - @SWT.button "Unlink" - -SharedLibraries.NewButton - @SWT.button "New" - @VIEWS.sclEvent COMPONENTS.Button.onPress "writeEventHandler input createNewHandler" - -SharedLibraries.ImportButton - @SWT.button "Import" - @VIEWS.sclEvent COMPONENTS.Button.onPress "writeEventHandler input importHandler" - -SharedLibraries.UseEvent - @DOC.commandEvent "writeEventHandler input useSelectedHandler" VIEWS.SCLValue - @DOC.singleData SharedLibraries.DefVar SharedLibraries.Explorer2 SharedLibraries.LinkButton DOC.Relations.click "selection" "selection" _ _ _ - -SharedLibraries.UnlinkEvent - @DOC.commandEvent "writeEventHandler input unlinkSelectedHandler" VIEWS.SCLValue - @DOC.singleData SharedLibraries.DefVar2 SharedLibraries.Explorer1 SharedLibraries.UnlinkButton DOC.Relations.click "selection" "selection" _ _ _ - -VIEWS.SharedLibraryContribution : SWT.TypedVariableTabContribution - SEL.AbstractVariableTabContribution.HasPriority 1 - SEL.AbstractTypedVariableTabContribution.HasType L0.IndexRoot - SWT.TypedVariableTabContribution.HasView SharedLibraries - L0.HasLabel "Shared Libraries" - -//VIEWS.SharedLibraryContribution2 : SWT.TypedVariableTabContribution -// SEL.AbstractVariableTabContribution.HasPriority 1 -// SEL.AbstractTypedVariableTabContribution.HasType L0.SharedOntology -// SWT.TypedVariableTabContribution.HasView SharedLibraries -// L0.HasLabel "Shared Libraries" - -MBC = MOD.ModelingBrowseContext - -SharedLibraries.UsedContext : VP.BrowseContext - VP.BrowseContext.HasVisualsContribution PROJECT.Contributions.StandardNameLabelRule - VP.BrowseContext.HasChildContribution SharedLibraries.UsedContext.Children : VP.ChildContribution - VP.ChildContribution.HasParentNodeType MBC.Variable - VP.ChildContribution.HasChildNodeType L0.SharedOntology - VP.ChildContribution.HasRule SharedLibraries.UsedContext.Children.Rule : MOD.SCLChildRule - @VIEWS.scl MOD.SCLChildRule.getChildren "usedSharedOntologies2" "Resource -> [Resource]" - -SharedLibraries.AvailableContext : VP.BrowseContext - VP.BrowseContext.HasVisualsContribution PROJECT.Contributions.StandardNameLabelRule - VP.BrowseContext.HasChildContribution SharedLibraries.AvailableContext.Children : VP.ChildContribution - VP.ChildContribution.HasParentNodeType MBC.Variable - VP.ChildContribution.HasChildNodeType L0.SharedOntology - VP.ChildContribution.HasRule SharedLibraries.AvailableContext.Children.Rule : MOD.SCLChildRule - @VIEWS.scl MOD.SCLChildRule.getChildren "availableSharedOntologies2" "Resource -> [Resource]" - -VIEWS.SCLValue +SIMU = +PROJECT = +MOD = +STR = +VP = +DATA = +DOC = +SEL = +SWT = +SHEET = +PlatformUI = + +VIEWS = PlatformUI.Views : L0.Library +COMPONENTS = SWT.Components + +VIEWS.UsedColumns = { columns = [ + {key = "single", label = "Used libraries", tooltip = "Used libraries", width = 80, weight = 1, alignment = "LEFT", grab = true} + ]} : SWT.Literals.Columns + +VIEWS.AvailableColumns = { columns = [ + {key = "single", label = "Available libraries", tooltip = "Available libraries", width = 80, weight = 1, alignment = "LEFT", grab = true} + ]} : SWT.Literals.Columns + +SharedLibraries = VIEWS.SharedLibraries : DOC.Document +SharedLibraries.Root : DOC.Components.Root + @DOC.child1 _ SharedLibraries.Panel + +SharedLibraries.Panel + @SWT.scrolledComposite + @DOC.child1 _ SharedLibraries.Panel2 + +SharedLibraries.Panel2 + @SWT.gridComposite 4 + @DOC.child1 _ SharedLibraries.Cell1 + @DOC.child2 _ SharedLibraries.Cell2 + @DOC.child3 _ SharedLibraries.Cell3 + @DOC.child4 _ SharedLibraries.Cell4 + @DOC.child5 _ SharedLibraries.Cell5 + @DOC.child6 _ SharedLibraries.Cell6 + +SharedLibraries.Cell1 + @SWT.gridCell _ true false 4 SharedLibraries.Explorer1 + +SharedLibraries.Cell2 + @SWT.gridCell _ true false 1 SharedLibraries.LinkButton + +SharedLibraries.Cell3 + @SWT.gridCell _ true false 1 SharedLibraries.UnlinkButton + +SharedLibraries.Cell4 + @SWT.gridCell _ true false 1 SharedLibraries.NewButton + +SharedLibraries.Cell5 + @SWT.gridCell _ true false 1 SharedLibraries.ImportButton + +SharedLibraries.Cell6 + @SWT.gridCell _ true false 4 SharedLibraries.Explorer2 + +SharedLibraries.Explorer1 + COMPONENTS.Component.NoScroll true + @SWT.explorer true true + "http://www.simantics.org/PlatformUI-1.0/Views/SharedLibraries/UsedContext" + "#SharedLibrarySelection" + VIEWS.UsedColumns + +SharedLibraries.Explorer2 + COMPONENTS.Component.NoScroll true + @SWT.explorer true true + "http://www.simantics.org/PlatformUI-1.0/Views/SharedLibraries/AvailableContext" + "#SharedLibrarySelection" + VIEWS.AvailableColumns + +SharedLibraries.LinkButton + @SWT.button "Use" + +SharedLibraries.UnlinkButton + @SWT.button "Unlink" + +SharedLibraries.NewButton + @SWT.button "New" + @VIEWS.sclEvent COMPONENTS.Button.onPress "writeEventHandler input createNewHandler" + +SharedLibraries.ImportButton + @SWT.button "Import" + @VIEWS.sclEvent COMPONENTS.Button.onPress "writeEventHandler input importHandler" + +SharedLibraries.UseEvent + @DOC.commandEvent "writeEventHandler input useSelectedHandler" VIEWS.SCLValue + @DOC.singleData SharedLibraries.DefVar SharedLibraries.Explorer2 SharedLibraries.LinkButton DOC.Relations.click "selection" "selection" _ _ _ + +SharedLibraries.UnlinkEvent + @DOC.commandEvent "writeEventHandler input unlinkSelectedHandler" VIEWS.SCLValue + @DOC.singleData SharedLibraries.DefVar2 SharedLibraries.Explorer1 SharedLibraries.UnlinkButton DOC.Relations.click "selection" "selection" _ _ _ + +VIEWS.SharedLibraryContribution : SWT.TypedVariableTabContribution + SEL.AbstractVariableTabContribution.HasPriority 1 + SEL.AbstractTypedVariableTabContribution.HasType L0.IndexRoot + SWT.TypedVariableTabContribution.HasView SharedLibraries + L0.HasLabel "Shared Libraries" + +//VIEWS.SharedLibraryContribution2 : SWT.TypedVariableTabContribution +// SEL.AbstractVariableTabContribution.HasPriority 1 +// SEL.AbstractTypedTabContribution.HasType L0.SharedOntology +// SWT.TypedVariableTabContribution.HasView SharedLibraries +// L0.HasLabel "Shared Libraries" + +MBC = MOD.ModelingBrowseContext + +SharedLibraries.UsedContext : VP.BrowseContext + VP.BrowseContext.HasVisualsContribution PROJECT.Contributions.StandardNameLabelRule + VP.BrowseContext.HasChildContribution SharedLibraries.UsedContext.Children : VP.ChildContribution + VP.ChildContribution.HasParentNodeType MBC.Variable + VP.ChildContribution.HasChildNodeType L0.SharedOntology + VP.ChildContribution.HasRule SharedLibraries.UsedContext.Children.Rule : MOD.SCLChildRule + @VIEWS.scl MOD.SCLChildRule.getChildren "usedSharedOntologies2" "Resource -> [Resource]" + +SharedLibraries.AvailableContext : VP.BrowseContext + VP.BrowseContext.HasVisualsContribution PROJECT.Contributions.StandardNameLabelRule + VP.BrowseContext.HasChildContribution SharedLibraries.AvailableContext.Children : VP.ChildContribution + VP.ChildContribution.HasParentNodeType MBC.Variable + VP.ChildContribution.HasChildNodeType L0.SharedOntology + VP.ChildContribution.HasRule SharedLibraries.AvailableContext.Children.Rule : MOD.SCLChildRule + @VIEWS.scl MOD.SCLChildRule.getChildren "availableSharedOntologies2" "Resource -> [Resource]" + +VIEWS.SCLValue