Project

General

Profile

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