Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Richard2017-12-12 11:23:41 -0500
committerSarika Sinha2017-12-19 23:29:42 -0500
commit0d9859483e43e67c6489c56f117e09717eb7c124 (patch)
treef01314888d55fccd8a2df24d544244c513cbe726 /org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui
parent331c6509bb1cc33e3f1a0d28eb3cd2402d3dd182 (diff)
downloadeclipse.platform.debug-0d9859483e43e67c6489c56f117e09717eb7c124.tar.gz
eclipse.platform.debug-0d9859483e43e67c6489c56f117e09717eb7c124.tar.xz
eclipse.platform.debug-0d9859483e43e67c6489c56f117e09717eb7c124.zip
Bug 528469 - Refresh LC tree when linking from PrototypeTab
Change-Id: Icb820b5dec90f3c99e9cba2bf85cb729a7acba63 Signed-off-by: Axel Richard <axel.richard@obeo.fr>
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java
index e889e8d76..baef40735 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java
@@ -1059,6 +1059,12 @@ public class LaunchConfigurationsDialog extends TitleAreaDialog implements ILaun
int ret = showUnsavedChangesDialog();
if(ret == IDialogConstants.YES_ID) {
fTabViewer.handleApplyPressed();
+ ILaunchConfigurationTab[] tabs = getTabs();
+ if (tabs != null) {
+ for (ILaunchConfigurationTab tab : tabs) {
+ tab.postApply();
+ }
+ }
fTabViewer.setInput(newInput);
}
else if(ret == IDialogConstants.NO_ID) {
@@ -1370,7 +1376,7 @@ public class LaunchConfigurationsDialog extends TitleAreaDialog implements ILaun
*
* @since 3.13
*/
- protected void refreshLaunchConfigurationView() {
+ public void refreshLaunchConfigurationView() {
fLaunchConfigurationView.getTreeViewer().refresh();
}

Back to the top