org.eclipse.cdt.debug.internal.ui.actions
Class BreakpointLocationVerifier

java.lang.Object
  extended by org.eclipse.cdt.debug.internal.ui.actions.BreakpointLocationVerifier

public class BreakpointLocationVerifier
extends java.lang.Object

Enter type comment.

Since:
Aug 29, 2002

Constructor Summary
BreakpointLocationVerifier()
           
 
Method Summary
 int getValidAddressBreakpointLocation(org.eclipse.jface.text.IDocument doc, int lineNumber)
           
 int getValidLineBreakpointLocation(org.eclipse.jface.text.IDocument doc, int lineNumber)
          Returns the line number closest to the given line number that represents a valid location for a breakpoint in the given document, or -1 if a valid location cannot be found.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BreakpointLocationVerifier

public BreakpointLocationVerifier()
Method Detail

getValidLineBreakpointLocation

public int getValidLineBreakpointLocation(org.eclipse.jface.text.IDocument doc,
                                          int lineNumber)
Returns the line number closest to the given line number that represents a valid location for a breakpoint in the given document, or -1 if a valid location cannot be found.


getValidAddressBreakpointLocation

public int getValidAddressBreakpointLocation(org.eclipse.jface.text.IDocument doc,
                                             int lineNumber)