Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Rennie2010-05-04 20:47:26 +0000
committerMichael Rennie2010-05-04 20:47:26 +0000
commit6cd29c1589ba7c6b7347305758feb887584f1731 (patch)
treef0ae40519f8cbbb80bc93eb18c4789cd8942b0e5
parentd2b5f684f1914f26d7c39b69aaaeb314b0646cbc (diff)
downloadeclipse.platform.debug-6cd29c1589ba7c6b7347305758feb887584f1731.tar.gz
eclipse.platform.debug-6cd29c1589ba7c6b7347305758feb887584f1731.tar.xz
eclipse.platform.debug-6cd29c1589ba7c6b7347305758feb887584f1731.zip
Bug 311017 - "Launch configuration New_configuration at ... does not exist"
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationView.java6
2 files changed, 7 insertions, 3 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java
index 3c43057a4..00437544e 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java
@@ -1284,7 +1284,7 @@ public class LaunchConfigurationTabGroupViewer {
IRunnableWithProgress runnable = new IRunnableWithProgress() {
public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
try {
- fOriginal = ((LaunchConfigurationWorkingCopy)fWorkingCopy).doSave(monitor);
+ ((LaunchConfigurationWorkingCopy)fWorkingCopy).doSave(monitor);
}
catch (CoreException e) {DebugUIPlugin.log(e);}
}
@@ -1292,7 +1292,7 @@ public class LaunchConfigurationTabGroupViewer {
getLaunchConfigurationDialog().run(true, false, runnable);
}
else {
- fOriginal = fWorkingCopy.doSave();
+ fWorkingCopy.doSave();
}
}
updateButtons();
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationView.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationView.java
index bd9685314..4aaa18803 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationView.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationView.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2008 IBM Corporation and others.
+ * Copyright (c) 2000, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -273,6 +273,7 @@ public class LaunchConfigurationView extends AbstractDebugView implements ILaunc
TreeViewer viewer = getTreeViewer();
if (viewer != null) {
try {
+ viewer.getControl().setRedraw(false);
viewer.add(configuration.getType(), configuration);
// if moved, remove original now
if (from != null) {
@@ -284,6 +285,9 @@ public class LaunchConfigurationView extends AbstractDebugView implements ILaunc
updateFilterLabel();
}
catch (CoreException e) {}
+ finally {
+ viewer.getControl().setRedraw(true);
+ }
}
}

Back to the top