diff options
author | Darin Wright | 2002-11-05 16:29:55 +0000 |
---|---|---|
committer | Darin Wright | 2002-11-05 16:29:55 +0000 |
commit | 500ea6a2111e83048253e4bcb06e7e80846b0664 (patch) | |
tree | f95f0e60e32e781e9e73c3d033e6c61a5089e34d /org.eclipse.ui.externaltools | |
parent | 7bf36c975c6d11c905ea5c6e39ae4da371bb2bbe (diff) | |
download | eclipse.platform.debug-500ea6a2111e83048253e4bcb06e7e80846b0664.tar.gz eclipse.platform.debug-500ea6a2111e83048253e4bcb06e7e80846b0664.tar.xz eclipse.platform.debug-500ea6a2111e83048253e4bcb06e7e80846b0664.zip |
program launch config definition
Diffstat (limited to 'org.eclipse.ui.externaltools')
3 files changed, 53 insertions, 2 deletions
diff --git a/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramLaunchDelegate.java b/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramLaunchDelegate.java new file mode 100644 index 000000000..0685dff66 --- /dev/null +++ b/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramLaunchDelegate.java @@ -0,0 +1,41 @@ +package org.eclipse.ui.externaltools.internal.program.launchConfigurations; + +/********************************************************************** +Copyright (c) 2002 IBM Corp. and others. All rights reserved. +This file is made available under the terms of the Common Public License v1.0 +which accompanies this distribution, and is available at +http://www.eclipse.org/legal/cpl-v10.html + +Contributors: +**********************************************************************/ + +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.debug.core.ILaunch; +import org.eclipse.debug.core.ILaunchConfiguration; +import org.eclipse.debug.core.model.ILaunchConfigurationDelegate; + +/** + * Launch delegate for a program. + */ +public class ProgramLaunchDelegate implements ILaunchConfigurationDelegate { + + /** + * Constructor for ProgramLaunchDelegate. + */ + public ProgramLaunchDelegate() { + super(); + } + + /** + * @see org.eclipse.debug.core.model.ILaunchConfigurationDelegate#launch(org.eclipse.debug.core.ILaunchConfiguration, java.lang.String, org.eclipse.debug.core.ILaunch, org.eclipse.core.runtime.IProgressMonitor) + */ + public void launch( + ILaunchConfiguration configuration, + String mode, + ILaunch launch, + IProgressMonitor monitor) + throws CoreException { + } + +} diff --git a/org.eclipse.ui.externaltools/plugin.properties b/org.eclipse.ui.externaltools/plugin.properties index 586e5bc11..9f09a031c 100644 --- a/org.eclipse.ui.externaltools/plugin.properties +++ b/org.eclipse.ui.externaltools/plugin.properties @@ -31,4 +31,6 @@ View.antView = Ant View PreferencePage.antPreferences = Ant PreferencePage.toolsPreferences = External Tools PopupMenu.runAnt = Run &Ant... -PopupMenu.runAntTip = Run Ant With The Selected File
\ No newline at end of file +PopupMenu.runAntTip = Run Ant With The Selected File +AntScript.externalTools = Ant Script +Program.externalTools = Program
\ No newline at end of file diff --git a/org.eclipse.ui.externaltools/plugin.xml b/org.eclipse.ui.externaltools/plugin.xml index 38321e7b1..9bbfee171 100644 --- a/org.eclipse.ui.externaltools/plugin.xml +++ b/org.eclipse.ui.externaltools/plugin.xml @@ -332,12 +332,20 @@ <extension point="org.eclipse.debug.core.launchConfigurationTypes" id = "org.eclipse.ant.AntLaunchConfigurationType" - name = "Ant Script" + name = "%AntScript.externalTools" delegate = "org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate" modes = "run" category = "org.eclipse.ui.externaltools"> </extension> + <extension point="org.eclipse.debug.core.launchConfigurationTypes" + id = "org.eclipse.ui.externaltools.ProgramLaunchConfigurationType" + name = "%Program.externalTools" + delegate = "org.eclipse.ui.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate" + modes = "run" + category = "org.eclipse.ui.externaltools"> + </extension> + <extension point="org.eclipse.ui.preferencePages"> <page id="org.eclipse.ui.externaltools.WorkInProgressPreferencePage" |