Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Swanson2001-05-30 16:57:24 +0000
committerDarin Swanson2001-05-30 16:57:24 +0000
commit94c4ca7b081f58435586a9f199f979b643f6a6fa (patch)
treefc55bd0adf266775b60f5730d2fdf2719c1c76a9 /org.eclipse.debug.core
parent0a65ca7968a8fbfeeab277b418f574abbf11461b (diff)
downloadeclipse.platform.debug-94c4ca7b081f58435586a9f199f979b643f6a6fa.tar.gz
eclipse.platform.debug-94c4ca7b081f58435586a9f199f979b643f6a6fa.tar.xz
eclipse.platform.debug-94c4ca7b081f58435586a9f199f979b643f6a6fa.zip
*** empty log message ***
Diffstat (limited to 'org.eclipse.debug.core')
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/core/Launch.java11
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/internal/core/DebugCoreResources.properties5
2 files changed, 10 insertions, 6 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/Launch.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/Launch.java
index 5e9630e90..46bd59b0c 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/Launch.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/Launch.java
@@ -5,11 +5,7 @@ package org.eclipse.debug.core;
* All Rights Reserved.
*/
-import org.eclipse.debug.core.model.*;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.MultiStatus;
-import org.eclipse.core.runtime.PlatformObject;
-import java.util.*;
+import java.util.*; import org.eclipse.core.runtime.*; import org.eclipse.debug.core.model.*; import org.eclipse.debug.internal.core.DebugCoreUtils;
/**
* An implementation of <code>ILaunch</code>.
@@ -33,6 +29,8 @@ import java.util.*;
*/
public class Launch extends PlatformObject implements ILaunch {
+
+ private final String TERMINATE_FAILED= "launch.terminate_failed";
/**
* Shared, immutable empty collection used for efficiency.
*/
@@ -201,7 +199,8 @@ public class Launch extends PlatformObject implements ILaunch {
* @see ITerminate
*/
public final void terminate() throws DebugException {
- MultiStatus status= new MultiStatus(DebugPlugin.getDefault().getDescriptor().getUniqueIdentifier(), IDebugStatusConstants.REQUEST_FAILED, "Terminate failed", null);
+ MultiStatus status=
+ new MultiStatus(DebugPlugin.getDefault().getDescriptor().getUniqueIdentifier(), IDebugStatusConstants.REQUEST_FAILED, DebugCoreUtils.getResourceString(TERMINATE_FAILED), null);
IProcess[] ps= getProcesses();
// terminate the system processes
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/DebugCoreResources.properties b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/DebugCoreResources.properties
index 99037bb17..37722de82 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/DebugCoreResources.properties
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/DebugCoreResources.properties
@@ -34,6 +34,11 @@ exception_manager.error.restoring=Error restoring exceptions.
input_stream_monitor.label=Input Stream Monitor
##############################################################
+# Launch
+##############################################################
+launch.terminate_failed=Terminate failed
+
+##############################################################
# LaunchManager
##############################################################
launch_manager.error.termination=Unable to terminate launch.

Back to the top