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 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 1977e94a Patrick Plitzner
      <handler
567
            class="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView"
568
            commandId="eu.etaxonomy.taxeditor.openReferencingObjectsView">
569
         <activeWhen>
570
            <with
571
                  variable="activePartId">
572
               <equals
573
                     value="eu.etaxonomy.taxeditor.navigation.navigator">
574
               </equals>
575
            </with>
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>