Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Swanson2001-07-10 11:53:42 +0000
committerDarin Swanson2001-07-10 11:53:42 +0000
commitec68314a468770bfedb587db231137297d5ef8c4 (patch)
tree29cc9177a98df8ffe72995f3abbabe350506bd4d
parentde2c2953c51f145c6d2978ffeafd84efea715b1a (diff)
downloadeclipse.platform.debug-ec68314a468770bfedb587db231137297d5ef8c4.tar.gz
eclipse.platform.debug-ec68314a468770bfedb587db231137297d5ef8c4.tar.xz
eclipse.platform.debug-ec68314a468770bfedb587db231137297d5ef8c4.zip
1GG1EBK
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LaunchWizardProjectSelectionPage.java3
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LaunchWizardSelectionPage.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LauncherPropertyPage.java2
3 files changed, 7 insertions, 2 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LaunchWizardProjectSelectionPage.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LaunchWizardProjectSelectionPage.java
index 36354db89..fd6ad6391 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LaunchWizardProjectSelectionPage.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LaunchWizardProjectSelectionPage.java
@@ -264,6 +264,9 @@ public class LaunchWizardProjectSelectionPage extends WizardPage {
Runnable runnable= new Runnable() {
public void run() {
+ if (getControl().isDisposed()) {
+ return;
+ }
Object[] children= ResourcesPlugin.getWorkspace().getRoot().getProjects();
if (children.length == 1) {
fElementsList.setSelection(new StructuredSelection(children[0]), true);
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LaunchWizardSelectionPage.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LaunchWizardSelectionPage.java
index d76950e34..cf6e6b962 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LaunchWizardSelectionPage.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LaunchWizardSelectionPage.java
@@ -182,7 +182,9 @@ public class LaunchWizardSelectionPage extends WizardSelectionPage {
protected void initializeSettings() {
Runnable runnable= new Runnable() {
public void run() {
-
+ if (getControl().isDisposed()) {
+ return;
+ }
if (fLaunchers.length == 0) {
setErrorMessage(DebugUIUtils.getResourceString(SELECT_ERROR_LAUNCHER));
} else
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LauncherPropertyPage.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LauncherPropertyPage.java
index 014614f3a..42b311a13 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LauncherPropertyPage.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LauncherPropertyPage.java
@@ -177,7 +177,7 @@ public class LauncherPropertyPage extends PropertyPage implements IWorkbenchPref
String selection= fCombo.getText();
return saveLauncherProperty(project, selection);
}
- return false;
+ return true;
}
/**

Back to the top