Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "LaunchConfigurationShowCommandLine"
(Created page with "==API Changes in Platform Debug== * org.eclipse.debug.core.ILaunchConfigurationType.supportsPrototypes() * org.eclipse.debug.core.model.ILaunchConfigurationDelegate.showComman...") |
|||
Line 1: | Line 1: | ||
==API Changes in Platform Debug== | ==API Changes in Platform Debug== | ||
− | * org.eclipse.debug.core.ILaunchConfigurationType. | + | * org.eclipse.debug.core.ILaunchConfigurationType.supportsCommandLine() |
* org.eclipse.debug.core.model.ILaunchConfigurationDelegate.showCommandLine(ILaunchConfiguration, String, ILaunch, IProgressMonitor) | * org.eclipse.debug.core.model.ILaunchConfigurationDelegate.showCommandLine(ILaunchConfiguration, String, ILaunch, IProgressMonitor) | ||
* org.eclipse.debug.internal.core.IConfigurationElementConstants.ALLOW_COMMANDLINE corrsponding to allowCommandLine property in launchConfigurationType.exsd | * org.eclipse.debug.internal.core.IConfigurationElementConstants.ALLOW_COMMANDLINE corrsponding to allowCommandLine property in launchConfigurationType.exsd | ||
==Other changes in Platform Debug== | ==Other changes in Platform Debug== | ||
− | * Implementation for org.eclipse.debug.core.ILaunchConfigurationType. | + | * Implementation for org.eclipse.debug.core.ILaunchConfigurationType.supportsCommandLine() in org.eclipse.debug.internal.core.LaunchConfigurationType.supportsCommandLine() |
* Changes in org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer to support "Show Command Line" Button in Launch Configurations | * Changes in org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer to support "Show Command Line" Button in Launch Configurations | ||
Revision as of 02:43, 14 August 2018
API Changes in Platform Debug
- org.eclipse.debug.core.ILaunchConfigurationType.supportsCommandLine()
- org.eclipse.debug.core.model.ILaunchConfigurationDelegate.showCommandLine(ILaunchConfiguration, String, ILaunch, IProgressMonitor)
- org.eclipse.debug.internal.core.IConfigurationElementConstants.ALLOW_COMMANDLINE corrsponding to allowCommandLine property in launchConfigurationType.exsd
Other changes in Platform Debug
- Implementation for org.eclipse.debug.core.ILaunchConfigurationType.supportsCommandLine() in org.eclipse.debug.internal.core.LaunchConfigurationType.supportsCommandLine()
- Changes in org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer to support "Show Command Line" Button in Launch Configurations
Implementation in JDT Debug
- plugin.xml
- Added allowCommandLine="true"
<extension point="org.eclipse.debug.core.launchConfigurationTypes"> <launchConfigurationType allowPrototypes="true" allowCommandLine="true" delegate="org.eclipse.jdt.launching.sourcelookup.advanced.AdvancedJavaLaunchDelegate" delegateDescription="%localJavaApplicationDelegate.description" delegateName="%eclipseJDTLauncher.name" id="org.eclipse.jdt.launching.localJavaApplication" migrationDelegate="org.eclipse.jdt.internal.launching.JavaMigrationDelegate" modes="run, debug" name="%localJavaApplication" sourceLocatorId="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector" sourcePathComputerId="org.eclipse.jdt.launching.sourceLookup.javaSourcePathComputer"> </launchConfigurationType>
- JavaLaunchDelegate
- org.eclipse.jdt.launching.JavaLaunchDelegate.showCommandLine(ILaunchConfiguration, String, ILaunch, IProgressMonitor)
- Overridden to show command line. Tip is to carve out the common functionality from launch method to be reused in showCommandLine method.
- Added API org.eclipse.jdt.launching.IVMRunner.showCommandLine(VMRunnerConfiguration, ILaunch, IProgressMonitor)
- Implemented org.eclipse.jdt.internal.launching.StandardVMRunner.showCommandLine(VMRunnerConfiguration, ILaunch, IProgressMonitor) and org.eclipse.jdt.internal.launching.StandardVMDebugger.showCommandLine(VMRunnerConfiguration, ILaunch, IProgressMonitor)