forked from OpenLiberty/liberty-tools-eclipse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
726 lines (697 loc) · 32.2 KB
/
plugin.xml
File metadata and controls
726 lines (697 loc) · 32.2 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2022, 2025 IBM Corporation and others.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0 which is available at
http://www.eclipse.org/legal/epl-2.0.
SPDX-License-Identifier: EPL-2.0
Contributors:
IBM Corporation - initial implementation
-->
<?eclipse version="3.4"?>
<plugin>
<extension point="org.eclipse.ui.startup">
<startup class="io.openliberty.tools.eclipse.EarlyStartupRegistration"/>
</extension>
<!-- Contexts -->
<extension point="org.eclipse.ui.contexts">
<context
description="Liberty dev mode"
id="io.openliberty.tools.eclipse.context"
name="Using Liberty tools"
parentId="org.eclipse.ui.contexts.window">
</context>
</extension>
<!-- Commands -->
<extension point="org.eclipse.ui.commands">
<!-- Dashboard -->
<category
id="io.openliberty.tools.eclipse.command.category"
name="Liberty Tools">
</category>
<category
id="io.openliberty.tools.eclipse.explorer.menu.category"
name="Explorer Menu">
</category>
<command
id="io.openliberty.tools.eclipse.open.dashboard.command"
name="Open Dashboard"
categoryId="io.openliberty.tools.eclipse.command.category">
</command>
<command
id="io.openliberty.tools.eclipse.project.start.command"
name="Liberty Start"
categoryId="io.openliberty.tools.eclipse.command.category">
</command>
<command
id="io.openliberty.tools.eclipse.project.startConfigDialog.command"
name="Liberty Start with Configuration"
categoryId="io.openliberty.tools.eclipse.command.category">
</command>
<command
id="io.openliberty.tools.eclipse.project.startInContainer.command"
name="Liberty Start in Container"
categoryId="io.openliberty.tools.eclipse.command.category">
</command>
<command
id="io.openliberty.tools.eclipse.project.debug.command"
name="Liberty Debug"
categoryId="io.openliberty.tools.eclipse.command.category">
</command>
<command
id="io.openliberty.tools.eclipse.project.debugConfigDialog.command"
name="Liberty Debug with Configuration"
categoryId="io.openliberty.tools.eclipse.command.category">
</command>
<command
id="io.openliberty.tools.eclipse.project.debugInContainer.command"
name="Liberty Debug in Container"
categoryId="io.openliberty.tools.eclipse.command.category">
</command>
<command
id="io.openliberty.tools.eclipse.project.stop.command"
name="Liberty Stop"
categoryId="io.openliberty.tools.eclipse.command.category">
</command>
<command
id="io.openliberty.tools.eclipse.project.runTests.command"
name="Liberty Run Tests"
categoryId="io.openliberty.tools.eclipse.command.category">
</command>
<command
id="io.openliberty.tools.eclipse.project.viewMvnIntegrationTestReport.command"
name="Liberty View Integration Test Report"
categoryId="io.openliberty.tools.eclipse.command.category">
</command>
<command
id="io.openliberty.tools.eclipse.project.viewMvnUnitTestReport.command"
name="Liberty View Unit Test Report"
categoryId="io.openliberty.tools.eclipse.command.category">
</command>
<command
id="io.openliberty.tools.eclipse.project.viewGradleTestReport.command"
name="Liberty View Gradle Test Report"
categoryId="io.openliberty.tools.eclipse.command.category">
</command>
<!-- Run configuration -->
<command
id="io.openliberty.tools.eclipse.launch.start.shortcut.run"
name="Liberty Start"
description="Launches a request to run the associated project on Liberty using dev mode"
categoryId="org.eclipse.debug.ui.category.run">
</command>
<command
id="io.openliberty.tools.eclipse.launch.start.shortcut.debug"
name="Liberty Debug"
description="Launches a request to debug the associated project on Liberty using dev mode"
categoryId="org.eclipse.debug.ui.category.run">
</command>
<command
id="io.openliberty.tools.eclipse.launch.start.config.shortcut.run"
name="Liberty Start with Configuration"
description="Launches the configuration dialog to run the associated project on Liberty using dev mode"
categoryId="org.eclipse.debug.ui.category.run">
</command>
<command
id="io.openliberty.tools.eclipse.launch.start.config.shortcut.debug"
name="Liberty Debug with Configuration"
description="Launches the configuration dialog to debug the associated project on Liberty using dev mode"
categoryId="org.eclipse.debug.ui.category.run">
</command>
<command
id="io.openliberty.tools.eclipse.launch.start.container.shortcut.run"
name="Liberty Start in Container"
description="Launches a request to run the associated project in a container on Liberty using dev mode"
categoryId="org.eclipse.debug.ui.category.run">
</command>
<command
id="io.openliberty.tools.eclipse.launch.start.container.shortcut.debug"
name="Liberty Debug in Container"
description="Launches a request to debug the associated project in a container on Liberty using dev mode"
categoryId="org.eclipse.debug.ui.category.run">
</command>
<command
id="io.openliberty.tools.eclipse.launch.stop.shortcut.run"
name="Liberty Stop"
description="Launches a request to stop the associated project"
categoryId="org.eclipse.debug.ui.category.run">
</command>
<command
id="io.openliberty.tools.eclipse.launch.run.tests.shortcut.run"
name="Liberty Run Tests"
description="Launches a request to run the tests provided by the associated project"
categoryId="org.eclipse.debug.ui.category.run">
</command>
<command
id="io.openliberty.tools.eclipse.launch.maven.itest.report.shortcut.run"
name="Liberty View Integration Test Report"
description="Launches a request to display the integration test reports for the associated project"
categoryId="org.eclipse.debug.ui.category.run">
</command>
<command
id="io.openliberty.tools.eclipse.launch.maven.utest.report.shortcut.run"
name="Liberty View Unit Test Report"
description="Launches a request to display the unit test reports for the associated project"
categoryId="org.eclipse.debug.ui.category.run">
</command>
<command
id="io.openliberty.tools.eclipse.launch.gradle.test.report.shortcut.run"
name="Liberty View Gradle Test Report"
description="Launches a request to display the test reports for the associated project"
categoryId="org.eclipse.debug.ui.category.run">
</command>
<!-- Explorer view configuration pop-up menu -->
<command
id="io.openliberty.tools.eclipse.explorer.configuration.add.nature.command"
categoryId="io.openliberty.tools.eclipse.explorer.menu.category"
name="Enable Liberty"
description="Adds the Liberty nature to the project">
</command>
</extension>
<!-- Key-command bindings -->
<extension point="org.eclipse.ui.bindings">
<!-- Dashboard -->
<key commandId="io.openliberty.tools.eclipse.open.dashboard.command"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
contextId="org.eclipse.ui.contexts.window"
sequence="M3+L"/>
<key
commandId="io.openliberty.tools.eclipse.project.start.command"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
contextId="io.openliberty.tools.eclipse.context"
sequence="M2+M3+L S">
</key>
<key
commandId="io.openliberty.tools.eclipse.project.startConfigDialog.command"
contextId="io.openliberty.tools.eclipse.context"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+L P">
</key>
<key
commandId="io.openliberty.tools.eclipse.project.startInContainer.command"
contextId="io.openliberty.tools.eclipse.context"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+L C">
</key>
<key
commandId="io.openliberty.tools.eclipse.project.debug.command"
contextId="io.openliberty.tools.eclipse.context"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+L D">
</key>
<key
commandId="io.openliberty.tools.eclipse.project.debugConfigDialog.command"
contextId="io.openliberty.tools.eclipse.context"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+L G">
</key>
<key
commandId="io.openliberty.tools.eclipse.project.debugInContainer.command"
contextId="io.openliberty.tools.eclipse.context"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+L B">
</key>
<key
commandId="io.openliberty.tools.eclipse.project.stop.command"
contextId="io.openliberty.tools.eclipse.context"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+L Q">
</key>
<key
commandId="io.openliberty.tools.eclipse.project.runTests.command"
contextId="io.openliberty.tools.eclipse.context"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+L T">
</key>
<key
commandId="io.openliberty.tools.eclipse.project.viewMvnIntegrationTestReport.command"
contextId="io.openliberty.tools.eclipse.context"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+L I">
</key>
<key
commandId="io.openliberty.tools.eclipse.project.viewMvnUnitTestReport.command"
contextId="io.openliberty.tools.eclipse.context"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+L U">
</key>
<key
commandId="io.openliberty.tools.eclipse.project.viewGradleTestReport.command"
contextId="io.openliberty.tools.eclipse.context"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+L R">
</key>
<!-- Run Configuration shortcuts -->
<key
commandId="io.openliberty.tools.eclipse.launch.start.shortcut.run"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+L S">
</key>
<key
commandId="io.openliberty.tools.eclipse.launch.start.shortcut.debug"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+L D">
</key>
<key
commandId="io.openliberty.tools.eclipse.launch.start.config.shortcut.run"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+L P">
</key>
<key
commandId="io.openliberty.tools.eclipse.launch.start.config.shortcut.debug"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+L G">
</key>
<key
commandId="io.openliberty.tools.eclipse.launch.start.container.shortcut.run"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+L C">
</key>
<key
commandId="io.openliberty.tools.eclipse.launch.start.container.shortcut.debug"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+L B">
</key>
<key
commandId="io.openliberty.tools.eclipse.launch.stop.shortcut.run"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+L Q">
</key>
<key
commandId="io.openliberty.tools.eclipse.launch.run.tests.shortcut.run"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+L T">
</key>
<key
commandId="io.openliberty.tools.eclipse.launch.maven.itest.report.shortcut.run"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+L I">
</key>
<key
commandId="io.openliberty.tools.eclipse.launch.maven.utest.report.shortcut.run"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+L U">
</key>
<key
commandId="io.openliberty.tools.eclipse.launch.gradle.test.report.shortcut.run"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+L R">
</key>
</extension>
<!-- Command handlers -->
<extension point="org.eclipse.ui.handlers">
<!-- Dashboard -->
<handler
class="io.openliberty.tools.eclipse.handlers.DashboardHandler"
commandId="io.openliberty.tools.eclipse.open.dashboard.command">
</handler>
<!-- Explorer view pop-up menu: Add nature -->
<handler
class="io.openliberty.tools.eclipse.handlers.ExplorerMenuHandler"
commandId="io.openliberty.tools.eclipse.explorer.configuration.add.nature.command">
</handler>
</extension>
<!-- Menus -->
<extension point="org.eclipse.ui.menus">
<!-- Eclipse main toolbar -->
<menuContribution locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
<toolbar id="io.openliberty.tools.eclipse.dashboard.toolbar">
<command id="io.openliberty.tools.eclipse.dashboard.toolbar.command"
commandId="io.openliberty.tools.eclipse.open.dashboard.command"
icon="icons/openLibertyLogo.png"
tooltip="Open Liberty Dashboard View"
style="push">
</command>
</toolbar>
</menuContribution>
<!-- Explorer view configuration pop-up menu -->
<menuContribution
locationURI="popup:org.eclipse.ui.projectConfigure?after=additions">
<command
id="io.openliberty.tools.eclipse.explorer.configuration.command"
commandId="io.openliberty.tools.eclipse.explorer.configuration.add.nature.command"
icon="icons/openLibertyLogo.png"
tooltip="Adds a Liberty nature to the project" style="push">
<visibleWhen>
<iterate operator="or" ifEmpty="false">
<and>
<instanceof value="org.eclipse.core.runtime.IAdaptable"/>
<not>
<test forcePluginActivation="true" property="org.eclipse.debug.ui.projectNature" value="io.openliberty.tools.eclipse.ui.libertyNature"/>
</not>
</and>
</iterate>
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension point="org.eclipse.debug.core.sourceLocators">
<sourceLocator
name="Liberty Source Lookup Director"
class="io.openliberty.tools.eclipse.debug.LibertySourceLookupDirector"
id="io.openliberty.tools.eclipse.debug.libertySourceLookupDirector">
</sourceLocator>
</extension>
<extension point="org.eclipse.debug.core.sourcePathComputers">
<sourcePathComputer
class="io.openliberty.tools.eclipse.debug.LibertySourcePathComputer"
id="io.openliberty.tools.eclipse.debug.libertySourcePathComputer">
</sourcePathComputer>
</extension>
<!-- Launch configuration -->
<extension point="org.eclipse.debug.core.launchConfigurationTypes">
<launchConfigurationType
name="Liberty"
delegate="io.openliberty.tools.eclipse.ui.launch.LaunchConfigurationDelegateLauncher"
modes="run, debug"
id="io.openliberty.tools.eclipse.launch.type"
sourceLocatorId="io.openliberty.tools.eclipse.debug.libertySourceLookupDirector"
sourcePathComputerId="io.openliberty.tools.eclipse.debug.libertySourcePathComputer">
</launchConfigurationType>
</extension>
<extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
<launchConfigurationTypeImage
id="io.openliberty.tools.eclipse.launch.type.image"
configTypeID="io.openliberty.tools.eclipse.launch.type"
icon="icons/openLibertyLogo.png">
</launchConfigurationTypeImage>
</extension>
<extension point="org.eclipse.debug.ui.launchConfigurationTabGroups">
<launchConfigurationTabGroup
class="io.openliberty.tools.eclipse.ui.launch.LaunchConfigTabGroup"
id="io.openliberty.tools.eclipse.launch.tab.group"
type="io.openliberty.tools.eclipse.launch.type">
</launchConfigurationTabGroup>
</extension>
<extension point="org.eclipse.debug.ui.launchShortcuts">
<shortcut
class="io.openliberty.tools.eclipse.ui.launch.shortcuts.StartAction"
icon="icons/openLibertyLogo.png"
id="io.openliberty.tools.eclipse.launch.start.shortcut"
label="Liberty Start"
modes="run"
path="io.openliberty.tools.eclipse.launch.shortcuts.group1"
description="Launches a request to run the associated project on Liberty using dev mode">
<contextualLaunch>
<enablement>
<with variable="selection">
<count value="1"/>
<iterate>
<and>
<instanceof value="org.eclipse.core.runtime.IAdaptable"/>
<test forcePluginActivation="true" property="org.eclipse.debug.ui.projectNature" value="io.openliberty.tools.eclipse.ui.libertyNature"/>
</and>
</iterate>
</with>
</enablement>
</contextualLaunch>
</shortcut>
<shortcut
class="io.openliberty.tools.eclipse.ui.launch.shortcuts.StartAction"
icon="icons/openLibertyLogo.png"
id="io.openliberty.tools.eclipse.launch.start.shortcut"
label="Liberty Start"
modes="debug"
path="io.openliberty.tools.eclipse.launch.shortcuts.group1"
description="Launches a request to debug the associated project on Liberty using dev mode">
<contextualLaunch>
<enablement>
<with variable="selection">
<count value="1"/>
<iterate>
<and>
<instanceof value="org.eclipse.core.runtime.IAdaptable"/>
<test forcePluginActivation="true" property="org.eclipse.debug.ui.projectNature" value="io.openliberty.tools.eclipse.ui.libertyNature"/>
</and>
</iterate>
</with>
</enablement>
</contextualLaunch>
</shortcut>
<shortcut
class="io.openliberty.tools.eclipse.ui.launch.shortcuts.StartConfigurationDialogAction"
icon="icons/openLibertyLogo.png"
id="io.openliberty.tools.eclipse.launch.start.config.shortcut"
label="Liberty Start..."
modes="run"
path="io.openliberty.tools.eclipse.launch.shortcuts.group1"
description="Launches the configuration dialog to run the associated project on Liberty using dev mode">
<contextualLaunch>
<enablement>
<with variable="selection">
<count value="1"/>
<iterate>
<and>
<instanceof value="org.eclipse.core.runtime.IAdaptable"/>
<test forcePluginActivation="true" property="org.eclipse.debug.ui.projectNature" value="io.openliberty.tools.eclipse.ui.libertyNature"/>
</and>
</iterate>
</with>
</enablement>
</contextualLaunch>
</shortcut>
<shortcut
class="io.openliberty.tools.eclipse.ui.launch.shortcuts.StartConfigurationDialogAction"
icon="icons/openLibertyLogo.png"
id="io.openliberty.tools.eclipse.launch.start.config.shortcut"
label="Liberty Start..."
modes="debug"
path="io.openliberty.tools.eclipse.launch.shortcuts.group1"
description="Launches the configuration dialog to debug the associated project on Liberty using dev mode">
<contextualLaunch>
<enablement>
<with variable="selection">
<count value="1"/>
<iterate>
<and>
<instanceof value="org.eclipse.core.runtime.IAdaptable"/>
<test forcePluginActivation="true" property="org.eclipse.debug.ui.projectNature" value="io.openliberty.tools.eclipse.ui.libertyNature"/>
</and>
</iterate>
</with>
</enablement>
</contextualLaunch>
</shortcut>
<shortcut
class="io.openliberty.tools.eclipse.ui.launch.shortcuts.StartInContainerAction"
icon="icons/openLibertyLogo.png"
id="io.openliberty.tools.eclipse.launch.start.container.shortcut"
label="Liberty Start in Container"
modes="run"
path="io.openliberty.tools.eclipse.launch.shortcuts.group1"
description="Launches a request to run the associated project in a container on Liberty using dev mode">
<contextualLaunch>
<enablement>
<with variable="selection">
<count value="1"/>
<iterate>
<and>
<instanceof value="org.eclipse.core.runtime.IAdaptable"/>
<test forcePluginActivation="true" property="org.eclipse.debug.ui.projectNature" value="io.openliberty.tools.eclipse.ui.libertyNature"/>
</and>
</iterate>
</with>
</enablement>
</contextualLaunch>
</shortcut>
<shortcut
class="io.openliberty.tools.eclipse.ui.launch.shortcuts.StartInContainerAction"
icon="icons/openLibertyLogo.png"
id="io.openliberty.tools.eclipse.launch.start.container.shortcut"
label="Liberty Start in Container"
modes="debug"
path="io.openliberty.tools.eclipse.launch.shortcuts.group1"
description="Launches a request to debug the associated project in a container on Liberty using dev mode">
<contextualLaunch>
<enablement>
<with variable="selection">
<count value="1"/>
<iterate>
<and>
<instanceof value="org.eclipse.core.runtime.IAdaptable"/>
<test forcePluginActivation="true" property="org.eclipse.debug.ui.projectNature" value="io.openliberty.tools.eclipse.ui.libertyNature"/>
</and>
</iterate>
</with>
</enablement>
</contextualLaunch>
</shortcut>
<shortcut
class="io.openliberty.tools.eclipse.ui.launch.shortcuts.StopAction"
icon="icons/openLibertyLogo.png"
id="io.openliberty.tools.eclipse.launch.stop.shortcut"
label="Liberty Stop"
path="io.openliberty.tools.eclipse.launch.shortcuts.group1"
modes="run"
description="Launches a request to stop the associated project">
<contextualLaunch>
<enablement>
<with variable="selection">
<count value="1"/>
<iterate>
<and>
<instanceof value="org.eclipse.core.runtime.IAdaptable"/>
<test forcePluginActivation="true" property="org.eclipse.debug.ui.projectNature" value="io.openliberty.tools.eclipse.ui.libertyNature"/>
</and>
</iterate>
</with>
</enablement>
</contextualLaunch>
</shortcut>
<shortcut
class="io.openliberty.tools.eclipse.ui.launch.shortcuts.RunTestsAction"
icon="icons/openLibertyLogo.png"
id="io.openliberty.tools.eclipse.launch.run.tests.shortcut"
label="Liberty Run Tests"
modes="run"
path="io.openliberty.tools.eclipse.launch.shortcuts.group2"
description="Launches a request to run the tests provided by the associated project">
<contextualLaunch>
<enablement>
<with variable="selection">
<count value="1"/>
<iterate>
<and>
<instanceof value="org.eclipse.core.runtime.IAdaptable"/>
<test forcePluginActivation="true" property="org.eclipse.debug.ui.projectNature" value="io.openliberty.tools.eclipse.ui.libertyNature"/>
</and>
</iterate>
</with>
</enablement>
</contextualLaunch>
</shortcut>
<shortcut
class="io.openliberty.tools.eclipse.ui.launch.shortcuts.OpenMavenITestReportAction"
icon="icons/openLibertyLogo.png"
id="io.openliberty.tools.eclipse.launch.maven.itest.report.shortcut"
label="Liberty View Integration Test Report"
modes="run"
path="io.openliberty.tools.eclipse.launch.shortcuts.group2"
description="Launches a request to display the integration test reports for the associated project">
<contextualLaunch>
<enablement>
<with variable="selection">
<count value="1"/>
<iterate>
<and>
<instanceof value="org.eclipse.core.runtime.IAdaptable"/>
<test forcePluginActivation="true" property="org.eclipse.debug.ui.projectNature" value="io.openliberty.tools.eclipse.ui.libertyNature"/>
<test forcePluginActivation="true" property="org.eclipse.debug.ui.projectNature" value="org.eclipse.m2e.core.maven2Nature"/>
</and>
</iterate>
</with>
</enablement>
</contextualLaunch>
</shortcut>
<shortcut
class="io.openliberty.tools.eclipse.ui.launch.shortcuts.OpenMavenUTestReportAction"
icon="icons/openLibertyLogo.png"
id="io.openliberty.tools.eclipse.launch.maven.utest.report.shortcut"
label="Liberty View Unit Test Report"
modes="run"
path="io.openliberty.tools.eclipse.launch.shortcuts.group2"
description="Launches a request to display the unit test reports for the associated project">
<contextualLaunch>
<enablement>
<with variable="selection">
<count value="1"/>
<iterate>
<and>
<instanceof value="org.eclipse.core.runtime.IAdaptable"/>
<test forcePluginActivation="true" property="org.eclipse.debug.ui.projectNature" value="io.openliberty.tools.eclipse.ui.libertyNature"/>
<test forcePluginActivation="true" property="org.eclipse.debug.ui.projectNature" value="org.eclipse.m2e.core.maven2Nature"/>
</and>
</iterate>
</with>
</enablement>
</contextualLaunch>
</shortcut>
<shortcut
class="io.openliberty.tools.eclipse.ui.launch.shortcuts.OpenGradleTestReportAction"
icon="icons/openLibertyLogo.png"
id="io.openliberty.tools.eclipse.launch.gradle.test.report.shortcut"
label="Liberty View Test Report"
modes="run"
path="io.openliberty.tools.eclipse.launch.shortcuts.group2"
description="Launches a request to display the test reports for the associated project">
<contextualLaunch>
<enablement>
<with variable="selection">
<count value="1"/>
<iterate>
<and>
<instanceof value="org.eclipse.core.runtime.IAdaptable"/>
<test forcePluginActivation="true" property="org.eclipse.debug.ui.projectNature" value="io.openliberty.tools.eclipse.ui.libertyNature"/>
<test forcePluginActivation="true" property="org.eclipse.debug.ui.projectNature" value="org.eclipse.buildship.core.gradleprojectnature"/>
</and>
</iterate>
</with>
</enablement>
</contextualLaunch>
</shortcut>
</extension>
<!-- Views -->
<extension point="org.eclipse.ui.views">
<category
id="io.openliberty.tools.eclipse.view.category"
name="Liberty">
</category>
<view id="io.openliberty.tools.eclipse.views.liberty.devmode.dashboard"
name="Liberty Dashboard"
icon="icons/openLibertyLogo.png"
category="io.openliberty.tools.eclipse.view.category"
class="io.openliberty.tools.eclipse.ui.dashboard.DashboardView"/>
</extension>
<!-- Nature -->
<extension id="libertyNature" name="Liberty Nature" point="org.eclipse.core.resources.natures">
<runtime>
<run class="io.openliberty.tools.eclipse.LibertyNature">
</run>
</runtime>
</extension>
<!-- Trace-->
<extension
point="org.eclipse.ui.trace.traceComponents">
<component
id="io.openliberty.tools.eclipse.trace"
label="Liberty Tools">
<bundle
name="io.openliberty.tools.eclipse.ui">
</bundle>
</component>
</extension>
<!-- Preferences -->
<extension
point="org.eclipse.ui.preferencePages">
<page
class="io.openliberty.tools.eclipse.ui.preferences.LibertyToolsPreferencePage"
id="io.openliberty.tools.eclipse.ui.preferences.page"
name="Liberty">
</page>
</extension>
<extension
point="org.eclipse.ui.popupMenus">
<viewerContribution
targetID="org.eclipse.debug.ui.DebugView"
id="org.eclipse.debug.ui.debugview.popupMenu">
<action
icon="$nl$/icons/openLibertyLogo.png"
class="io.openliberty.tools.eclipse.debug.LibertyDebugReconnectActionDelegate"
menubarPath="launchGroup"
label="Connect Liberty Debugger"
id="io.openliberty.tools.eclipse.debug.popupMenu.reconnect">
</action>
</viewerContribution>
</extension>
</plugin>