Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Swanson2002-04-04 21:50:21 +0000
committerDarin Swanson2002-04-04 21:50:21 +0000
commit9baee023e2ae7ed0bdd5b901b8b2c3aedb63a087 (patch)
tree23e16e209d09e7f11f596a051204d5f13e5f2161
parenta9f4850d3a59d8388e1f29cadf00804019bc9111 (diff)
downloadeclipse.platform.debug-9baee023e2ae7ed0bdd5b901b8b2c3aedb63a087.tar.gz
eclipse.platform.debug-9baee023e2ae7ed0bdd5b901b8b2c3aedb63a087.tar.xz
eclipse.platform.debug-9baee023e2ae7ed0bdd5b901b8b2c3aedb63a087.zip
Bug 12160 - Launch creation/lifecycle
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugElement.java16
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugTarget.java7
2 files changed, 7 insertions, 16 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugElement.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugElement.java
index 8f9ab7558..7c65af84d 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugElement.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugElement.java
@@ -6,7 +6,6 @@ package org.eclipse.debug.core.model;
*/
import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.debug.core.DebugException;
import org.eclipse.debug.core.ILaunch;
/**
@@ -38,24 +37,19 @@ public interface IDebugElement extends IAdaptable {
* Returns the unique identifier of the plug-in
* this debug element originated from.
*
- * @return plug-in identifier
+ * @return the plug-in identifier
*/
public String getModelIdentifier();
/**
* Returns the debug target this element is contained in.
*
- * @return debug target
+ * @return the debug target this element is contained in
*/
public IDebugTarget getDebugTarget();
/**
- * Returns the launch this target is contained in,
- * or <code>null</code> if not yet registered with
- * a launch.
- * <p>
- * [Issue: Specification will be changed to not allow null
- * to be returned.]
- * </p>
- * @return launch or <code>null</code>
+ * Returns the launch this element is contained in.
+ *
+ * @return the launch this element is contained in
*/
public ILaunch getLaunch();
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugTarget.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugTarget.java
index b177a835c..ff6ea5c5f 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugTarget.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugTarget.java
@@ -11,7 +11,7 @@ import org.eclipse.debug.core.IBreakpointListener;
/**
* A debug target is a debuggable execution context. For example, a debug target
* may represent a debuggable process or a virtual machine. A debug target is the root
- * of the debug element hierarchy. A debug targetcontains threads. Minimally, a debug
+ * of the debug element hierarchy. A debug target contains threads. Minimally, a debug
* target supports the following:
* <ul>
* <li>terminate
@@ -35,12 +35,9 @@ import org.eclipse.debug.core.IBreakpointListener;
*/
public interface IDebugTarget extends IDebugElement, ITerminate, ISuspendResume, IBreakpointListener, IDisconnect, IMemoryBlockRetrieval {
/**
- * Returns the system process associated with this debug target
- * or <code>null</code> if no system process is associated with
- * this debug target.
+ * Returns the system process associated with this debug target.
*
* @return the system process associated with this debug target
- * or <code>null</code> if none
*/
public IProcess getProcess();
/**

Back to the top