Project

General

Profile

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