Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2002-03-08 17:10:19 +0000
committerDarin Wright2002-03-08 17:10:19 +0000
commitf597a4641ca6b7e6dd09ecb811f0912e9a31bd6f (patch)
treebabb16d41e1f736f3e572fed01ef65aeac446a78 /org.eclipse.debug.core/doc
parentc12fc0e1ca13aae85cb2aae106a030e587a97c84 (diff)
downloadeclipse.platform.debug-f597a4641ca6b7e6dd09ecb811f0912e9a31bd6f.tar.gz
eclipse.platform.debug-f597a4641ca6b7e6dd09ecb811f0912e9a31bd6f.tar.xz
eclipse.platform.debug-f597a4641ca6b7e6dd09ecb811f0912e9a31bd6f.zip
status handlers
Diffstat (limited to 'org.eclipse.debug.core/doc')
-rw-r--r--org.eclipse.debug.core/doc/org_eclipse_debug_core.html3
-rw-r--r--org.eclipse.debug.core/doc/org_eclipse_debug_core_status_handlers.html71
2 files changed, 73 insertions, 1 deletions
diff --git a/org.eclipse.debug.core/doc/org_eclipse_debug_core.html b/org.eclipse.debug.core/doc/org_eclipse_debug_core.html
index a76f48144..d0cb5eef4 100644
--- a/org.eclipse.debug.core/doc/org_eclipse_debug_core.html
+++ b/org.eclipse.debug.core/doc/org_eclipse_debug_core.html
@@ -27,8 +27,9 @@ breakpoint management, expression management, and program launching.<br>
<p>The following extension points are used to support and extend the debug infrastructure:
<ul>
- <li><a href="org_eclipse_debug_core_launch_configuration_types.html">org.eclipse.debug.core.launchConfigurationTypes</a></li>
<li><a href="org_eclipse_debug_core_breakpoints.html">org.eclipse.debug.core.breakpoints</a></li>
+ <li><a href="org_eclipse_debug_core_launch_configuration_types.html">org.eclipse.debug.core.launchConfigurationTypes</a></li>
+ <li><a href="org_eclipse_debug_core_status_handlers.html">org.eclipse.debug.core.statusHandlers</a></li>
</ul>
<p><a href="hglegal.htm"><img src="ngibmcpy.gif" alt="Copyright IBM Corp. 2000, 2001. All Rights Reserved."
diff --git a/org.eclipse.debug.core/doc/org_eclipse_debug_core_status_handlers.html b/org.eclipse.debug.core/doc/org_eclipse_debug_core_status_handlers.html
new file mode 100644
index 000000000..203a84fec
--- /dev/null
+++ b/org.eclipse.debug.core/doc/org_eclipse_debug_core_status_handlers.html
@@ -0,0 +1,71 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<html>
+
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<title>README Status Handlers Extension Point</title>
+</head>
+
+<body link="#0000FF" vlink="#800080">
+
+<h1 align="center">Status Handlers</h1>
+
+<p><b><i>Identifier: </i></b>org.eclipse.debug.core.statusHandlers</p>
+
+<p><b><i>Description: </i></b>This extension point provides a generic
+ mechanism for separating the generation and resolutoin of an error.
+ The interaction between the source of the error, and the resolution
+ is client defined. It is a client reponsibility to lookup and delegate
+ to status handlers when an error condition occurrs.</p>
+
+<p><b><i>Configuration Markup:</i></b> </p>
+
+<pre>
+<tt>&nbsp;&nbsp; &lt;!ELEMENT statusHandler</tt>&gt;
+<tt>&nbsp;&nbsp; &lt;!ATTLIST statusHandler</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CDATA #REQUIRED</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CDATA #REQUIRED</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; plugin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CDATA #REQUIRED</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; code&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CDATA #REQUIRED</tt>&gt;
+</pre>
+
+<ul>
+ <li><code>id</code> specifies a unique identifier for this status handler.</li>
+ <li><code>class</code> specifies the fully qualified name of the java class
+ that implements <code>IStatusHandler</code>.</li>
+ <li><code>plugin</code> plug-in identifier that corresponds to the
+ plug-in of the status this handler is registered for (i.e.
+ <code>IStatus.getPlugin()</code>).</li>
+ <li><code>code</code> specifies the status code this handler
+ is registered for.</li>
+</ul>
+
+<p><b><i>Examples:</i></b> </p>
+
+<p>The following is an example of a launch configuration type extension point: </p>
+
+<pre>
+ &lt;extension point="org.eclipse.debug.core.statusHandlers"&gt;
+ &lt;statusHandler
+ id="com.example.ExampleIdentifier"
+ class="com.example.ExampleStatusHandler"
+ plugin="com.example.ExamplePluginId"
+ code="123"
+ &lt;/statusHandler&gt;
+ &lt;/extension&gt;
+</pre>
+
+<p>In the example above, the specified status handler will be registered
+ to handle status objects with a plug-in identifier of <code>com.example.ExamplePluginId</code>
+ and a status code of <code>123</code>.
+</p>
+
+<p><b><i>API Information: </i></b>Value of the attribute <b>class</b> must be a fully
+qualified name of a Java class that implements the interface <b>
+org.eclipse.debug.core.IStatusHandler</b>.
+</p>
+
+<p><a href="hglegal.htm"><img src="ngibmcpy.gif" alt="Copyright IBM Corp. 2000, 2001. All Rights Reserved."
+border="0" width="195" height="12"></a></p>
+</body>
+</html>

Back to the top