Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: b22bb2fb4776e19b0ac4bcb01e34c258dbc673ea (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                                                


                                                                       
                                                           


                                         


















                                                                                             
 








                                                                              
 








                                                                               

 
 
/*******************************************************************************
 * 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.ui;

import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.debug.core.model.IBreakpoint;

/**
 * Optional enhancements to the {@link IBreakpointOrganizerDelegate} interface.
 * Supports operations on more than one breakpoint at a time.
 * <p>
 * Clients contributing a breakpoint organizer may optionally implement this
 * interface when implementing {@link IBreakpointOrganizerDelegate}.
 * </p>
 * @since 3.3
 */
public interface IBreakpointOrganizerDelegateExtension extends IBreakpointOrganizerDelegate {

	/**
	 * Adds the specified breakpoints to the given category. Only called
	 * if <code>canAdd(...)</code> returns <code>true</code> for the given
	 * breakpoints and category.
	 *
	 * @param breakpoints breakpoints add
	 * @param category the breakpoints' new category
	 */
	void addBreakpoints(IBreakpoint[] breakpoints, IAdaptable category);

	/**
	 * Removes the specified breakpoints from the given category. Only
	 * called if <code>canRemove(...)</code> returns <code>true</code> for
	 * the given breakpoints and category.
	 *
	 * @param breakpoints breakpoints to remove
	 * @param category the category the breakpoint is remove from
	 */
	void removeBreakpoints(IBreakpoint[] breakpoints, IAdaptable category);


}

Back to the top