Project

General

Profile

Download (34.5 KB) Statistics
| Branch: | Tag: | Revision:
1 e8409423 n.hoffmann
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.2"?>
3
<plugin>
4
   <extension
5
         id="application"
6
         point="org.eclipse.core.runtime.applications">
7
      <application>
8
         <run
9
               class="eu.etaxonomy.taxeditor.navigation.Application">
10
         </run>
11
      </application>
12
   </extension>
13
   <extension
14
         point="org.eclipse.ui.views">
15
      <view
16
            allowMultiple="true"
17
            class="eu.etaxonomy.taxeditor.navigation.search.SearchResultView"
18 2d9a13f7 n.hoffmann
            icon="icons/system-search.png"
19 e8409423 n.hoffmann
            id="eu.etaxonomy.taxeditor.navigation.search.searchResultView"
20 4db49a38 Alexander Oppermann
            name="%view.name"
21 e8409423 n.hoffmann
            restorable="false">
22
      </view>
23
      <view
24
            allowMultiple="false"
25 f783478f n.hoffmann
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator"
26 2d9a13f7 n.hoffmann
            icon="icons/preferences-system-windows.png"
27 f783478f n.hoffmann
            id="eu.etaxonomy.taxeditor.navigation.navigator"
28 4db49a38 Alexander Oppermann
            name="%view.name.0"
29 e8409423 n.hoffmann
            restorable="true">
30
      </view>
31 35861667 n.hoffmann
      <view
32
            allowMultiple="false"
33
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.PolytomousKeyViewPart"
34
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart"
35 4db49a38 Alexander Oppermann
            name="%view.name.1"
36 35861667 n.hoffmann
            restorable="true">
37
      </view>
38 e8409423 n.hoffmann
   </extension>
39
   <extension
40
         point="org.eclipse.ui.menus">
41
      <menuContribution
42 37f00d44 n.hoffmann
            locationURI="menu:org.eclipse.ui.main.menu.file">
43 6c3c055f n.hoffmann
         <separator
44 37f00d44 n.hoffmann
               name="eu.etaxonomy.taxeditor.navigation.recentnames.separator"
45 6c3c055f n.hoffmann
               visible="true">
46
         </separator>
47 e8409423 n.hoffmann
         <dynamic
48
               class="eu.etaxonomy.taxeditor.navigation.RecentNamesContributionItem"
49
               id="eu.etaxonomy.taxeditor.navigation.recentnames">
50 dd7f77fb Patrick Plitzner
            <visibleWhen
51
                  checkEnabled="true">
52
               <reference
53
                     definitionId="isCdmStoreConnected">
54
               </reference>
55
            </visibleWhen>
56 e8409423 n.hoffmann
         </dynamic>
57
      </menuContribution>
58
      <menuContribution
59 af4ba804 n.hoffmann
            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.editor.showViewMenu">
60 e8409423 n.hoffmann
         <command
61 db5e366d n.hoffmann
               commandId="org.eclipse.ui.views.showView"
62 4db49a38 Alexander Oppermann
               label="%command.label"
63 e8409423 n.hoffmann
               style="push">
64 db5e366d n.hoffmann
            <parameter
65
                  name="org.eclipse.ui.views.showView.viewId"
66
                  value="eu.etaxonomy.taxeditor.navigation.navigator">
67
            </parameter>
68 dd7f77fb Patrick Plitzner
            <visibleWhen
69
                  checkEnabled="true">
70
               <reference
71
                     definitionId="isCdmStoreConnected">
72
               </reference>
73
            </visibleWhen>
74 37f00d44 n.hoffmann
         </command>
75 35861667 n.hoffmann
         <command
76 db5e366d n.hoffmann
               commandId="org.eclipse.ui.views.showView"
77 4db49a38 Alexander Oppermann
               label="%command.label.0"
78 35861667 n.hoffmann
               style="push">
79 db5e366d n.hoffmann
            <parameter
80
                  name="org.eclipse.ui.views.showView.viewId"
81
                  value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
82
            </parameter>
83 dd7f77fb Patrick Plitzner
            <visibleWhen
84
                  checkEnabled="true">
85
               <reference
86
                     definitionId="isCdmStoreConnected">
87
               </reference>
88
            </visibleWhen>
89 35861667 n.hoffmann
         </command>
90 9651449a p.ciardelli
      </menuContribution>
91
      <menuContribution
92 37f00d44 n.hoffmann
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.search.searchResultView">
93 33490b61 p.ciardelli
         <command
94 37f00d44 n.hoffmann
               commandId="eu.etaxonomy.taxeditor.navigation.command.editTaxon"
95 4db49a38 Alexander Oppermann
               label="%command.label.1"
96 33490b61 p.ciardelli
               style="push">
97
         </command>
98 37f00d44 n.hoffmann
      </menuContribution>
99
      <menuContribution
100
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.navigatorpopup">
101
         <menu
102
               id="eu.etaxonomy.navigation.menu.new"
103 4db49a38 Alexander Oppermann
               label="%menu.label">
104 37f00d44 n.hoffmann
            <command
105 3692b5bf Andreas Kohlbecker
                  commandId="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
106 4db49a38 Alexander Oppermann
                  label="%command.label.2"
107 37f00d44 n.hoffmann
                  style="push">
108 7f8351e8 Patrick Plitzner
               <visibleWhen
109
                     checkEnabled="true">
110
                  <with
111
                        variable="selection">
112
                     <count
113
                           value="+">
114
                     </count>
115
                  </with>
116
               </visibleWhen>
117 37f00d44 n.hoffmann
            </command>
118
            <separator
119
                  name="eu.etaxonomy.navigation.menu.new.separator1"
120
                  visible="true">
121
            </separator>
122
            <command
123 3692b5bf Andreas Kohlbecker
                  commandId="eu.etaxonomy.taxeditor.navigation.create.classification"
124
                  id="eu.etaxonomy.taxeditor.navigation.create.classificationHandler"
125 4db49a38 Alexander Oppermann
                  label="%command.label.3"
126 37f00d44 n.hoffmann
                  style="push">
127
            </command>
128 cf9586f2 Alexander Oppermann
            <visibleWhen
129
                  checkEnabled="true">
130
               <reference
131
                     definitionId="isCdmStoreConnected">
132
               </reference>
133
            </visibleWhen>
134 37f00d44 n.hoffmann
         </menu>
135 4db49a38 Alexander Oppermann
         <command
136
               commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
137 62bc913b Alexander Oppermann
               icon="icons/check.png"
138 4db49a38 Alexander Oppermann
               label="%command.label.4"
139
               style="push">
140
           <visibleWhen
141
                 checkEnabled="true">
142
              <and>
143
                 <reference
144
                       definitionId="isChecklistEditorEnabled">
145
                 </reference>
146
                 <or>
147
                    <reference
148
                          definitionId="isClassification">
149
                    </reference>
150
                    <reference
151
                          definitionId="isTaxonNode">
152
                    </reference>
153
                 </or>
154
              </and>
155
            </visibleWhen>
156
         </command>
157 32103a77 Alexander Oppermann
         <command
158 31645e4f Alexander Oppermann
               commandId="eu.etaxonomy.taxeditor.navigation.navigator.handler.OpenFixClassificationHierarchyHandler"
159 8367bf37 Patric Plitzner
               label="%command.label.fixClassificationHierarchy"
160 32103a77 Alexander Oppermann
               style="push">
161
            <visibleWhen
162
                  checkEnabled="true">
163
               <and>
164
                  <reference
165
                        definitionId="isShowExperimentalFeatures">
166
                  </reference>
167
                  <reference
168
                        definitionId="isClassification">
169
                  </reference>
170
               </and>
171
            </visibleWhen>
172
         </command>
173 33490b61 p.ciardelli
         <separator
174
               name="taxeditor-navigation.separator1"
175
               visible="true">
176
         </separator>
177 9651449a p.ciardelli
         <command
178 3692b5bf Andreas Kohlbecker
               commandId="eu.etaxonomy.taxeditor.navigation.command.update.editSelection"
179 4db49a38 Alexander Oppermann
               label="%command.label.5"
180 37f00d44 n.hoffmann
               style="push">       
181 c10e4c27 n.hoffmann
            <visibleWhen
182
                  checkEnabled="true">
183 2d9a13f7 n.hoffmann
               <or>
184
                  <reference
185
                        definitionId="isTaxonNode">
186
                  </reference>
187
                  <reference
188
                        definitionId="isTaxonomicTree">
189
                  </reference>
190
               </or>
191 d2443357 n.hoffmann
            </visibleWhen>
192 9651449a p.ciardelli
         </command>
193 e382ff8f Patric Plitzner
         <command
194
               commandId="eu.etaxonomy.taxeditor.store.open"
195
               label="Edit"
196
               style="push">
197
            <visibleWhen
198
                  checkEnabled="true">
199
               <with
200
                     variable="selection">
201
                  <reference
202
                        definitionId="isClassification">
203
                  </reference>
204
               </with>
205
            </visibleWhen>
206
         </command>
207 c918301b Katja Luther
         <command
208 3692b5bf Andreas Kohlbecker
               commandId="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym"
209 4db49a38 Alexander Oppermann
               label="%command.label.6"
210 c918301b Katja Luther
               style="push">
211
               <visibleWhen
212
                  checkEnabled="true">
213 cf9586f2 Alexander Oppermann
                  <and>
214
                     <reference
215
                           definitionId="isCdmStoreConnected">
216
                     </reference>
217
                     <reference
218
                           definitionId="isTaxonNode">
219
                     </reference>
220
                  </and>
221 c918301b Katja Luther
            </visibleWhen>
222
         </command>
223 9651449a p.ciardelli
         <command
224 3692b5bf Andreas Kohlbecker
               commandId="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon"
225 4db49a38 Alexander Oppermann
               label="%command.label.7"
226 9651449a p.ciardelli
               style="push">
227 c10e4c27 n.hoffmann
            <visibleWhen
228
                  checkEnabled="true">
229 3692b5bf Andreas Kohlbecker
                  <reference
230
                        definitionId="isTaxonNode">
231
                  </reference>
232 d2443357 n.hoffmann
            </visibleWhen>
233 9651449a p.ciardelli
         </command>
234 5ecc7b46 Patric Plitzner
         <command
235
               commandId="eu.etaxonomy.taxeditor.navigation.moveFactualData"
236 8367bf37 Patric Plitzner
               label="%command.label.moveFactualData"
237 5ecc7b46 Patric Plitzner
               style="push">
238 7e5f46c8 Patric Plitzner
            <visibleWhen
239
                  checkEnabled="true">
240
               <and>
241
                  <reference
242
                        definitionId="isCdmStoreConnected">
243
                  </reference>
244
                  <reference
245
                        definitionId="isTaxonNode">
246
                  </reference>
247
               </and>
248
            </visibleWhen>
249 5ecc7b46 Patric Plitzner
         </command>
250 9651449a p.ciardelli
         <separator
251 33490b61 p.ciardelli
               name="taxeditor-navigation.separator2"
252 d2443357 n.hoffmann
               visible="true">
253 9651449a p.ciardelli
         </separator>
254 2baabcd2 n.hoffmann
         <!--command
255 9651449a p.ciardelli
               commandId="eu.etaxonomy.taxeditor.navigation.command.createChildTaxon"
256
               label="New Child"
257
               style="push">
258
         </command>
259
         <command
260
               commandId="eu.etaxonomy.taxeditor.navigation.command.quickCreateChildTaxon"
261
               label="Quick Add Child "
262
               style="push">
263 2baabcd2 n.hoffmann
         </command-->
264 6c3c055f n.hoffmann
         <command
265
               commandId="org.eclipse.ui.file.import"
266 4db49a38 Alexander Oppermann
               label="%command.label.8"
267 6c3c055f n.hoffmann
               style="push">
268 cf9586f2 Alexander Oppermann
            <visibleWhen
269
                  checkEnabled="true">
270
               <reference
271
                     definitionId="isCdmStoreConnected">
272
               </reference>
273
            </visibleWhen>
274 6c3c055f n.hoffmann
         </command>
275
         <command
276
               commandId="org.eclipse.ui.file.export"
277 4db49a38 Alexander Oppermann
               label="%command.label.9"
278 6c3c055f n.hoffmann
               style="push">
279 cf9586f2 Alexander Oppermann
            <visibleWhen
280
                  checkEnabled="true">
281
               <reference
282
                     definitionId="isCdmStoreConnected">
283
               </reference>
284
            </visibleWhen>
285 6c3c055f n.hoffmann
         </command>
286
         <separator
287 33490b61 p.ciardelli
               name="taxeditor-navigation.separator4"
288 6c3c055f n.hoffmann
               visible="true">
289
         </separator>
290 9651449a p.ciardelli
         <command
291 4633f830 Katja Luther
               commandId="eu.etaxonomy.taxeditor.navigation.command.delete"
292 4db49a38 Alexander Oppermann
               label="%command.label.10"
293 9651449a p.ciardelli
               style="push">
294 cf9586f2 Alexander Oppermann
            <visibleWhen
295
                  checkEnabled="true">
296
               <and>
297 5d1cfa2b n.hoffmann
                  <reference
298 cf9586f2 Alexander Oppermann
                        definitionId="isCdmStoreConnected">
299 5d1cfa2b n.hoffmann
                  </reference>
300 cf9586f2 Alexander Oppermann
                  <not>
301
                     <reference
302
                           definitionId="isSynonymNode">
303
                     </reference>
304
                  </not>
305 7f8351e8 Patrick Plitzner
                  <with
306
                        variable="selection">
307
                     <count
308
                           value="+">
309
                     </count>
310
                  </with>
311 cf9586f2 Alexander Oppermann
               </and>
312 5d1cfa2b n.hoffmann
            </visibleWhen>
313 e8409423 n.hoffmann
         </command>
314 2be1bfeb p.ciardelli
         <separator
315 33490b61 p.ciardelli
               name="taxeditor-navigation.separator5"
316 2be1bfeb p.ciardelli
               visible="true">
317
         </separator>
318
         <command
319
               commandId="org.eclipse.ui.file.refresh"
320 4db49a38 Alexander Oppermann
               label="%command.label.11"
321 2be1bfeb p.ciardelli
               style="push">
322 cf9586f2 Alexander Oppermann
            <visibleWhen
323
                  checkEnabled="true">
324
               <reference
325
                     definitionId="isCdmStoreConnected">
326
               </reference>
327
            </visibleWhen>
328 2be1bfeb p.ciardelli
         </command>
329 1d6ee264 l.morris
         <command
330
               commandId="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
331 4db49a38 Alexander Oppermann
               label="%command.label.12"
332 1d6ee264 l.morris
               style="push">
333 cf9586f2 Alexander Oppermann
            <visibleWhen
334
                  checkEnabled="true">
335 099b6ca3 Patric Plitzner
               <and>
336
                  <reference
337
                        definitionId="isCdmStoreConnected">
338
                  </reference>
339
                  <reference
340
                        definitionId="isTaxonNode">
341
                  </reference></and>
342 cf9586f2 Alexander Oppermann
            </visibleWhen>
343 1d6ee264 l.morris
         </command>
344 e8409423 n.hoffmann
      </menuContribution>
345 37f00d44 n.hoffmann
      <menuContribution
346
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
347
         <toolbar
348
               id="eu.etaxonomy.taxeditor.navigation.search.toolbar">
349
            <control
350
                  class="eu.etaxonomy.taxeditor.navigation.search.SearchBar">
351
            </control>
352
         </toolbar>
353
      </menuContribution>
354
      <menuContribution
355
            locationURI="menu:eu.etaxonomy.navigation.menu.new">
356
         <command
357 4db49a38 Alexander Oppermann
               commandId="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
358
               label="%command.label.13"
359 37f00d44 n.hoffmann
               style="push">
360 5a91da84 Patrick Plitzner
            <visibleWhen
361
                  checkEnabled="true">
362
               <reference
363
                     definitionId="isCdmStoreConnected">
364
               </reference>
365
            </visibleWhen>
366 37f00d44 n.hoffmann
         </command>
367
         <separator
368 4db49a38 Alexander Oppermann
               name="eu.etaxonomy.navigation.menu.new.separator1"
369 37f00d44 n.hoffmann
               visible="true">
370
         </separator>
371
         <command
372 4db49a38 Alexander Oppermann
               commandId="eu.etaxonomy.taxeditor.navigation.create.classification"
373
               id="eu.etaxonomy.taxeditor.navigation.create.classificationHandler"
374
               label="%command.label.14"
375 37f00d44 n.hoffmann
               style="push">
376 5a91da84 Patrick Plitzner
            <visibleWhen
377
                  checkEnabled="true">
378
               <reference
379
                     definitionId="isCdmStoreConnected">
380
               </reference>
381
            </visibleWhen>
382 37f00d44 n.hoffmann
         </command>
383
      </menuContribution>
384 35861667 n.hoffmann
      <menuContribution
385
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
386
         <command
387 abada6da Cherian Mathew
               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
388 4db49a38 Alexander Oppermann
               label="%command.label.15"
389 abada6da Cherian Mathew
               style="push">
390
         </command>
391
         <command
392
               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
393 4db49a38 Alexander Oppermann
               label="%command.label.16"
394 35861667 n.hoffmann
               style="push">
395
         </command>
396 7c8e41e0 Cherian Mathew
         <menu
397 4db49a38 Alexander Oppermann
               label="%menu.label.0">
398 7c8e41e0 Cherian Mathew
            <command
399
                  commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
400 4db49a38 Alexander Oppermann
                  label="%command.label.17"
401 7c8e41e0 Cherian Mathew
                  style="push">
402
            </command>
403
            <command
404
                  commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
405 4db49a38 Alexander Oppermann
                  label="%command.label.18"
406 7c8e41e0 Cherian Mathew
                  style="push">
407
            </command>
408
         </menu>
409 35861667 n.hoffmann
         <separator
410 abada6da Cherian Mathew
               name="eu.etaxonomy.eu.polytomousKeyView.separator2"
411 35861667 n.hoffmann
               visible="true">
412
         </separator>
413
         <command
414 4633f830 Katja Luther
               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
415 4db49a38 Alexander Oppermann
               label="%command.label.19"
416 35861667 n.hoffmann
               style="push">
417
         </command>
418 c918301b Katja Luther
         
419 35861667 n.hoffmann
      </menuContribution>
420 e8409423 n.hoffmann
   </extension>
421
   <extension
422
         point="org.eclipse.ui.commands">
423
      <command
424 143e2f91 n.hoffmann
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.EditHandler"
425 3692b5bf Andreas Kohlbecker
            id="eu.etaxonomy.taxeditor.navigation.command.update.editSelection"
426 4db49a38 Alexander Oppermann
            name="%command.name.1">
427 e8409423 n.hoffmann
      </command>
428
      <command
429 143e2f91 n.hoffmann
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveTaxonHandler"
430 3692b5bf Andreas Kohlbecker
            id="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon"
431 4db49a38 Alexander Oppermann
            name="%command.name.2">
432 e8409423 n.hoffmann
      </command>
433 2be1bfeb p.ciardelli
      <command
434 f211dd28 n.hoffmann
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.RefreshTreeHandler"
435 2be1bfeb p.ciardelli
            id="org.eclipse.ui.file.refresh"
436 4db49a38 Alexander Oppermann
            name="%command.name.3">
437 2be1bfeb p.ciardelli
      </command>
438 1d6ee264 l.morris
      <command
439
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CopyHandler"
440
            id="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
441 4db49a38 Alexander Oppermann
            name="%command.name.4">
442 1d6ee264 l.morris
      </command>
443 c918301b Katja Luther
      <command
444
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.ChangeAcceptedTaxonToSynonymHandler"
445 3692b5bf Andreas Kohlbecker
            id="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym"
446 4db49a38 Alexander Oppermann
            name="%command.name.5">
447 c918301b Katja Luther
      </command>
448 77778ce2 Patric Plitzner
      <command
449
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewClassificationHandler"
450
            id="eu.etaxonomy.taxeditor.navigation.create.classification"
451
            name="%command.name.0">
452
      </command>
453
      <command
454
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewTaxonNodeHandler"
455
            id="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
456
            name="%command.name">
457
      </command>
458 35861667 n.hoffmann
      <command
459 abada6da Cherian Mathew
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.NewPolytomousKeyHandler"
460
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
461 4db49a38 Alexander Oppermann
            name="%command.name.6">
462 abada6da Cherian Mathew
      </command>
463
      <command
464
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.EditPolytomousKeyNodesHandler"
465
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
466 4db49a38 Alexander Oppermann
            name="%command.name.7">
467 35861667 n.hoffmann
      </command>
468 7c8e41e0 Cherian Mathew
      <command
469
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyListHandler"
470
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
471 4db49a38 Alexander Oppermann
            name="%command.name.8">
472 7c8e41e0 Cherian Mathew
      </command>
473
      <command
474
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyNodesHandler"
475
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
476 4db49a38 Alexander Oppermann
            name="%command.name.9">
477 7c8e41e0 Cherian Mathew
      </command>
478 5ecc7b46 Patric Plitzner
      <command
479
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveFactualDataHandler"
480
            id="eu.etaxonomy.taxeditor.navigation.moveFactualData"
481 8367bf37 Patric Plitzner
            name="%command.name.moveFactualData">
482 5ecc7b46 Patric Plitzner
      </command>
483 31645e4f Alexander Oppermann
      <command
484 35fc6f00 Alexander Oppermann
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CreateClassificationHierarchyHandler"
485 31645e4f Alexander Oppermann
            id="eu.etaxonomy.taxeditor.navigation.navigator.handler.OpenFixClassificationHierarchyHandler"
486
            name="%command.name.10">
487
      </command>
488 4633f830 Katja Luther
      <command
489
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
490
            id="eu.etaxonomy.taxeditor.navigation.command.delete"
491 000c4b35 Cherian Mathew
            name="%command.name.11">
492
      </command>
493
      <command
494
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
495
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
496
            name="%command.name.11">
497 4633f830 Katja Luther
      </command>
498 35861667 n.hoffmann
   </extension>
499 27c7bff5 p.ciardelli
   <extension
500
         point="org.eclipse.ui.handlers">
501
      <handler
502 143e2f91 n.hoffmann
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
503 4633f830 Katja Luther
            commandId="eu.etaxonomy.taxeditor.navigation.navigator.command.delete">
504 ea781c57 n.hoffmann
         <activeWhen>
505 27c7bff5 p.ciardelli
            <with
506
                  variable="activePartId">
507
               <equals
508
                     value="eu.etaxonomy.taxeditor.navigation.navigator">
509
               </equals>
510
            </with>
511 ea781c57 n.hoffmann
         </activeWhen>
512 27c7bff5 p.ciardelli
      </handler>
513 35861667 n.hoffmann
      <handler
514 ea781c57 n.hoffmann
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
515 4633f830 Katja Luther
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
516 35861667 n.hoffmann
         <activeWhen>
517
            <with
518
                  variable="activePartId">
519
               <equals
520
                     value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
521
               </equals>
522
            </with>
523
         </activeWhen>
524
      </handler>
525 6c610cc5 Cherian Mathew
      <handler
526 6c511765 Cherian Mathew
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingChangeAcceptedTaxonToSynonymHandler"
527 6c610cc5 Cherian Mathew
            commandId="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym">
528
         <activeWhen>
529 323a4942 Cherian Mathew
            <reference
530 6c511765 Cherian Mathew
                  definitionId="isRemoting">
531 323a4942 Cherian Mathew
            </reference>
532
         </activeWhen>
533
      </handler>
534
      <handler
535 6c511765 Cherian Mathew
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingMoveFactualDataHandler"
536
            commandId="eu.etaxonomy.taxeditor.navigation.moveFactualData">
537
         <activeWhen>
538
            <reference
539
                  definitionId="isRemoting">
540
            </reference>
541
         </activeWhen>
542
      </handler>
543
      <handler
544 b090df35 Cherian Mathew
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingMoveTaxonNodeHandler"
545 6c511765 Cherian Mathew
            commandId="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon">
546
         <activeWhen>
547
            <reference
548
                  definitionId="isRemoting">
549
            </reference>
550
         </activeWhen>
551
      </handler>
552
      <handler
553
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingDeleteTaxonNodeHandler"
554
            commandId="eu.etaxonomy.taxeditor.navigation.command.delete">
555 323a4942 Cherian Mathew
         <activeWhen>
556
            <reference
557
                  definitionId="isRemoting">
558
            </reference>
559 6c610cc5 Cherian Mathew
         </activeWhen>
560
      </handler>
561 0a72efb6 Cherian Mathew
      <handler
562
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingDeletePolytomousKeyHandler"
563
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
564
         <activeWhen>
565
            <reference
566
                  definitionId="isRemoting">
567
            </reference>
568
         </activeWhen>
569
      </handler>
570
      <handler
571
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingUpdatePolytomousKeyAllNodesHandler"
572
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes">
573
         <activeWhen>
574
            <reference
575
                  definitionId="isRemoting">
576
            </reference>
577
         </activeWhen>
578
      </handler>
579 e9c96f29 Cherian Mathew
      <handler
580
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingEditPolytomousKeyNodesHandler"
581
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes">
582
         <activeWhen>
583
            <reference
584
                  definitionId="isRemoting">
585
            </reference>
586
         </activeWhen>
587
      </handler>
588 27c7bff5 p.ciardelli
   </extension>
589 e8409423 n.hoffmann
590 09c72303 n.hoffmann
      
591 9651449a p.ciardelli
      <!--extension
592
            point="org.eclipse.ui.navigator.viewer">
593
         <viewer
594
               viewerId="org.eclipse.ui.examples.navigator.view">
595
         </viewer>
596
         <viewerContentBinding
597
               viewerId="org.eclipse.ui.examples.navigator.view">
598
            <includes>
599
               <contentExtension
600
                     pattern="org.eclipse.ui.navigator.resourceContent" />
601
               <contentExtension
602
                     pattern="org.eclipse.ui.navigator.resources.filters.*" />                     
603
            </includes>
604
         </viewerContentBinding>
605
         <viewerActionBinding
606
               viewerId="org.eclipse.ui.examples.navigator.view">
607
            <includes>
608
               <actionExtension
609
                     pattern="org.eclipse.ui.navigator.resources.*">
610
               </actionExtension>
611
            </includes>
612
         </viewerActionBinding>
613
      </extension>
614
      <extension
615
            point="org.eclipse.ui.navigator.navigatorContent">
616
         <commonFilter
617
               id="org.eclipse.ui.examples.navigator.filters.hideNonJavaProjects"
618
               name="Hide non-Java projects">
619
            <filterExpression>
620
               <not>
621
                  <adapt
622
                        type="org.eclipse.core.resources.IProject">
623
                     <test
624
                           property="org.eclipse.core.resources.projectNature"
625
                           value="org.eclipse.jdt.core.javanature">
626
                     </test>
627
                  </adapt>
628
               </not>
629
            </filterExpression>
630
         </commonFilter>
631
      </extension-->
632
      
633
      
634
      
635
      
636
      
637
      
638
   <extension
639
         point="org.eclipse.ui.views">
640
      <view
641
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator"
642
            icon="icons/edit_16x16.gif"
643
            id="eu.etaxonomy.taxeditor.navigation.navigator"
644 4db49a38 Alexander Oppermann
            name="%view.name.2"/>
645 9651449a p.ciardelli
   </extension>
646
   <extension
647
         point="org.eclipse.ui.navigator.navigatorContent">
648 5dd980ce n.hoffmann
      <navigatorContent
649 a2353579 n.hoffmann
            contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationContentProvider"
650 d31115e0 n.hoffmann
            id="eu.etaxonomy.taxeditor.navigation.classificationContent"
651 a2353579 n.hoffmann
            labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationLabelProvider"
652 4db49a38 Alexander Oppermann
            name="%navigatorContent.name">
653 5dd980ce n.hoffmann
         <triggerPoints>
654
            <instanceof
655 d2443357 n.hoffmann
                  value="eu.etaxonomy.taxeditor.navigation.navigator.Root">
656 5dd980ce n.hoffmann
            </instanceof>
657
         </triggerPoints>
658
         <possibleChildren>
659
            <instanceof
660
                  value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
661
            </instanceof>
662
         </possibleChildren>
663 85732b4d n.hoffmann
         <dropAssistant
664
               class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
665
               id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
666
            <possibleDropTargets></possibleDropTargets>
667
         </dropAssistant>
668 5dd980ce n.hoffmann
      </navigatorContent>
669 9651449a p.ciardelli
      <navigatorContent
670 d2443357 n.hoffmann
            contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeContentProvider"
671 d31115e0 n.hoffmann
            id="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"
672 d2443357 n.hoffmann
            labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeLabelProvider"
673 4db49a38 Alexander Oppermann
            name="%navigatorContent.name.0">
674 9651449a p.ciardelli
         <triggerPoints>
675 04a7a151 p.ciardelli
            <or>
676
               <instanceof
677
                     value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
678
               </instanceof>
679
               <and>
680
                  <instanceof
681 4db49a38 Alexander Oppermann
                     value="eu.etaxonomy.cdm.model.taxon.Classification">
682 04a7a151 p.ciardelli
                  </instanceof>
683
                  <test
684
                     forcePluginActivation="true"
685
                     property="eu.etaxonomy.taxeditor.propertytests.hasTaxa">
686
                  </test>
687
               </and>
688
            </or>
689 9651449a p.ciardelli
         </triggerPoints>
690
         <dropAssistant
691 85732b4d n.hoffmann
               class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
692 9651449a p.ciardelli
               id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
693
            <possibleDropTargets>
694 d2443357 n.hoffmann
               <or>
695
                  <instanceof
696
                        value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
697
                  </instanceof>
698
                  <instanceof
699 4db49a38 Alexander Oppermann
                        value="eu.etaxonomy.cdm.model.taxon.Classification">
700 d2443357 n.hoffmann
                  </instanceof>
701
               </or>
702 9651449a p.ciardelli
            </possibleDropTargets>
703
         </dropAssistant>
704
         <possibleChildren>
705
            <instanceof
706 5dd980ce n.hoffmann
                  value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
707 9651449a p.ciardelli
            </instanceof>
708
         </possibleChildren>
709
      </navigatorContent>
710
      <navigatorContent
711 09c72303 n.hoffmann
            activeByDefault="false"
712 d2443357 n.hoffmann
            contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymContentProvider"
713 d31115e0 n.hoffmann
            id="eu.etaxonomy.taxeditor.navigation.synonymContent"
714 d2443357 n.hoffmann
            labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymLabelProvider"
715 4db49a38 Alexander Oppermann
            name="%navigatorContent.name.1"
716 9651449a p.ciardelli
            priority="highest">
717
         <triggerPoints>
718 e370cd47 p.ciardelli
            <and>
719
               <instanceof
720 d2443357 n.hoffmann
                     value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
721 e370cd47 p.ciardelli
               </instanceof>
722
               <test
723
                     forcePluginActivation="true"
724
                     property="eu.etaxonomy.taxeditor.propertytests.hasSynonyms">
725
               </test>
726
            </and>
727 9651449a p.ciardelli
         </triggerPoints>
728
         <possibleChildren>
729
            <instanceof
730
                  value="eu.etaxonomy.cdm.model.taxon.Synonym">
731
            </instanceof>
732
         </possibleChildren>
733
      </navigatorContent>
734
   </extension>
735
   <extension
736
         point="org.eclipse.ui.navigator.viewer">
737
      <viewer
738
            viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
739
         <popupMenu
740
               id="eu.etaxonomy.taxeditor.navigation.navigatorpopup">
741
         </popupMenu>
742
      </viewer>
743
      <viewerContentBinding viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
744
         <includes>
745 5dd980ce n.hoffmann
            <contentExtension
746 d31115e0 n.hoffmann
                  pattern="eu.etaxonomy.taxeditor.navigation.classificationContent">
747 5dd980ce n.hoffmann
            </contentExtension>
748 d31115e0 n.hoffmann
            <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"/>
749 9651449a p.ciardelli
            <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper"/>
750
            <contentExtension
751 d31115e0 n.hoffmann
                  pattern="eu.etaxonomy.taxeditor.navigation.synonymContent">
752 9651449a p.ciardelli
            </contentExtension>
753
         </includes>
754
      </viewerContentBinding>
755
      <!--viewer
756
            popupMenuId="eu.etaxonomy.taxeditor.navigation.navigator#PopupMenu"
757
            viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
758
         <options>
759
            <property
760
                  name="org.eclipse.ui.navigator.hideAvailableExtensionsTab"
761
                  value="true">
762
            </property>
763
         </options>
764
      </viewer-->
765 6292490e Cherian Mathew
      <dragAssistant
766
               class="eu.etaxonomy.taxeditor.navigation.navigator.dnd.TaxonNavigatorDragAdapterAssistant"
767
               viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
768
      </dragAssistant>
769 9651449a p.ciardelli
   </extension>
770
   <extension
771
         point="org.eclipse.ui.navigator.linkHelper">
772
      <linkHelper
773
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonLinkHelper"
774
            id="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper">
775
          <selectionEnablement>
776 5dd980ce n.hoffmann
             <instanceof value="eu.etaxonomy.cdm.model.taxon.TaxonNode"/>
777 9651449a p.ciardelli
          </selectionEnablement>            
778
         <editorInputEnablement>
779
         	<instanceof value="eu.etaxonomy.taxeditor.editor.TaxonEditorInput"/>
780
         </editorInputEnablement>
781
      </linkHelper>
782
   </extension>
783
   <extension
784
         point="org.eclipse.core.runtime.adapters">
785
      <factory
786
            adaptableType="org.eclipse.core.internal.resources.Workspace"
787
            class="eu.etaxonomy.taxeditor.navigation.WorkbenchUndoContextAdapterFactory">
788
         <adapter
789
               type="org.eclipse.core.commands.operations.IUndoContext">
790
         </adapter>
791
      </factory>
792
   </extension>
793 4db49a38 Alexander Oppermann
      <extension
794 e370cd47 p.ciardelli
         point="org.eclipse.core.expressions.propertyTesters">
795
      <propertyTester
796 d2443357 n.hoffmann
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
797 e370cd47 p.ciardelli
            id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
798
            namespace="eu.etaxonomy.taxeditor.propertytests"
799
            properties="hasSynonyms"
800 d2443357 n.hoffmann
            type="eu.etaxonomy.cdm.model.taxon.TaxonNode">
801 e370cd47 p.ciardelli
      </propertyTester>
802 04a7a151 p.ciardelli
      <propertyTester
803
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
804
            id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
805
            namespace="eu.etaxonomy.taxeditor.propertytests"
806
            properties="hasTaxa"
807
            type="eu.etaxonomy.cdm.model.taxon.TaxonomicTree">
808
      </propertyTester>
809 4db49a38 Alexander Oppermann
      <propertyTester
810
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
811
            id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
812
            namespace="eu.etaxonomy.taxeditor.propertytests"
813
            properties="hasTaxa"
814
            type="eu.etaxonomy.cdm.model.taxon.Classification">
815
      </propertyTester>
816
   <propertyTester
817
         class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
818
         id="eu.etaxonomy.taxeditor.preferences.propertyTester"
819
         namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
820 0f0c1e8c Patric Plitzner
         properties="isShowExperimentalFeatures, isChecklistEditorEnabled"
821 32103a77 Alexander Oppermann
         type="org.eclipse.jface.viewers.IStructuredSelection">
822
   </propertyTester>
823 0f0c1e8c Patric Plitzner
   <propertyTester
824
         class="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
825
         id="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
826
         namespace="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
827 323a4942 Cherian Mathew
         properties="isCdmStoreConnected,isRemoting,isStandAlone"
828 0f0c1e8c Patric Plitzner
         type="java.lang.Object">
829
   </propertyTester>
830 e370cd47 p.ciardelli
   </extension>
831 d2443357 n.hoffmann
   <extension
832
         point="org.eclipse.core.expressions.definitions">
833
      <definition
834
            id="isTaxonNode">
835
         <with
836 c4dcde9b n.hoffmann
               variable="selection">
837 4db49a38 Alexander Oppermann
            <iterate
838
                  ifEmpty="false">
839 d2443357 n.hoffmann
               <instanceof
840
                     value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
841
               </instanceof>
842
            </iterate>
843
         </with>
844
      </definition>
845
      <definition
846 4db49a38 Alexander Oppermann
            id="isSynonymNode">
847 d2443357 n.hoffmann
         <with
848 c4dcde9b n.hoffmann
               variable="selection">
849 4db49a38 Alexander Oppermann
            <iterate
850
                  ifEmpty="false">
851 d2443357 n.hoffmann
               <instanceof
852 4db49a38 Alexander Oppermann
                     value="eu.etaxonomy.cdm.model.taxon.Synonym">
853 d2443357 n.hoffmann
               </instanceof>
854
            </iterate>
855
         </with>
856
      </definition>
857
      <definition
858 4db49a38 Alexander Oppermann
            id="isClassification">
859 d2443357 n.hoffmann
         <with
860 c4dcde9b n.hoffmann
               variable="selection">
861 4db49a38 Alexander Oppermann
            <iterate
862
                  ifEmpty="false">
863 d2443357 n.hoffmann
               <instanceof
864 4db49a38 Alexander Oppermann
                     value="eu.etaxonomy.cdm.model.taxon.Classification">
865 d2443357 n.hoffmann
               </instanceof>
866
            </iterate>
867
         </with>
868
      </definition>
869 4db49a38 Alexander Oppermann
      <definition
870
            id="isChecklistEditorEnabled">
871
         <with
872
               variable="selection">
873
            <test
874
                  property="eu.etaxonomy.taxeditor.preferences.propertyTester.isChecklistEditorEnabled">
875
            </test>
876
         </with>
877
      </definition>
878 cf9586f2 Alexander Oppermann
      <definition
879
            id="isCdmStoreConnected">
880 0f0c1e8c Patric Plitzner
         <test
881
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isCdmStoreConnected">
882
         </test>
883 cf9586f2 Alexander Oppermann
      </definition>
884 32103a77 Alexander Oppermann
      <definition
885
            id="isShowExperimentalFeatures">
886
         <with
887
               variable="selection">
888
            <test
889
                  property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
890
            </test>
891
         </with>
892
      </definition>
893 323a4942 Cherian Mathew
      <definition
894
            id="isRemoting">
895
         <test
896
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
897
         </test>
898
      </definition>
899
      <definition
900
            id="isStandAlone">
901
         <test
902
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isStandAlone">
903
         </test>
904
      </definition>
905 b86fa7f3 em.lee
   </extension>
906 e382ff8f Patric Plitzner
   <extension
907
         point="eu.etaxonomy.taxeditor.store.cdmViewer">
908
      <cdmViewer
909
            class="eu.etaxonomy.taxeditor.navigation.NavigationCdmViewer">
910
      </cdmViewer>
911
   </extension>
912 e8409423 n.hoffmann
</plugin>