Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 720fdd8ad0c299bd7f2cdeddf550d24bdd731140 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
   <extension-point id="queryProviders" name="Papyrus Search Query Providers" schema="schema/queryProviders.exsd"/>
   <extension
         point="org.eclipse.search.searchPages">
      <page
            canSearchEnclosingProjects="true"
            class="org.eclipse.papyrus.uml.search.ui.pages.PapyrusSearchPage"
            enabled="true"
            extensions="di:99"
            icon="icons/PapyrusSearch.png"
            id="org.eclipse.papyrus.search.ui.pages.PapyrusSearchPage"
            label="%searchPageLabel"
            showScopeSection="true">
      </page>
   </extension>
   <extension
         point="org.eclipse.search.searchResultViewPages">
      <viewPage
            class="org.eclipse.papyrus.uml.search.ui.pages.PapyrusSearchResultPage"
            icon="icons/PapyrusSearch.png"
            id="org.eclipse.papyrus.search.ui.pages.PapyrusSearchResultPage"
            label="%SearchResultPageLabel"
            searchResultClass="org.eclipse.papyrus.uml.search.ui.results.PapyrusSearchResult">
      </viewPage>
   </extension>
   <extension
         point="org.eclipse.ui.handlers">
      <handler
            class="org.eclipse.papyrus.uml.search.ui.handlers.SearchCommandHandler"
            commandId="org.eclipse.ui.edit.findReplace">
         <activeWhen>
            <or>
               <with
                     variable="activeEditorId">
                  <equals
                        value="org.eclipse.papyrus.infra.core.papyrusEditor">
                  </equals>
               </with>
            </or>
         </activeWhen>
      </handler>
   </extension>
   <extension
         point="org.eclipse.papyrus.infra.services.labelprovider.labelProvider">
      <labelProvider
            priority="10"
            provider="org.eclipse.papyrus.uml.search.ui.providers.AttributeMatchLabelProvider">
      </labelProvider>
   </extension>
   <extension
         point="org.eclipse.core.runtime.adapters">
      <factory
            adaptableType="org.eclipse.core.runtime.IAdaptable"
            class="org.eclipse.papyrus.uml.search.ui.adapter.PapyrusSearchAdapterFactory">
         <adapter
               type="org.eclipse.search.ui.ISearchPageScoreComputer">
         </adapter>
      </factory>
   </extension>
   <extension
         point="org.eclipse.papyrus.uml.search.ui.queryProviders">
      <queryProvider
            class="org.eclipse.papyrus.uml.search.ui.query.WorkspaceQueryProvider">
      </queryProvider>
   </extension>

</plugin>

Back to the top