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
|
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.debug.ui.launchShortcuts">
<shortcut
class="org.eclipse.linuxtools.jdt.docker.launcher.JavaApplicationInContainerLaunchShortcut"
description="%shortcut.description"
icon="icons/repository-synchronize-attributes.png"
id="org.eclipse.linuxtools.jdt.docker.launcher.container.launch"
label="%shortcut.label"
modes="run, debug">
<contextualLaunch>
<enablement>
<with
variable="selection">
<count
value="1">
</count>
<iterate>
<and>
<adapt
type="org.eclipse.jdt.core.IJavaElement">
<test
property="org.eclipse.jdt.core.isInJavaProject">
</test>
</adapt>
<or>
<test
property="org.eclipse.jdt.launching.hasMain">
</test>
<test
property="org.eclipse.jdt.launching.isContainer">
</test>
<test
property="org.eclipse.jdt.launching.isPackageFragment">
</test>
<test
property="org.eclipse.jdt.launching.isPackageFragmentRoot">
</test>
</or>
</and>
</iterate>
</with>
</enablement>
</contextualLaunch>
</shortcut>
</extension>
<extension
point="org.eclipse.debug.core.launchConfigurationTypes">
<launchConfigurationType
delegate="org.eclipse.linuxtools.jdt.docker.launcher.JavaAppInContainerLaunchDelegate"
id="org.eclipse.linuxtools.jdt.docker.launcher.JavaAppInContainerLaunchConfigurationType"
modes="run, debug"
name="%launchConfigurationType.name"
sourceLocatorId="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector">
</launchConfigurationType>
</extension>
<extension
point="org.eclipse.debug.ui.launchConfigurationTypeImages">
<launchConfigurationTypeImage
configTypeID="org.eclipse.linuxtools.jdt.docker.launcher.JavaAppInContainerLaunchConfigurationType"
icon="icons/repository-synchronize-attributes.png"
id="org.eclipse.linuxtools.jdt.docker.launcher.JavaAppInContainerLaunchConfigurationTypeImage">
</launchConfigurationTypeImage>
</extension>
<extension
point="org.eclipse.debug.ui.launchConfigurationTabGroups">
<launchConfigurationTabGroup
class="org.eclipse.linuxtools.jdt.docker.launcher.JavaAppInContainerLaunchConfigurationTabGroup"
id="org.eclipse.linuxtools.jdt.docker.launcher.JavaAppInContainerLaunchConfigurationTabGroup"
type="org.eclipse.linuxtools.jdt.docker.launcher.JavaAppInContainerLaunchConfigurationType">
</launchConfigurationTabGroup>
</extension>
</plugin>
|