com.pvx.ooadide.launchers.debug.breakpoints
Class PVXRunToLineBreakpoint

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.debug.core.model.Breakpoint
          extended by org.eclipse.debug.core.model.LineBreakpoint
              extended by com.pvx.ooadide.launchers.debug.breakpoints.PVXLineBreakpoint
                  extended by com.pvx.ooadide.launchers.debug.breakpoints.PVXRunToLineBreakpoint
All Implemented Interfaces:
IPVXEventListener, org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IBreakpoint, org.eclipse.debug.core.model.ILineBreakpoint

public class PVXRunToLineBreakpoint
extends PVXLineBreakpoint

A run to line breakpoint.


Field Summary
 
Fields inherited from interface org.eclipse.debug.core.model.IBreakpoint
BREAKPOINT_MARKER, ENABLED, ID, LINE_BREAKPOINT_MARKER, PERSISTED, REGISTERED
 
Constructor Summary
PVXRunToLineBreakpoint(org.eclipse.core.resources.IFile resource, int lineNumber)
          Constructs a run-to-line breakpoint in the given PVX program.
 
Method Summary
 org.eclipse.core.resources.IFile getSourceFile()
          Returns the source file this breakpoint is contained in.
 boolean isRunToLineBreakpoint()
          Returns whether this breakpoint is a run-to-line breakpoint
 
Methods inherited from class com.pvx.ooadide.launchers.debug.breakpoints.PVXLineBreakpoint
getModelIdentifier, handleEvent, install, remove
 
Methods inherited from class org.eclipse.debug.core.model.LineBreakpoint
getCharEnd, getCharStart, getLineNumber
 
Methods inherited from class org.eclipse.debug.core.model.Breakpoint
delete, equals, getMarker, hashCode, isEnabled, isPersisted, isRegistered, setEnabled, setMarker, setPersisted, setRegistered
 
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.debug.core.model.IBreakpoint
delete, getMarker, isEnabled, isPersisted, isRegistered, setEnabled, setMarker, setPersisted, setRegistered
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

PVXRunToLineBreakpoint

public PVXRunToLineBreakpoint(org.eclipse.core.resources.IFile resource,
                              int lineNumber)
                       throws org.eclipse.debug.core.DebugException
Constructs a run-to-line breakpoint in the given PVX program.

Parameters:
resource - PVX source file
lineNumber - line to run to
Throws:
org.eclipse.debug.core.DebugException - if unable to create the breakpoint
Method Detail

isRunToLineBreakpoint

public boolean isRunToLineBreakpoint()
Returns whether this breakpoint is a run-to-line breakpoint

Overrides:
isRunToLineBreakpoint in class PVXLineBreakpoint
Returns:
whether this breakpoint is a run-to-line breakpoint

getSourceFile

public org.eclipse.core.resources.IFile getSourceFile()
Returns the source file this breakpoint is contained in.

Returns:
the source file this breakpoint is contained in