org.eclipse.cdt.debug.internal.core
Class CBreakpointNotifier

java.lang.Object
  extended by org.eclipse.cdt.debug.internal.core.CBreakpointNotifier
All Implemented Interfaces:
ICBreakpointListener

public class CBreakpointNotifier
extends java.lang.Object
implements ICBreakpointListener


Constructor Summary
CBreakpointNotifier()
           
 
Method Summary
 void breakpointChanged(org.eclipse.debug.core.model.IDebugTarget target, org.eclipse.debug.core.model.IBreakpoint breakpoint, java.util.Map attributes)
          Notification that the attributes of the given breakpoint have been changed from the specified target.
 void breakpointInstalled(org.eclipse.debug.core.model.IDebugTarget target, org.eclipse.debug.core.model.IBreakpoint breakpoint)
          Notification that the given breakpoint has been installed in the specified target.
 void breakpointsRemoved(org.eclipse.debug.core.model.IDebugTarget target, org.eclipse.debug.core.model.IBreakpoint[] breakpoints)
          Notification that the given breakpoints have been removed from the specified target.
static CBreakpointNotifier getInstance()
           
 boolean installingBreakpoint(org.eclipse.debug.core.model.IDebugTarget target, org.eclipse.debug.core.model.IBreakpoint breakpoint)
          Notification that the given breakpoint is about to be installed in the specified target.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CBreakpointNotifier

public CBreakpointNotifier()
Method Detail

getInstance

public static CBreakpointNotifier getInstance()

installingBreakpoint

public boolean installingBreakpoint(org.eclipse.debug.core.model.IDebugTarget target,
                                    org.eclipse.debug.core.model.IBreakpoint breakpoint)
Description copied from interface: ICBreakpointListener
Notification that the given breakpoint is about to be installed in the specified target. Returns whether the installation should proceed. If any registered listener returns false the breakpoint is not installed in the given target.

Specified by:
installingBreakpoint in interface ICBreakpointListener
Parameters:
target - debug target
breakpoint - breakpoint being installed
Returns:
whether the the breakpoint should be installed in the given target

breakpointInstalled

public void breakpointInstalled(org.eclipse.debug.core.model.IDebugTarget target,
                                org.eclipse.debug.core.model.IBreakpoint breakpoint)
Description copied from interface: ICBreakpointListener
Notification that the given breakpoint has been installed in the specified target.

Specified by:
breakpointInstalled in interface ICBreakpointListener
Parameters:
target - debug target
breakpoint - breakpoint being installed

breakpointChanged

public void breakpointChanged(org.eclipse.debug.core.model.IDebugTarget target,
                              org.eclipse.debug.core.model.IBreakpoint breakpoint,
                              java.util.Map attributes)
Description copied from interface: ICBreakpointListener
Notification that the attributes of the given breakpoint have been changed from the specified target.

Specified by:
breakpointChanged in interface ICBreakpointListener
Parameters:
target - debug target
breakpoint - breakpoint
attributes - a map of changed attributes

breakpointsRemoved

public void breakpointsRemoved(org.eclipse.debug.core.model.IDebugTarget target,
                               org.eclipse.debug.core.model.IBreakpoint[] breakpoints)
Description copied from interface: ICBreakpointListener
Notification that the given breakpoints have been removed from the specified target.

Specified by:
breakpointsRemoved in interface ICBreakpointListener
Parameters:
target - debug target
breakpoints - the breakpoints being removed