KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > debug > ui > IBreakpointOrganizerDelegateExtension


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.debug.ui;
12
13 import org.eclipse.core.runtime.IAdaptable;
14 import org.eclipse.debug.core.model.IBreakpoint;
15
16 /**
17  * Optional enhancements to the {@link IBreakpointOrganizerDelegate} interface.
18  * Supports operations on more than one breakpoint at a time.
19  * <p>
20  * Clients contributing a breakpoint organizer may optionally implement this
21  * interface when implementing {@link IBreakpointOrganizerDelegate}.
22  * </p>
23  * @since 3.3
24  */

25 public interface IBreakpointOrganizerDelegateExtension extends IBreakpointOrganizerDelegate {
26     
27     /**
28      * Adds the specified breakpoints to the given category. Only called
29      * if <code>canAdd(...)</code> returns <code>true</code> for the given
30      * breakpoints and category.
31      *
32      * @param breakpoints breakpoints add
33      * @param category the breakpoints' new category
34      */

35     public void addBreakpoints(IBreakpoint[] breakpoints, IAdaptable category);
36     
37     /**
38      * Removes the specified breakpoints from the given category. Only
39      * called if <code>canRemove(...)</code> returns <code>true</code> for
40      * the given breakpoints and category.
41      *
42      * @param breakpoints breakpoints to remove
43      * @param category the category the breakpoint is remove from
44      */

45     public void removeBreakpoints(IBreakpoint[] breakpoints, IAdaptable category);
46         
47     
48 }
49
Popular Tags