From d57a3aece63eb0cd4ef31aedfc707cac7445ba6b Mon Sep 17 00:00:00 2001
From: Darin Wright
Date: Mon, 8 Dec 2008 20:09:20 +0000
Subject: breakpoint import participants
---
.../core/model/IBreakpointImportParticipant.java | 18 ++++++++++++++++-
.../schema/breakpointImportParticipants.exsd | 23 ++++++++++++++++------
2 files changed, 34 insertions(+), 7 deletions(-)
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IBreakpointImportParticipant.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IBreakpointImportParticipant.java
index b2b9e69b7..cbafd8933 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IBreakpointImportParticipant.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IBreakpointImportParticipant.java
@@ -17,10 +17,26 @@ import org.eclipse.debug.core.IBreakpointManager;
/**
* This interface defines a breakpoint import participant.
- *
+ *
* Participants are used during a breakpoint import operation
* to specify how breakpoints of the associated marker type should be compared
* and how the breakpoint should be validated once it is decided it will be imported.
+ *
+ *
+ * A breakpoint import participant it contributed via the
+ * org.eclipse.debug.core.breakpointImportParticipants
extension point.
+ *
+ *
+ * Following is an example of a breakpoint participant extension:
+ *
+ *
+ *
+ *
+ *
+ *
+ *
*
* Clients may implement this interface.
*
diff --git a/org.eclipse.debug.core/schema/breakpointImportParticipants.exsd b/org.eclipse.debug.core/schema/breakpointImportParticipants.exsd
index fd53bfcd0..e9ae55279 100644
--- a/org.eclipse.debug.core/schema/breakpointImportParticipants.exsd
+++ b/org.eclipse.debug.core/schema/breakpointImportParticipants.exsd
@@ -3,12 +3,13 @@
-
+
This extension point allows contributors to explicitly define how breakpoints should be compared when being imported into the workspace, and how they should be updated if a similar breakpoint already exists in the workspace.
+
@@ -22,18 +23,21 @@
+
+
+
@@ -42,6 +46,7 @@
+
@@ -71,6 +76,7 @@
+
@@ -79,19 +85,20 @@
3.5
+
- The following is an example of the breakpoint participant extension point:
+ The following is an example of the breakpoint participant extension:
<p>
<pre>
-<extension point="org.eclipse.debug.core.breakpointImportParticipant">
- <ImportParticipant
+<extension point="org.eclipse.debug.core.breakpointImportParticipants">
+ <importParticipant
participant="x.y.z.BreakpointImportParticipant"
- type="org.eclipse.jdt.debug.javaLineBreakpointMarker">
- </ImportParticipant>
+ type="org.eclipse.jdt.debug.javaLineBreakpointMarker">
+ </importParticipant>
</extension>
</pre>
</p>
@@ -99,6 +106,7 @@ In the above example the participant cares about Java line breakpoints: where &l
is a breakpoint type defined using the <code>org.eclipse.debug.core.breakpoints</code> extension point in <code>org.eclipse.jdt.debug</code>
+
@@ -108,6 +116,7 @@ is a breakpoint type defined using the <code>org.eclipse.debug.core.breakp
The <code>participant</code> attribute must specify a Java class that implements the <code>org.eclipse.debug.core.model.IBreakpointImportParticipant</code> interface.
+
@@ -116,6 +125,7 @@ The <code>participant</code> attribute must specify a Java class tha
Platform Debug supplies a default implemementation for breakpoints in general which compares breakpoints the way they were compared prior to the participant support: based on breakpoint type and line number information.
+
@@ -128,4 +138,5 @@ accompanies this distribution, and is available at
<a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>
+
--
cgit v1.2.1