Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJared Burns2003-06-06 20:47:38 +0000
committerJared Burns2003-06-06 20:47:38 +0000
commit9fde8b739938b70d8a3c9a8e733b36b76c0281ed (patch)
tree9effcfdb5e737f38fcbb9a1c702c84d7871d46ff /org.eclipse.ui.externaltools/Program Tools Support
parent27bac7c82402dcc6e1d1e8a59077c5b5ca9bd8c6 (diff)
downloadeclipse.platform.debug-9fde8b739938b70d8a3c9a8e733b36b76c0281ed.tar.gz
eclipse.platform.debug-9fde8b739938b70d8a3c9a8e733b36b76c0281ed.tar.xz
eclipse.platform.debug-9fde8b739938b70d8a3c9a8e733b36b76c0281ed.zip
Bug 37241 - Support for core variables
Diffstat (limited to 'org.eclipse.ui.externaltools/Program Tools Support')
-rw-r--r--org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/BackgroundResourceRefresher.java3
-rw-r--r--org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramBuilderTabGroup.java4
-rw-r--r--org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramLaunchDelegate.java5
-rw-r--r--org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramTabGroup.java4
4 files changed, 9 insertions, 7 deletions
diff --git a/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/BackgroundResourceRefresher.java b/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/BackgroundResourceRefresher.java
index 33d0e793e..2eb9530ab 100644
--- a/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/BackgroundResourceRefresher.java
+++ b/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/BackgroundResourceRefresher.java
@@ -20,6 +20,7 @@ import org.eclipse.debug.core.DebugPlugin;
import org.eclipse.debug.core.IDebugEventSetListener;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.debug.core.model.IProcess;
+import org.eclipse.debug.ui.launchVariables.RefreshTab;
import org.eclipse.jface.dialogs.ProgressMonitorDialog;
import org.eclipse.jface.operation.IRunnableWithProgress;
import org.eclipse.ui.externaltools.internal.launchConfigurations.ExternalToolsUtil;
@@ -96,7 +97,7 @@ public class BackgroundResourceRefresher implements IDebugEventSetListener, Runn
*/
public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
try {
- ExternalToolsUtil.refreshResources(fConfiguration, monitor);
+ RefreshTab.refreshResources(fConfiguration, monitor);
} catch (CoreException e) {
throw new InvocationTargetException(e);
}
diff --git a/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramBuilderTabGroup.java b/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramBuilderTabGroup.java
index 343fdc530..57d1b52c5 100644
--- a/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramBuilderTabGroup.java
+++ b/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramBuilderTabGroup.java
@@ -14,8 +14,8 @@ package org.eclipse.ui.externaltools.internal.program.launchConfigurations;
import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup;
import org.eclipse.debug.ui.ILaunchConfigurationDialog;
import org.eclipse.debug.ui.ILaunchConfigurationTab;
+import org.eclipse.debug.ui.launchVariables.RefreshTab;
import org.eclipse.ui.externaltools.internal.launchConfigurations.ExternalToolsBuilderTab;
-import org.eclipse.ui.externaltools.internal.launchConfigurations.ExternalToolsRefreshTab;
public class ProgramBuilderTabGroup extends AbstractLaunchConfigurationTabGroup {
@@ -25,7 +25,7 @@ public class ProgramBuilderTabGroup extends AbstractLaunchConfigurationTabGroup
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
new ProgramMainTab(false),
- new ExternalToolsRefreshTab(),
+ new RefreshTab(),
new ExternalToolsBuilderTab(),
};
setTabs(tabs);
diff --git a/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramLaunchDelegate.java b/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramLaunchDelegate.java
index c9c88a08d..55993220a 100644
--- a/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramLaunchDelegate.java
+++ b/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramLaunchDelegate.java
@@ -27,6 +27,7 @@ import org.eclipse.debug.core.ILaunchManager;
import org.eclipse.debug.core.model.ILaunchConfigurationDelegate;
import org.eclipse.debug.core.model.IProcess;
import org.eclipse.debug.core.variables.VariableUtil;
+import org.eclipse.debug.ui.launchVariables.RefreshTab;
import org.eclipse.debug.ui.launchVariables.VariableContextManager;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.ui.IWindowListener;
@@ -166,7 +167,7 @@ public class ProgramLaunchDelegate implements ILaunchConfigurationDelegate {
if (ExternalToolsUtil.isBackground(configuration)) {
// refresh resources after process finishes
- if (ExternalToolsUtil.getRefreshScope(configuration) != null) {
+ if (VariableUtil.getRefreshScope(configuration) != null) {
BackgroundResourceRefresher refresher = new BackgroundResourceRefresher(configuration, process);
refresher.startBackgroundRefresh();
}
@@ -184,7 +185,7 @@ public class ProgramLaunchDelegate implements ILaunchConfigurationDelegate {
}
// refresh resources
- ExternalToolsUtil.refreshResources(configuration, monitor);
+ RefreshTab.refreshResources(configuration, monitor);
}
}
diff --git a/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramTabGroup.java b/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramTabGroup.java
index 33eaa4fef..65c8e15a9 100644
--- a/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramTabGroup.java
+++ b/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramTabGroup.java
@@ -15,7 +15,7 @@ import org.eclipse.debug.ui.CommonTab;
import org.eclipse.debug.ui.EnvironmentTab;
import org.eclipse.debug.ui.ILaunchConfigurationDialog;
import org.eclipse.debug.ui.ILaunchConfigurationTab;
-import org.eclipse.ui.externaltools.internal.launchConfigurations.ExternalToolsRefreshTab;
+import org.eclipse.debug.ui.launchVariables.RefreshTab;
public class ProgramTabGroup extends AbstractLaunchConfigurationTabGroup {
@@ -25,7 +25,7 @@ public class ProgramTabGroup extends AbstractLaunchConfigurationTabGroup {
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
new ProgramMainTab(true),
- new ExternalToolsRefreshTab(),
+ new RefreshTab(),
new CommonTab(),
new EnvironmentTab()
};

Back to the top