Statistiques
| Révision :

root / TXM / trunk / org.txm.tigersearch.rcp / plugin.xml @ 3422

Historique | Voir | Annoter | Télécharger (5,48 ko)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>  
4

    
5
   <extension
6
         point="org.eclipse.ui.commands">
7
      <command
8
            categoryId="TreeSearch4TXM.commands.category"
9
            defaultHandler="org.txm.tigersearch.commands.ComputeRecette1"
10
            id="org.txm.tigersearch.commands.ComputeRecette1"
11
            name="%command.name.0">
12
      </command>
13
      <command
14
            categoryId="TreeSearch4TXM.commands.category"
15
            defaultHandler="org.txm.tigersearch.commands.ComputeRecette2"
16
            id="org.txm.tigersearch.commands.ComputeRecette2"
17
            name="%command.name.1">
18
      </command>
19
      <command
20
            categoryId="TreeSearch4TXM.commands.category"
21
            defaultHandler="org.txm.tigersearch.commands.ImportTIGERAnnotations"
22
            id="org.txm.tigersearch.commands.ImportTIGERAnnotations"
23
            name="Import TIGERSearch Annotations...">
24
      </command>
25
   </extension>
26
   <extension
27
         point="org.eclipse.ui.menus">
28
      <menuContribution
29
            locationURI="menu:menu.help.plugins">
30
         <command
31
               commandId="org.txm.rcp.commands.OpenBrowser"
32
               label="%command.label.0"
33
               style="push">
34
            <parameter
35
                  name="org.txm.rcp.commands.commandParameter2"
36
                  value="https://groupes.renater.fr/wiki/txm-users/public/extensions#tigersearch">
37
            </parameter>
38
         </command>
39
      </menuContribution>
40
      <menuContribution
41
            locationURI="menu:menu.recettes">
42
         <command
43
               commandId="org.txm.tigersearch.commands.ComputeRecette1"
44
               icon="icons/functions/TSIndex.png"
45
               label="%command.label.1"
46
               style="push">
47
            <visibleWhen
48
                  checkEnabled="false">
49
               <or>
50
                  <reference
51
                        definitionId="OneCorpusSelected">
52
                  </reference>
53
               </or>
54
            </visibleWhen>
55
         </command>
56
         <command
57
               commandId="org.txm.tigersearch.commands.ComputeRecette2"
58
               icon="icons/functions/TSIndex.png"
59
               label="%command.label.2"
60
               style="push">
61
            <visibleWhen
62
                  checkEnabled="false">
63
               <and>
64
                  <count
65
                        value="2">
66
                  </count>
67
                  <iterate>
68
                     <instanceof
69
                           value="org.txm.searchengine.cqp.corpus.CQPCorpus">
70
                     </instanceof>
71
                  </iterate>
72
               </and>
73
            </visibleWhen>
74
         </command>
75
      </menuContribution>
76
      <menuContribution
77
            locationURI="menu:menu.file.import?before=menu.file.import.separator.software">
78
         <command
79
               commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
80
               icon="icons/functions/TS.png"
81
               label="%command.label.5"
82
               style="push">
83
            <parameter
84
                  name="org.txm.rcp.commands.commandParameter3"
85
                  value="tigersearch/tigersearchLoader.groovy">
86
            </parameter>
87
         </command>
88
      </menuContribution>
89
      <menuContribution
90
            locationURI="menu:menu.file.import.annotations">
91
         <command
92
               commandId="org.txm.tigersearch.commands.ImportTIGERAnnotations"
93
               icon="icons/functions/TSplus.png"
94
               style="push">
95
            <visibleWhen
96
                  checkEnabled="false">
97
               <or>
98
                  <test
99
                        forcePluginActivation="true"
100
                        property="org.txm.rcp.testers.TreeSearchReady"
101
                        value="TreeSearchReady">
102
                  </test>
103
                  <reference
104
                        definitionId="OneMainCorpusSelected">
105
                  </reference>
106
               </or>
107
            </visibleWhen>
108
         </command>
109
      </menuContribution>
110
      
111
   </extension>
112
   <extension
113
         point="org.eclipse.ui.editors">
114
      <editor
115
            class="org.txm.tigersearch.editors.TSIndexEditor"
116
            default="false"
117
            icon="icons/functions/TSIndex.png"
118
            id="org.txm.tigersearch.editors.TSIndexEditor"
119
            name="%editor.name.0">
120
      </editor>
121
   </extension>
122
   <extension
123
         point="org.txm.PostInstallationStep">
124
   </extension>
125
   <extension
126
         point="org.txm.PostTXMHOMEInstallationStep">
127
      <PostTXMHOMEInstallationStep
128
            class="org.txm.tigersearch.rcp.InstallGroovyTIGERFiles"
129
            description="Install TIGER Groovy Files"
130
            name="Install TIGER Groovy Files">
131
      </PostTXMHOMEInstallationStep>
132
   </extension>
133
   <extension
134
         point="org.txm.searchengine.core.SearchEngine">
135
      <SearchEngine
136
            class="org.txm.searchengine.ts.TIGERSearchEngine">
137
      </SearchEngine>
138
   </extension>
139
   <extension
140
         point="org.eclipse.ui.preferencePages">
141
      <page
142
            category="org.txm.treesearch.preferences.TreeSearchPreferencePage"
143
            class="org.txm.tigersearch.rcp.preferences.TigerSearchPreferencePage"
144
            id="org.txm.tigersearch.rcp.preferences.TigerSearchPreferencePage"
145
            name="TIGERSearch">
146
      </page>
147
   </extension>
148
   
149
   <extension
150
         point="org.txm.treesearch.TreeSearchSelector">
151
      <TreeSearchSelector
152
            class="org.txm.function.tigersearch.TIGERTreeSearchSelector">
153
      </TreeSearchSelector>
154
   </extension>
155

    
156
</plugin>