Project

General

Profile

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