Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2004-03-18 18:48:38 +0000
committerDarin Wright2004-03-18 18:48:38 +0000
commit275d0633309ad7c03739d4913f4769f35970969b (patch)
tree331e718701eee2d76ff3282eb4ceb01657deb9e2 /org.eclipse.debug.core/core/org/eclipse/debug
parent620e933cd631257302d198b58a81999fc0d3c49e (diff)
downloadeclipse.platform.debug-275d0633309ad7c03739d4913f4769f35970969b.tar.gz
eclipse.platform.debug-275d0633309ad7c03739d4913f4769f35970969b.tar.xz
eclipse.platform.debug-275d0633309ad7c03739d4913f4769f35970969b.zip
Bug 45887 - When selecting "Build before launching", the build is not specific to the project launched, but the whole workspace
Diffstat (limited to 'org.eclipse.debug.core/core/org/eclipse/debug')
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILaunchConfigurationDelegate2.java6
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/core/model/LaunchConfigurationDelegate.java4
2 files changed, 6 insertions, 4 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILaunchConfigurationDelegate2.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILaunchConfigurationDelegate2.java
index e0132d59d..e7612f6cc 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILaunchConfigurationDelegate2.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILaunchConfigurationDelegate2.java
@@ -75,8 +75,9 @@ public interface ILaunchConfigurationDelegate2 extends ILaunchConfigurationDeleg
* @param mode
* @param monitor
* @return whether the launch should proceed
+ * @throws CoreException if an exception occurs during final checks
*/
- public boolean finalLaunchCheck(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor);
+ public boolean finalLaunchCheck(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) throws CoreException;
/**
* Returns whether a launch should proceed. This method is called first
@@ -87,6 +88,7 @@ public interface ILaunchConfigurationDelegate2 extends ILaunchConfigurationDeleg
* @param mode launch mode
* @param monitor progress monitor
* @return whether the launch should proceed
+ * @throws CoreException if an exception occurs while performing pre launch checks
*/
- public boolean preLaunchCheck(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor);
+ public boolean preLaunchCheck(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) throws CoreException;
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/LaunchConfigurationDelegate.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/LaunchConfigurationDelegate.java
index e4682b5ea..48cbbfe85 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/LaunchConfigurationDelegate.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/LaunchConfigurationDelegate.java
@@ -39,13 +39,13 @@ public abstract class LaunchConfigurationDelegate implements ILaunchConfiguratio
/* (non-Javadoc)
* @see org.eclipse.debug.core.model.ILaunchConfigurationDelegate2#finalLaunchCheck(org.eclipse.debug.core.ILaunchConfiguration, java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
*/
- public boolean finalLaunchCheck(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) {
+ public boolean finalLaunchCheck(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) throws CoreException {
return true;
}
/* (non-Javadoc)
* @see org.eclipse.debug.core.model.ILaunchConfigurationDelegate2#preLaunchCheck(org.eclipse.debug.core.ILaunchConfiguration, java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
*/
- public boolean preLaunchCheck(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) {
+ public boolean preLaunchCheck(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) throws CoreException {
return true;
}

Back to the top