File: _plugin.xml

package info (click to toggle)
bnd 5.0.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 44,128 kB
  • sloc: java: 249,039; xml: 90,728; sh: 655; perl: 153; makefile: 96; python: 47; javascript: 9
file content (1140 lines) | stat: -rw-r--r-- 43,258 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
<?xml version="1.0" encoding="UTF-8"?>
<plugin>


   <!-- Extension Points -->
   <!-- DEPRECATED -->
   <extension-point id="cnfTemplates"
      name="Workspace Configuration Templates"
      schema="schema/cnfTemplates.exsd"
   />
   <extension-point id="launchTemplates"
      name="Launch Templates"
      schema="schema/launchTemplates.exsd"
   />
   <extension-point id="projectTemplates"
      name="Project Templates"
      schema="schema/projectTemplates.exsd"
   />
   <extension-point id="workspaceTemplates"
      name="Workspace Templates"
   />
   <!-- END DEPRECATION -->
   <extension-point id="bndtoolsStartupParticipant"
      name="Bndtools Start-up Participant"
      schema="schema/bndtoolsStartupParticipant.exsd"
   />
   <extension-point id="osgiFrameworks"
      name="OSGi Frameworks"
      schema="schema/osgiFrameworks.exsd"
   />
   <extension-point id="bndPlugins"
      name="Bnd Plug-ins"
      schema="schema/.exsd"
   />
   <extension-point id="validators"
      name="Build Validators"
      schema="schema/validators.exsd"
   />
   <extension-point id="buildListeners"
      name="Build Listeners"
      schema="schema/buildListeners.exsd"
   />
   <extension-point id="buildErrorDetailsHandlers"
      name="Build Error Details Handlers"
      schema="schema/buildErrorDetailsHandlers.exsd"
   />
   <extension-point id="runExportWizards"
      name="Run Descriptor Export Wizards"
      schema="schema/runExportWizards.exsd"
   />

   <extension-point id="editorPages"
      name="Bnd Editor Pages"
      schema="schema/editorPages"
   />

	<extension point="bndtoolsStartupParticipant">
		<startupParticipant
			class="bndtools.central.Central" />
	</extension>

   <!-- EDITORS -->
   <extension
         point="org.eclipse.ui.editors">
      <editor
            class="bndtools.editor.BndEditor"
            default="false"
            extensions="bnd"
            icon="${icons.bundle}"
            id="bndtools.bndEditor"
            name="Bnd Bundle Editor">
      </editor>
      <editor
            class="bndtools.editor.BndEditor"
            default="false"
            filenames="bnd.bnd"
            icon="icons/bricks.png"
            id="bndtools.bndProjectEditor"
            name="Bnd Project Editor">
      </editor>
      <editor
            class="bndtools.editor.BndEditor"
            default="false"
            extensions="bndrun"
            icon="${icons.bndrun}"
            id="bndtools.bndRunEditor"
            name="Bnd Run File Editor">
      </editor>
      <editor
            class="bndtools.editor.BndEditor"
            default="false"
            filenames="build.bnd,ext/*.bnd"
            icon="icons/bndtools-logo-16x16.png"
            id="bndtools.bndWorkspaceConfigEditor"
            name="Bnd Workspace Config Editor"
      />
      <editor
            class="org.bndtools.core.editors.pkginfo.PackageInfoEditor"
            default="true"
            filenames="packageinfo"
            id="bndtools.packageInfoEditor"
            name="Package Info Editor"
            icon="icons/information.gif"
      />
   </extension>

   <extension
         point="org.eclipse.ui.newWizards">
      <category
            id="bndtools.wizardCategory"
            name="Bndtools"
      />
      <wizard
            id="bndtools.newBndFile"
            category="bndtools.wizardCategory"
            class="bndtools.wizards.bndfile.EmptyBndFileWizard"
            icon="${icons.bundle}"
            name="Bundle Descriptor File (.bnd)"
            project="false">
      </wizard>
      <wizard
            id="bndtools.newBlueprintXml"
            category="bndtools.wizardCategory"
            class="org.bndtools.core.ui.wizards.blueprint.BlueprintXmlFileWizard"
            finalPerspective="bndtools.perspective"
            preferredPerspectives="bndtools.perspective"
            icon="icons/blueprint.png"
            name="OSGi Blueprint Descriptor"
            project="false">
      </wizard>
      <wizard
            id="bndtools.newIndexWizard"
            category="bndtools.wizardCategory"
            class="org.bndtools.core.ui.wizards.index.NewIndexWizard"
            icon="icons/repoindex.png"
            name="OSGi Repository Index"
            project="false"
            >
      </wizard>
      <wizard
            name="OSGi Declarative Services Component"
            icon="${icons.component}"
            category="bndtools.wizardCategory"
            id="bndtools.newDsComponentWizard">
         <class class="org.bndtools.core.ui.wizards.ds.NewDSComponentWizard">
            <parameter name="javatype" value="true"/>
         </class>
         <description>
            Create an OSGi Declarative Services Component
         </description>
         <!-- This is used to add the wizard to the "New Java Type" toolbar dropdown -->
         <keywordReference id="org.eclipse.jdt.ui.wizards.java"/>
      </wizard>
      <wizard
            id="bndtools.bndrunWizard"
            category="bndtools.wizardCategory"
            class="bndtools.wizards.bndfile.BndRunFileWizard"
            icon="${icons.bndrun}"
            name="Run Descriptor File (.bndrun)">
      </wizard>
      <wizard
            id="bndtools.newProjWiz"
            category="bndtools.wizardCategory"
            class="bndtools.wizards.project.NewBndProjectWizardFactory"
            finalPerspective="bndtools.perspective"
            preferredPerspectives="bndtools.perspective"
            icon="icons/bricks.png"
            name="Bnd OSGi Project"
            project="true">
      </wizard>
      <wizard
            id="bndtools.workspaceWizard"
            category="bndtools.wizardCategory"
            class="bndtools.wizards.workspace.WorkspaceSetupWizard"
            finalPerspective="bndtools.perspective"
            preferredPerspectives="bndtools.perspective"
            icon="icons/bndtools-logo-16x16.png"
            name="Bnd OSGi Workspace"
            project="true">
      </wizard>
   </extension>

	<extension point="org.eclipse.ui.ide.markerResolution">
		<markerResolutionGenerator
			markerType="bndtools.builder.missingworkspace"
			class="bndtools.wizards.workspace.MissingWorkspaceMarkerResolutionGenerator"
		/>
	</extension>

	<extension point="bndtools.core.buildErrorDetailsHandlers">
		<handler
			typeMatch="bndtools.builder.missingworkspace"
			class="bndtools.wizards.workspace.MissingWorkspaceBuildErrorHandler"
		/>
	</extension>

	<extension point="org.eclipse.jdt.ui.quickFixProcessors">
		<quickFixProcessor id="PackageInfoBaselineQuickFixProcessor"
			name="Package Info Baseline Quick Fix" requiredSourceLevel="1.5"
			class="org.bndtools.core.editors.PackageInfoBaselineQuickFixProcessor">
			<handledMarkerTypes>
				<markerType id="bndtools.builder.packageInfoBaseline" />
			</handledMarkerTypes>
			<enablement>
				<with variable="projectNatures">
					<iterate operator="or">
						<equals value="org.eclipse.jdt.core.javanature" />
					</iterate>
				</with>
			</enablement>
		</quickFixProcessor>
		<quickFixProcessor id="ImportPackageQuickFixProcessor"
			name="Import Package Quick Fix" requiredSourceLevel="1.5"
			class="org.bndtools.core.editors.ImportPackageQuickFixProcessor"
			icon="icons/bricks.png">
 			<handledMarkerTypes>
				<markerType id="org.eclipse.jdt.core.problem" />
			</handledMarkerTypes>
			<enablement>
				<with variable="projectNatures">
					<iterate operator="or">
						<equals value="bndtools.core.bndnature" />
					</iterate>
				</with>
			</enablement>
		</quickFixProcessor>
	</extension>

   <extension
         point="org.eclipse.ui.views">
      <category
            id="bndtools.viewCategory"
            name="Bndtools">
      </category>
      <view
            category="bndtools.viewCategory"
            class="bndtools.explorer.BndtoolsExplorer"
            icon="icons/bndtools-logo-16x16.png"
            id="bndtools.PackageExplorer"
            name="Bndtools Explorer">
      </view>
      <view
            category="bndtools.viewCategory"
            class="bndtools.views.resolution.ResolutionView"
            icon="${icons.capreq}"
            id="bndtools.impExpView"
            name="Resolution"
            restorable="true">
      </view>
      <view
            category="bndtools.viewCategory"
            class="bndtools.views.repository.RepositoriesView"
            icon="icons/database.png"
            id="bndtools.repositoriesView"
            name="Repositories"
            restorable="true">
      </view>
      <view
            category="bndtools.viewCategory"
            class="org.bndtools.core.views.jpm.JPMBrowserView"
            icon="icons/jpm.gif"
            id="org.bndtools.core.views.jpm.JPMBrowserView"
            name="Searchable Repositories"
            restorable="true">
      </view>
   </extension>
   <extension point="org.eclipse.ui.commands">
      <command
         id="bndtools.core.removeRepoResource"
         name="Remove Resource"
         description="Remove selected resource from the repository"
      />
      <command
         id="bndtools.workspace.openMainConfig"
         name="Open main bnd config"
         description=""
      />
      <command
         id="bndtools.workspace.refreshRepos"
         name="Refresh Repositories"
         description=""
      />
      <command
         id="bnd.wizard.generateIndex"
         name="Generate OSGi Repo. Index"
      />
   </extension>
   <extension point="org.eclipse.ui.commandImages">
      <image
         commandId="bndtools.core.removeRepoResource"
         icon="icons/cross.png"
      />
      <image
         commandId="bndtools.workspace.openMainConfig"
         icon="icons/bndtools-logo-16x16.png"
      />
      <image
         commandId="bndtools.workspace.refreshRepos"
         icon="icons/arrow_refresh.png"
      />
      <image
         commandId="bnd.wizard.generateIndex"
         icon="icons/repoindex.png"
      />
      <image
         commandId="bndtools.runEditor.resolve"
         icon="${icons.resolve}"
      />
   </extension>
   <extension point="org.eclipse.ui.handlers">
      <handler
         commandId="bndtools.core.removeRepoResource"
         class="bndtools.views.repository.RemoveRepoResourceHandler">
         <enabledWhen>
            <with variable="selection">
               <count value="+" />
               <iterate operator="and">
                  <adapt type="bndtools.model.repo.RepositoryBundle" />
               </iterate>
            </with>
         </enabledWhen>
       </handler>
       <handler
         commandId="bndtools.workspace.openMainConfig"
         class="bndtools.OpenMainConfigHandler"
       />
       <handler
          commandId="bndtools.workspace.refreshRepos"
          class="bndtools.RefreshReposHandler"
       />
       <handler
          commandId="bnd.wizard.generateIndex"
          class="org.bndtools.core.ui.wizards.index.GenerateIndexCommandHandler">
          <enabledWhen>
             <with variable="selection">
                 <count value="1"/>
                 <iterate operator="and">
	                 <adapt type="org.eclipse.core.resources.IContainer"/>
                 </iterate>
             </with>
          </enabledWhen>
       </handler>
   </extension>

   <extension point="org.eclipse.ui.menus">
      <menuContribution locationURI="popup:org.eclipse.ui.popup.any">
         <command commandId="bndtools.core.removeRepoResource">
            <visibleWhen checkEnabled="true"/>
         </command>
      </menuContribution>

      <menuContribution locationURI="menu:org.eclipse.ui.main.menu?after=project">
         <menu
            id="bndtools"
            label="Bndtools"
            mnemonic="B">
            <visibleWhen>
               <with variable="activeWorkbenchWindow.activePerspective">
                  <equals value="bndtools.perspective"/>
               </with>
            </visibleWhen>
            <command commandId="bndtools.workspace.refreshRepos" mnemonic="R"/>
            <separator
               name="main"
               visible="true"
            />
            <command commandId="bndtools.workspace.openMainConfig" mnemonic="M"/>
            <dynamic id="bndtools.workspace.openExtConfigs"
               class="bndtools.OpenExtConfigsContributionItem"/>
            <separator
               name="additions"
               visible="false"
            />
         </menu>
      </menuContribution>

      <menuContribution locationURI="popup:org.eclipse.ui.popup.any">
          <command commandId="bnd.wizard.generateIndex">
               <visibleWhen checkEnabled="true"/>
          </command>
      </menuContribution>

      <menuContribution locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
          <toolbar id="bndtools.runEditor.toolbar">
              <command commandId="bndtools.runEditor.resolve">
                  <visibleWhen>
                      <with variable="activeEditorId"><equals value="bndtools.bndRunEditor"/></with>
                  </visibleWhen>
              </command>
              <separator name="additions"/>
          </toolbar>
      </menuContribution>
   </extension>

   <extension point="org.eclipse.ui.bindings">
       <!-- M1 == Shift -->
       <!-- M2 == Ctrl on Win, Cmd on Mac -->
       <!-- M3 == Alt -->
       <!-- Ctrl == Ctrl on both Win and Mac -->
       <key
            commandId="bndtools.workspace.openMainConfig"
            contextId="org.eclipse.ui.contexts.window"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M1+M2+M"
      />
      <key
            commandId="bndtools.workspace.refreshRepos"
            contextId="org.eclipse.ui.contexts.window"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M1+M2+F"
      />
      <key
            commandId="bndtools.runEditor.resolve"
            contextId="org.eclipse.ui.contexts.window"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="Ctrl+R"
      />
   </extension>

   <extension
      point="org.eclipse.ui.actionSets">
      <actionSet
         id="bndtools.actions"
         label="Bndtools"
         visible="false">

         <action
            id="bndtools.actions.openBrowser"
            label="Open Web Browser"
            toolbarPath="Normal/Bndtools"
            icon="icons/browser.gif"
            tooltip="Open Web Browser"
            class="org.bndtools.core.actions.OpenBrowserActionDelegate"
         />
         <action
            id="bndtools.actions.newRunDescriptor"
            label="New OSGi Run Descriptor"
            toolbarPath="Normal/Bndtools"
            icon="${icons.bndrun.new}"
            tooltip="New OSGi Run Descriptor"
            class="bndtools.wizards.bndfile.NewRunDescriptorActionDelegate"
         />
         <action
            id="bndtools.actions.newBundle"
            label="New Bundle Descriptor"
            toolbarPath="Normal/Bndtools"
            icon="${icons.bundle.new}"
            tooltip="New Bundle Descriptor"
            class="bndtools.wizards.bndfile.NewBndFileActionDelegate"
         />
      </actionSet>
   </extension>
   <extension point="org.eclipse.ui.perspectives">
      <perspective
         id="bndtools.perspective"
         name="Bndtools"
         class="bndtools.perspective.BndPerspective"
         icon="icons/bndtools-logo-16x16.png">
      </perspective>
   </extension>

   <extension point="org.eclipse.ui.perspectiveExtensions">
      <!-- Add lots of lovely Bndtools stuff to the Java perspective -->
      <perspectiveExtension targetID="org.eclipse.jdt.ui.JavaPerspective">
         <newWizardShortcut id="bndtools.newProjWiz"/>
         <newWizardShortcut id="bndtools.newWrapProjWiz"/>
         <newWizardShortcut id="bndtools.newBndFile"/>
         <viewShortcut id="bndtools.impExpView"/>
         <perspectiveShortcut id="bndtools.perspective"/>
      </perspectiveExtension>

      <!-- Add a way back to the Bndtools perspective from the Debug perspective -->
      <perspectiveExtension targetID="org.eclipse.debug.ui.DebugPerspective">
         <viewShortcut id="bndtools.impExpView"/>
         <perspectiveShortcut id="bndtools.perspective"/>
      </perspectiveExtension>
   </extension>
   <!-- COMPLETION PROPOSALS
   <extension
      point="org.eclipse.jdt.ui.javaCompletionProposalComputer"
      id="bundleImports"
      name="Bundle Import Proposals">
      <proposalCategory icon="icons/bricks.png"/>
   </extension>
   <extension
      point="org.eclipse.jdt.ui.javaCompletionProposalComputer"
      id="bundleImportClassProposalComputer"
      name="Bundle Import Proposal Computer">
      <javaCompletionProposalComputer
         class="bndtools.classpath.BundleClassCompletionProposalComputer"
         categoryId="bndtools.core.bundleImports">
         <partition type="__dftl_partition_content_type"/>
      </javaCompletionProposalComputer>
   </extension>
   -->

   <extension
         point="org.eclipse.debug.ui.launchConfigurationTabGroups">
      <launchConfigurationTabGroup
            class="bndtools.launch.ui.internal.LaunchTabGroup"
            id="aQute.bnd.launch.tabgroup"
            type="bndtools.launch">
      </launchConfigurationTabGroup>
      <launchConfigurationTabGroup
            class="bndtools.launch.ui.internal.JUnitLaunchTabGroup"
            id="aQute.bnd.launch.junit.tabgroup"
            type="bndtools.launch.junit">
      </launchConfigurationTabGroup>
      <launchConfigurationTabGroup
            class="bndtools.launch.bnd.NativeLaunchTabGroup"
            id="aQute.bnd.launch.native.tabgroup"
            type="bnd.launch">
      </launchConfigurationTabGroup>
   </extension>

   <!-- DEFINE LAUNCH CONFIGURATION TYPES -->
   <extension point="org.eclipse.debug.core.launchConfigurationTypes">
      <launchConfigurationType
        delegate="bndtools.launch.OSGiRunLaunchDelegate"
        id="bndtools.launch"
        modes="run, debug"
        name="OSGi Framework"
        sourceLocatorId="org.bndtools.core.launch.BndDependencySourceLookupDirector"
        sourcePathComputerId="org.eclipse.jdt.launching.sourceLookup.javaSourcePathComputer"
      />
      <launchConfigurationType
         delegate="bndtools.launch.OSGiJUnitLaunchDelegate"
         id="bndtools.launch.junit"
         modes="run, debug"
         name="OSGi Framework JUnit Tests"
         sourceLocatorId="org.bndtools.core.launch.BndDependencySourceLookupDirector"
         sourcePathComputerId="org.eclipse.jdt.launching.sourceLookup.javaSourcePathComputer"
      />
      <launchConfigurationType
        delegate="bndtools.launch.bnd.NativeBndLaunchDelegate"
        id="bnd.launch"
        modes="run, debug"
        name="bnd Native"
        sourceLocatorId="org.bndtools.core.launch.BndDependencySourceLookupDirector"
        sourcePathComputerId="org.eclipse.jdt.launching.sourceLookup.javaSourcePathComputer"
      >
      </launchConfigurationType>
   </extension>

   <!-- A status handler for "no available JVM matching EE" from the launch infra -->
   <extension point="org.eclipse.debug.core.statusHandlers">
      <statusHandler
         id="bndtools.launch.ui.internal.NoVMForEEStatusHandler"
         class="bndtools.launch.ui.internal.NoVMForEEStatusHandler"
         plugin="bndtools.core"
         code="101">
      </statusHandler>
    </extension>

   <!-- DEFINE THE "Bnd Dependencies" SOURCE CONTAINER TYPE -->
   <extension point="org.eclipse.debug.core.sourceContainerTypes">
      <sourceContainerType
         id="org.bndtools.core.launch.sourceContainerTypes.bndDependencies"
         name="Bnd Dependencies"
         description=""
         class="bndtools.launch.BndDependencySourceContainerType"
      />
   </extension>
   <extension point="org.eclipse.debug.ui.sourceContainerPresentations">
      <sourceContainerPresentation
         id="org.bndtools.core.launch.sourceContainerTypes.bndDependencies.presentation"
         containerTypeID="org.bndtools.core.launch.sourceContainerTypes.bndDependencies"
         icon="icons/bricks.png"
      />
   </extension>

   <!-- DEFINE THE SOURCE LOOKUP DIRECTOR -->
   <extension point="org.eclipse.debug.core.sourceLocators">
      <sourceLocator
         id="org.bndtools.core.launch.BndDependencySourceLookupDirector"
         name="Bndtools Source Lookup Director"
         class="bndtools.launch.BndDependencySourceLookupDirector"
      />
   </extension>

   <extension point="org.eclipse.core.expressions.propertyTesters">
      <propertyTester id="org.bndtools.core.launchPropertyTester"
         namespace="org.bndtools.core"
         properties="isInBndJavaProject"
         class="bndtools.launch.LaunchPropertyTester"
         type="org.eclipse.jdt.core.IJavaElement"/>
   </extension>

   <!-- LAUNCH SHORTCUTS -->
   <extension
         point="org.eclipse.debug.ui.launchShortcuts">
      <shortcut
            label="Bnd OSGi Test Launcher (JUnit)"
            icon="icons/bricks_junit.png"
            class="bndtools.launch.JUnitShortcut"
            modes="run, debug"
            id="bndtools.launch.junitShortcut"
            path="bndtools.launch.core">
         <contextualLaunch>
            <enablement>
               <or>
                  <with variable="selection">
                     <count value="+"/>
                     <iterate>
                        <or>
                           <!-- Java/Bnd Project -->
                           <and>
                              <test property="org.eclipse.jdt.launching.isContainer"/>
                              <test property="org.eclipse.jdt.launching.hasProjectNature" args="org.eclipse.jdt.core.javanature"/>
                              <test property="org.eclipse.jdt.launching.hasProjectNature" args="bndtools.core.bndnature"/>
                           </and>

                           <!--  Java element (src-folder, package or JUnit class) -->
                           <adapt type="org.eclipse.jdt.core.IJavaElement">
                              <test property="org.bndtools.core.isInBndJavaProject" forcePluginActivation="true" />
                              <test property="org.eclipse.jdt.junit.canLaunchAsJUnit" forcePluginActivation="true" />
                              <or>
                                 <test property="org.eclipse.jdt.core.hasTypeOnClasspath" value="org.junit.Test" />
                                 <test property="org.eclipse.jdt.core.hasTypeOnClasspath" value="junit.framework.Test" />
                                 <test property="org.eclipse.jdt.core.hasTypeOnClasspath" value="org.junit.jupiter.api.Test" />
                              </or>
                           </adapt>

						   <!-- bnd.bnd or *.bndrun file -->
                           <and>
                              <instanceof value="org.eclipse.core.resources.IResource" />
                              <or>
                                 <test property="org.eclipse.core.resources.name" value="bnd.bnd" />
                                 <test property="org.eclipse.core.resources.extension" value="bndrun" />
                              </or>
                           </and>
                        </or>
                     </iterate>
                  </with>
                  <with variable="activeEditorId">
                     <or>
                        <equals value="bndtools.bndProjectEditor"/>
                        <equals value="bndtools.bndRunEditor"/>
                     </or>
                  </with>
               </or>
            </enablement>
         </contextualLaunch>
         <configurationType
               id="org.eclipse.jdt.junit.launchconfig">
         </configurationType>
         <description
               description="Debug a JUnit Test in an OSGi Framework"
               mode="debug">
         </description>
         <description
               description="Run an OSGi JUnit Test in an OSGi framework"
               mode="run">
         </description>
      </shortcut>

      <shortcut
            class="bndtools.launch.RunShortcut"
            icon="icons/bricks_run.png"
            id="bndtools.launch.runShortcut"
            label="Bnd OSGi Run Launcher"
            modes="run, debug"
            path="bndtools.launch.core">
         <contextualLaunch>
            <enablement>
               <or>
                  <with variable="selection">
                     <count value="1"/>
                     <iterate>
                        <or>
                           <!-- Java/Bnd Project -->
                           <and>
                              <test property="org.eclipse.jdt.launching.isContainer"/>
                              <test property="org.eclipse.jdt.launching.hasProjectNature" args="org.eclipse.jdt.core.javanature"/>
                              <test property="org.eclipse.jdt.launching.hasProjectNature" args="bndtools.core.bndnature"/>
                           </and>

						   <!-- bnd.bnd or *.bndrun file -->
                           <and>
                              <instanceof value="org.eclipse.core.resources.IResource" />
                              <or>
                                 <test property="org.eclipse.core.resources.name" value="bnd.bnd" />
                                 <test property="org.eclipse.core.resources.extension" value="bndrun" />
                              </or>
                           </and>
                        </or>
                     </iterate>
                  </with>
                  <with variable="activeEditorId">
                     <or>
                        <equals value="bndtools.bndProjectEditor"/>
                        <equals value="bndtools.bndRunEditor"/>
                     </or>
                  </with>
               </or>
            </enablement>
         </contextualLaunch>
      </shortcut>

      <shortcut
            class="bndtools.launch.bnd.RunShortcut"
            icon="icons/bricks_run.png"
            id="bnd.launch.runShortcut"
            label="Bnd Native Launcher"
            modes="run, debug"
            path="bndtools.launch.core">
         <contextualLaunch>
            <enablement>
               <or>
                  <with variable="selection">
                     <count value="1"/>
                     <iterate>
                        <or>
                           <!-- Java/Bnd Project -->
                           <and>
                              <test property="org.eclipse.jdt.launching.isContainer"/>
                              <test property="org.eclipse.jdt.launching.hasProjectNature" args="org.eclipse.jdt.core.javanature"/>
                              <test property="org.eclipse.jdt.launching.hasProjectNature" args="bndtools.core.bndnature"/>
                           </and>

                           <!-- bnd.bnd or *.bndrun file -->
                           <and>
                              <instanceof value="org.eclipse.core.resources.IResource" />
                              <or>
                                 <test property="org.eclipse.core.resources.name" value="bnd.bnd" />
                                 <test property="org.eclipse.core.resources.extension" value="bndrun" />
                              </or>
                           </and>
                        </or>
                    </iterate>
                 </with>
                 <with variable="activeEditorId">
                    <or>
                       <equals value="bndtools.bndProjectEditor"/>
                       <equals value="bndtools.bndRunEditor"/>
                    </or>
                 </with>
               </or>
            </enablement>
         </contextualLaunch>
      </shortcut>

   </extension>

   <extension point="org.eclipse.ui.keywords">
      <keyword id="bndtools.core" label="Bndtools"/>
   </extension>

    <extension
          point="org.eclipse.ui.preferencePages">
       <page
             class="bndtools.preferences.ui.BndPreferencePage"
             id="bndtools.prefPages.basic"
             name="Bndtools">
             <keywordReference id="bndtools.core"/>
       </page>
       <page
             class="bndtools.preferences.ui.BndBuildPreferencePage"
             id="bndtools.prefPages.build"
             category="bndtools.prefPages.basic"
             name="Build">
             <keywordReference id="bndtools.core"/>
       </page>
       <page
             class="bndtools.preferences.ui.ReposPreferencePage"
             id="bndtools.prefPages.repos"
             category="bndtools.prefPages.basic"
             name="Repositories">
             <keywordReference id="bndtools.core"/>
       </page>
       <page
             class="bndtools.preferences.ui.GeneratedResourcesPreferencePage"
             id="bndtools.prefPages.generatedResources"
             category="bndtools.prefPages.basic"
             name="Generated Resources">
             <keywordReference id="bndtools.core"/>
       </page>
       <page
             class="bndtools.preferences.ui.JpmPreferencePage"
             id="bndtools.prefPages.jpm"
             category="bndtools.prefPages.basic"
             name="Searchable Repositories">
             <keywordReference id="bndtools.core"/>
       </page>
    </extension>
	<extension point="org.eclipse.ui.propertyPages">
		<page id="org.bndtools.core.propPages.project" name="Bndtools"
			adaptable="true" objectClass="org.eclipse.core.resources.IProject"
			class="bndtools.preferences.ui.BndProjectPropertyPage">
			<enabledWhen>
				<adapt type="org.eclipse.core.resources.IProject">
					<test property="org.eclipse.core.resources.projectNature"
						value="bndtools.core.bndnature" />
				</adapt>
			</enabledWhen>
		</page>
	</extension>
    <extension
          point="org.eclipse.debug.ui.launchConfigurationTypeImages">
       <launchConfigurationTypeImage
             configTypeID="bndtools.launch"
             icon="icons/bricks_run.png"
             id="bndtools.core.launchConfigImages.run">
       </launchConfigurationTypeImage>
       <launchConfigurationTypeImage
             configTypeID="bndtools.launch.junit"
             icon="icons/bricks_junit.png"
             id="bndtools.core.launchConfigImages.test">
       </launchConfigurationTypeImage>
       <launchConfigurationTypeImage
             configTypeID="bnd.launch"
             icon="icons/bricks_run.png"
             id="bnd.launchConfigImages.run">
       </launchConfigurationTypeImage>
    </extension>
    <extension
         point="org.eclipse.help.contexts">
         <contexts file="contexthelp.xml"/>
    </extension>

   <!-- DEPRECATED -->
   <extension point="bndtools.core.launchTemplates">
      <template
         name="Apache Felix 4 with Gogo Shell"
         path="launchTemplates/felix4+shell.bndrun"
         doc="html/felix4+shell.form.xml"
         icon="icons/felix.gif"/>
      <template
         name="Apache Felix 4 with Web Console and Gogo"
         path="launchTemplates/felix4+webconsole.bndrun"
         doc="html/felix4+webconsole.form.xml"
         icon="icons/felix.gif"/>
      <template
         name="Apache Felix 4 (Empty)"
         path="launchTemplates/felix4.bndrun"
         doc="html/felix4.form.xml"
         icon="icons/felix.gif"/>
      <template
         name="Eclipse Equinox 3.7 with Built-in Console"
         path="launchTemplates/equinox37+console.bndrun"
         doc="html/equinox37+console.form.xml"
         icon="icons/equinox.gif"/>
      <template
         name="Eclipse Equinox 3.7 with Gogo and DS"
         path="launchTemplates/equinox37+gogo+ds.bndrun"
         doc="html/equinox37+gogo+ds.form.xml"
         icon="icons/equinox.gif"/>
      <template
         name="«Empty»"
         path="launchTemplates/empty.bndrun"
         doc="html/empty.form.xml"/>
   </extension>
   <!-- END DEPRECATION -->

   <extension point="org.eclipse.ltk.core.refactoring.renameParticipants">
      <renameParticipant
         id="bndtools.refactoring.pkgRenameParticipant"
         name="Bndtools Package Rename Participant"
         class="bndtools.refactor.PkgRenameParticipant">
         <enablement>
           <with variable="affectedNatures">
             <iterate operator="or">
               <equals value="bndtools.core.bndnature"/>
             </iterate>
           </with>
           <with variable="element">
               <instanceof value="org.eclipse.jdt.core.IPackageFragment"/>
           </with>
         </enablement>
      </renameParticipant>
   </extension>

   <extension point="bndtools.core.osgiFrameworks">
      <framework name="Apache Felix" bsn="org.apache.felix.framework" icon="icons/felix.gif"/>
      <framework name="Eclipse Equinox" bsn="org.eclipse.osgi" icon="icons/equinox.gif"/>
      <framework name="Knopflerfish" bsn="org.knopflerfish.framework" icons="icons/knopflerfish_16x16.gif"/>
      <framework name="PojoSR" bsn="de.kalpatec.pojosr.framework" updateable="false"/>
   </extension>

   <!-- BND PLUGINS -->
   <extension point="bndtools.core.bndPlugins">
      <plugin
         class="aQute.lib.deployer.FileRepo"
         rank="10"
         icon="icons/bundlefolder.png"
         name="File Repository">
         <property name="name" type="string" description="Name of the repository"/>
         <property name="location" type="string" description="Local directory path"/>
         <property name="readonly" type="boolean" default="false"/>
      </plugin>

      <plugin
         class="aQute.bnd.repository.osgi.OSGiRepository"
         icon="icons/database.png"
         name="Indexed Repository (read-only)">
         <property name="name" type="string" description="Name of the repository"/>
         <property name="locations" type="string" description="Index locations (comma-separated list of URLs)"/>
         <property name="cache" type="string" description="Local cache for downloaded remote resources"/>
      </plugin>

      <plugin
         class="aQute.bnd.deployer.repository.LocalIndexedRepo"
         icon="icons/database.png"
         name="Locally Indexed Repository (read/write)">
         <property name="name" type="string" description="Name of the repository"/>
         <property name="local" type="string" description="Local directory path"/>
         <property name="phase" type="string" description="Resolution phase (build, runtime or any)"/>
         <property name="pretty" type="boolean" default="false" description="Enable pretty-printed index format"/>
         <property name="readonly" type="boolean" default="false"/>
         <property name="type" type="string" description="Index types, separated by '|'. E.g. 'R5|OBR'"/>
      </plugin>

      <plugin
         class="aQute.lib.spring.SpringXMLType"
         icon="icons/magnifier.png"
         name="Spring Component Analyzer"/>

      <plugin
         class="aQute.lib.spring.JPAComponent"
         icon="icons/magnifier.png"
         name="JPA Component Analyzer"/>

      <plugin
         class="aQute.lib.deployer.http.DefaultURLConnector"
         icon="icons/link.png"
         name="HTTP(S) Connector">
         <property name="disableServerVerify" type="boolean" description="Disable verification of server's X509 certificate (insecure, for testing only!)"/>
      </plugin>

      <plugin
         class="aQute.bnd.deployer.http.HttpBasicAuthURLConnector"
         icon="${icons.lock}"
         name="Authenticated HTTP(S) Connector">
         <property name="configs" type="string" description="List of config files (comma-separated paths)"/>
         <property name="disableServerVerify" type="boolean" description="Disable verification of server's X509 certificate (insecure, for testing only!)"/>
      </plugin>

   </extension>

   <extension point="org.eclipse.ui.intro.configExtension">
      <configExtension configId="org.eclipse.ui.intro.universalConfig" content="/intro/whatsnewExtensionContent.xml" />
   </extension>

   <extension point="org.eclipse.debug.core.statusHandlers">
      <statusHandler
         id="bndtools.core.debug.statusHandler"
         class="bndtools.launch.ui.internal.LaunchStatusHandler"
         plugin="bndtools.core"
         code="0"
      />
      <statusHandler
         id="bndtools.core.debug.junitStatusHandler"
         class="bndtools.launch.ui.internal.JUnitViewOpenerStatusHandler"
         plugin="bndtools.core"
         code="999"
      />
   </extension>

   <extension point="runExportWizards">
      <wizard
         name="Executable JAR"
         class="bndtools.wizards.bndfile.ExecutableJarExportWizard"
         icon="icons/jar_exec.gif"
      />
   </extension>

   <extension
         point="org.eclipse.ui.popupMenus">
      <objectContribution
            adaptable="true"
            id="bndtools.nonBndProjectContribution"
            objectClass="org.eclipse.core.resources.IProject">
         <action
               class="bndtools.nature.ToggleNatureAction"
               enablesFor="+"
               icon="icons/bnd_nature_add.png"
               id="bndtools.addBndNatureAction"
               label="Add Bndtools Project Nature"
               menubarPath="org.eclipse.ui.projectConfigure/additions"
               style="push">
         </action>
         <visibility>
            <and>
               <objectState
                     name="projectNature"
                     value="org.eclipse.jdt.core.javanature">
               </objectState>
               <not>
                  <objectState
                        name="projectNature"
                        value="bndtools.core.bndnature">
                  </objectState>
               </not>
            </and>
         </visibility>
      </objectContribution>
      <objectContribution
            adaptable="true"
            id="bndtools.bndProjectContribution"
            objectClass="org.eclipse.core.resources.IProject">
         <action
               class="bndtools.nature.ToggleNatureAction"
               enablesFor="1"
               icon="icons/bnd_nature_remove.png"
               id="bndtools.removeBndNatureAction"
               label="Remove Bndtools Project Nature"
               menubarPath="org.eclipse.ui.projectConfigure/additions"
               style="push">
         </action>
         <visibility>
            <objectState
                  name="projectNature"
                  value="bndtools.core.bndnature">
            </objectState>
         </visibility>
      </objectContribution>
   </extension>

   <extension point="org.eclipse.ui.commands">
      <command
         id="bndtools.launch.runShortcut.run"
         name="Run Bnd OSGi Run Launcher"
         description="Run Bnd OSGi Run Launcher"
         categoryId="org.eclipse.debug.ui.category.run"/>
      <command
         id="bndtools.launch.runShortcut.debug"
         name="Debug Bnd OSGi Run Launcher"
         description="Debug Bnd OSGi Run Launcher"
         categoryId="org.eclipse.debug.ui.category.run"/>
      <command
         id="bndtools.launch.junitShortcut.run"
         name="Run Bnd OSGi Run Launcher (JUnit)"
         description="Run Bnd OSGi Run Launcher (JUnit)"
         categoryId="org.eclipse.debug.ui.category.run"/>
      <command
         id="bndtools.launch.junitShortcut.debug"
         name="Debug Bnd OSGi Run Launcher (JUnit)"
         description="Debug Bnd OSGi Run Launcher (JUnit)"
         categoryId="org.eclipse.debug.ui.category.run"/>
      <command
         id="bnd.launch.runShortcut.run"
         name="Run Bnd Native Launcher"
         description="Run Bnd Native Launcher"
         categoryId="org.eclipse.debug.ui.category.run"/>
      <command
         id="bnd.launch.runShortcut.debug"
         name="Debug Bnd Native Launcher"
         description="Debug Bnd Native Launcher"
         categoryId="org.eclipse.debug.ui.category.run"/>

      <category
         id="bndtools.runEditor"
         name="Run Editor Commands"/>
      <command
         id="bndtools.runEditor.resolve"
         name="Resolve Run Bundles"
         description="Resolve Run Bundles"
         categoryId="bndtools.runEditor"/>
   </extension>

   <extension point="org.eclipse.ui.bindings">
      <key
         sequence="M3+M2+X B"
         contextId="org.eclipse.ui.globalScope"
         commandId="bndtools.launch.runShortcut.run"
         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
      <key
         sequence="M3+M2+D B"
         contextId="org.eclipse.ui.globalScope"
         commandId="bndtools.launch.runShortcut.debug"
         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
      <key
         sequence="M3+M2+X K"
         contextId="org.eclipse.ui.globalScope"
         commandId="bndtools.launch.junitShortcut.run"
         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
      <key
         sequence="M3+M2+D K"
         contextId="org.eclipse.ui.globalScope"
         commandId="bndtools.launch.junitShortcut.debug"
         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
      <key
         sequence="M3+M2+X N"
         contextId="org.eclipse.ui.globalScope"
         commandId="bnd.launch.runShortcut.run"
         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
      <key
         sequence="M3+M2+D N"
         contextId="org.eclipse.ui.globalScope"
         commandId="bnd.launch.runShortcut.debug"
         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
   </extension>
   <extension
         point="org.eclipse.ui.importWizards">
      <category
		name="Bndtools"
        id="bndtools.importCategory">
      </category>
		<wizard
            id="bndtools.importProject"
            category="bndtools.importCategory"
            class="bndtools.wizards.project.ImportBndWorkspaceWizard"
            icon="icons/bndtools-logo-16x16.png"
            name="Existing Bnd Workspace"
            project="true">
            <description>Imports an existing Bnd workspace</description>
      </wizard>
   </extension>

<!-- =========================================================================== -->
<!-- Filter Support                                                              -->
<!-- =========================================================================== -->
   <extension
         point="org.eclipse.jdt.ui.javaElementFilters">
<!-- Package Explorer -->
      <filter
            targetId="bndtools.PackageExplorer"
            name=".* files"
            enabled="true"
            description="Hide system files"
            pattern=".*">
      </filter>
      <filter
            targetId="bndtools.PackageExplorer"
            name="Hide Empty Packages"
            enabled="true"
            description="Hide Empty Packages"
            class="bndtools.explorer.EmptyPackageFilter"
            id="bndtools.explorer.EmptyPackageFilter">
      </filter>
      <filter
            targetId="bndtools.PackageExplorer"
            name="Only Bnd projects"
            enabled="false"
            description="Show only bnd projects"
            class="bndtools.explorer.BndProjects"
            id="bndtools.explorer.BndProjects">
      </filter>
   </extension>
 </plugin>