Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Plug-in Developer Guide
Previous Page Home Next Page

Breakpoint Import Participants

Identifier:
org.eclipse.debug.core.breakpointImportParticipants

Since:
3.5

Description:
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.

Configuration Markup:

<!ELEMENT extension ( importParticipant)+>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>


<!ELEMENT importParticipant EMPTY>

<!ATTLIST importParticipant

participant CDATA #REQUIRED

type        IDREF #REQUIRED

>

Describes one import participant


  • participant - The class that participates in the breakpoint importing
  • type - The id of the marker backing the breakpoint type this participant cares about. For example 'org.eclipse.jdt.debug.javaLineBreakpointMarker', the id of the backing marker for the Java line breakpoint

Examples:
The following is an example of the breakpoint participant extension:


<extension point=
"org.eclipse.debug.core.breakpointImportParticipants"
>
 <importParticipant
     participant=
"x.y.z.BreakpointImportParticipant"

     type=
"org.eclipse.jdt.debug.javaLineBreakpointMarker"
>
 </importParticipant>
</extension>

In the above example the participant cares about Java line breakpoints: where org.eclipse.jdt.debug.javaLineBreakpointMarker is a breakpoint type defined using the org.eclipse.debug.core.breakpoints extension point in org.eclipse.jdt.debug

API Information:
The type attribute is the id of the marker backing the breakpoint type this participant cares about. The type needs to be the exact marker id of the breakpoint this participant cares about, marker hierarchies are not considered. For example 'org.eclipse.jdt.debug.javaLineBreakpointMarker', the id of the backing marker for the Java line breakpoint The participant attribute must specify a Java class that implements the org.eclipse.debug.core.model.IBreakpointImportParticipant interface.

Supplied Implementation:
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.


Copyright (c) 2008 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v10.html


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire