blob: f411b73c0e907ad874c0bfcb1f91b2707ab91a0e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
/*******************************************************************************
* Copyright (c) 2008, 2009 Wind River Systems 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:
* Wind River Systems - initial API and implementation
* Patrick Chuong (Texas Instruments) - Improve usability of the breakpoint view (Bug 238956)
*******************************************************************************/
package org.eclipse.debug.internal.ui.breakpoints.provisional;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.debug.core.model.IBreakpoint;
/**
* Interface representing a breakpoint category container elements in
* Breakpoints view. Clients which provide custom content in the
* Breakpoints view may implement this interface to represent container
* elements. This will allow the breakpoints view to properly handle
* drag-and-drop and copy-paste operations.
*
* @since 3.6
*/
public interface IBreakpointContainer {
/**
* Returns the breakpoint organizer that this container uses.
*/
public IBreakpointOrganizer getOrganizer();
/**
* Returns the breakpoint category that this container is based on.
* @return
*/
public IAdaptable getCategory();
/**
* Returns whether this breakpoint container contains the given breakpoint.
*
* @param breakpoint Breakpoint to check
* @return Returns <code>true</code> if this container contains the
* given breakpoint.
*/
public boolean contains(IBreakpoint breakpoint);
/**
* Returns the array of breakpoints in this container.
*/
public IBreakpoint[] getBreakpoints();
}
|