Copyright (c) 2000, 2006 IBM Corporation and others. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/ SPDX-License-Identifier: EPL-2.0 Contributors: IBM Corporation - initial API and implementation
/******************************************************************************* * Copyright (c) 2000, 2006 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/
package org.eclipse.debug.core; import org.eclipse.core.resources.IMarkerDelta; import org.eclipse.debug.core.model.IBreakpoint;
A breakpoint listener is notified of breakpoint additions, removals, and changes. Listeners register and unregister with the breakpoint manager.

Clients may implement this interface.

See Also:
  • IBreakpointManager
/** * A breakpoint listener is notified of breakpoint additions, * removals, and changes. Listeners register and unregister with the * breakpoint manager. * <p> * Clients may implement this interface. * </p> * @see IBreakpointManager */
public interface IBreakpointListener {
Notifies this listener that the given breakpoint has been added to the breakpoint manager.
Params:
  • breakpoint – the added breakpoint
Since:2.0
/** * Notifies this listener that the given breakpoint has been added * to the breakpoint manager. * * @param breakpoint the added breakpoint * @since 2.0 */
void breakpointAdded(IBreakpoint breakpoint);
Notifies this listener that the given breakpoint has been removed from the breakpoint manager. If the given breakpoint has been removed because it has been deleted, the associated marker delta is also provided.
Params:
  • breakpoint – the removed breakpoint
  • delta – the associated marker delta, or null when the breakpoint is removed from the breakpoint manager without being deleted
See Also:
Since:2.0
/** * Notifies this listener that the given breakpoint has been removed * from the breakpoint manager. * If the given breakpoint has been removed because it has been deleted, * the associated marker delta is also provided. * * @param breakpoint the removed breakpoint * @param delta the associated marker delta, or <code>null</code> when * the breakpoint is removed from the breakpoint manager without * being deleted * * @see org.eclipse.core.resources.IMarkerDelta * @since 2.0 */
void breakpointRemoved(IBreakpoint breakpoint, IMarkerDelta delta);
Notifies this listener that an attribute of the given breakpoint has changed, as described by the delta.
Params:
  • breakpoint – the changed breakpoint
  • delta – the marker delta that describes the changes with the marker associated with the given breakpoint, or null when the breakpoint change does not generate a marker delta
See Also:
Since:2.0
/** * Notifies this listener that an attribute of the given breakpoint has * changed, as described by the delta. * * @param breakpoint the changed breakpoint * @param delta the marker delta that describes the changes * with the marker associated with the given breakpoint, or * <code>null</code> when the breakpoint change does not generate * a marker delta * * @see org.eclipse.core.resources.IMarkerDelta * @since 2.0 */
void breakpointChanged(IBreakpoint breakpoint, IMarkerDelta delta); }