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>
5 WORKBENCH = <http://www.simantics.org/Workbench-1.2> : L0.Ontology
7 L0.HasResourceClass "org.simantics.workbench.ontology.WorkbenchResource"
9 //-------------------------------------------------------------------------------
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
17 WORKBENCH.SearchFunction <T L0.Function
19 WORKBENCH.DependenciesSearchFunction : WORKBENCH.SearchFunction
20 L0.HasLabel "All dependencies"
21 L0.HasDescription "Default workbench search engine function."
23 WORKBENCH.SearchContribution <T L0.Entity
24 >-- WORKBENCH.SearchContribution.isEnabledByDefault ==> "Boolean" <R L0.HasProperty : L0.TotalFunction
25 @L0.assert WORKBENCH.SearchContribution.isEnabledByDefault true
27 WORKBENCH.DependenciesSearchContribution : WORKBENCH.SearchContribution
28 WORKBENCH.hasSearchFunction WORKBENCH.DependenciesSearchFunction
29 WORKBENCH.SearchContribution.isEnabledByDefault false
31 WORKBENCH.hasSearchFunction <R L0.IsRelatedTo
32 L0.HasDomain WORKBENCH.SearchContribution
33 L0.HasRange WORKBENCH.SearchFunction