Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.debug.core.cdi.event
Interface ICDIBreakpointProblemEvent


public interface ICDIBreakpointProblemEvent

Notifies that a breakpoint problem has occurred.


Method Summary
 ICDIBreakpoint getBreakpoint()
          The CDI breakpoint that has the problem
 String getDescription()
          A description of the problem.
 String getProblemType()
          The problem type is a string that identifies specific kinds of breakproblems.
 int getSeverity()
          The severity code maps to the IMarker.SEVERITY_XXX constants.
 boolean removeExisting()
          Indicated that any existing problems of this type and at this breakpoint's location will be removed before the new problem is added.
 boolean removeOnly()
          Indicated that existing problems of this type and at this breakpoint's location will be removed, no new ones will be added.
 

Method Detail

getProblemType

public String getProblemType()
The problem type is a string that identifies specific kinds of breakproblems.

Returns:
problem type name

getBreakpoint

public ICDIBreakpoint getBreakpoint()
The CDI breakpoint that has the problem

Returns:
the cdi breakpoint that has the problem

getDescription

public String getDescription()
A description of the problem. This will be presented in the problems view.

Returns:
a description of the problem

getSeverity

public int getSeverity()
The severity code maps to the IMarker.SEVERITY_XXX constants.

Returns:
severity code.

removeOnly

public boolean removeOnly()
Indicated that existing problems of this type and at this breakpoint's location will be removed, no new ones will be added.

Returns:
only remove existing problems

removeExisting

public boolean removeExisting()
Indicated that any existing problems of this type and at this breakpoint's location will be removed before the new problem is added.

Returns:
remove any existing markers

Eclipse CDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2004. All Rights Reserved.