diff options
author | Darin Wright | 2006-11-15 15:37:27 +0000 |
---|---|---|
committer | Darin Wright | 2006-11-15 15:37:27 +0000 |
commit | 38275384c4fbf9af76e9a33633c3846304454411 (patch) | |
tree | e73aad77b91e0fbfad38c4aab0223f1f29d058bb /org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IBreakpointOrganizerDelegateExtension.java | |
parent | fbcd81b8b589518dd63abfd60902c9c2c354903e (diff) | |
download | eclipse.platform.debug-38275384c4fbf9af76e9a33633c3846304454411.tar.gz eclipse.platform.debug-38275384c4fbf9af76e9a33633c3846304454411.tar.xz eclipse.platform.debug-38275384c4fbf9af76e9a33633c3846304454411.zip |
Bug 104369 [breakpoints] drag & drop of many breakpoints is slow
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IBreakpointOrganizerDelegateExtension.java')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IBreakpointOrganizerDelegateExtension.java | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IBreakpointOrganizerDelegateExtension.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IBreakpointOrganizerDelegateExtension.java new file mode 100644 index 000000000..9bff24a27 --- /dev/null +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IBreakpointOrganizerDelegateExtension.java @@ -0,0 +1,48 @@ +/******************************************************************************* + * Copyright (c) 2000, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * 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 + */ + public 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 + */ + public void removeBreakpoints(IBreakpoint[] breakpoints, IAdaptable category); + + +} |