diff options
author | Darin Wright | 2001-06-12 17:29:35 +0000 |
---|---|---|
committer | Darin Wright | 2001-06-12 17:29:35 +0000 |
commit | 2c58a7536998f64b8f12b7c80d7875193a0139d6 (patch) | |
tree | 00a8a370d98a0b9554ee870e16e9543f67470d0b | |
parent | 8088838c8325dbabc5d892ef98613143527f0eaf (diff) | |
download | eclipse.platform.debug-2c58a7536998f64b8f12b7c80d7875193a0139d6.tar.gz eclipse.platform.debug-2c58a7536998f64b8f12b7c80d7875193a0139d6.tar.xz eclipse.platform.debug-2c58a7536998f64b8f12b7c80d7875193a0139d6.zip |
1GF5Y7T
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LaunchWizard.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LaunchWizard.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LaunchWizard.java index a527b6404..269b78830 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LaunchWizard.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LaunchWizard.java @@ -145,6 +145,9 @@ public class LaunchWizard extends Wizard { IResource res= null;
if (e instanceof IAdaptable) {
res= (IResource) ((IAdaptable) e).getAdapter(IResource.class);
+ if (res == null) {
+ res= (IResource) ((IAdaptable) e).getAdapter(IProject.class);
+ }
}
if (res != null) {
IProject p= res.getProject();
|