]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.workbench.ontology/graph/Workbench.pgraph
ValueType modifications to satisfy compilation of SCL-expressions
[simantics/platform.git] / bundles / org.simantics.workbench.ontology / graph / Workbench.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2 L0X = <http://www.simantics.org/Layer0X-1.1>
3 PROJ = <http://www.simantics.org/Project-1.2>
4
5 WORKBENCH = <http://www.simantics.org/Workbench-1.2> : L0.Ontology
6     @L0.new
7     L0.HasResourceClass "org.simantics.workbench.ontology.WorkbenchResource"
8
9 //-------------------------------------------------------------------------------
10
11 WORKBENCH.HasWorkbenchSearchFunction <R L0.IsRelatedTo : L0.FunctionalRelation
12     L0.HasDescription """Used to associate a project with a search function that shall be used by the generic workbench search feature.
13 The function signature must be:
14 <em>IProgressMonitor -> ReadGraph -> query : String -> maxResults : Integer -> QueryResult</em>"""
15     >-- PROJ.Project --> WORKBENCH.SearchFunction
16
17 WORKBENCH.SearchFunction <T L0.Function
18
19 WORKBENCH.DependenciesSearchFunction : WORKBENCH.SearchFunction
20     L0.HasLabel "All dependencies"
21     L0.HasDescription "Default workbench search engine function."
22     
23 WORKBENCH.SearchContribution <T L0.Entity
24     >-- WORKBENCH.SearchContribution.isEnabledByDefault ==> "Boolean" <R L0.HasProperty : L0.TotalFunction
25     @L0.assert WORKBENCH.SearchContribution.isEnabledByDefault true
26
27 WORKBENCH.DependenciesSearchContribution : WORKBENCH.SearchContribution
28     WORKBENCH.hasSearchFunction WORKBENCH.DependenciesSearchFunction
29     WORKBENCH.SearchContribution.isEnabledByDefault false
30
31 WORKBENCH.hasSearchFunction <R L0.IsRelatedTo
32    L0.HasDomain WORKBENCH.SearchContribution
33    L0.HasRange WORKBENCH.SearchFunction