Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 0493734bed66577f42e7cfcc7c601749bbc4c500 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/*******************************************************************************
 * Copyright (c) 2000, 2009 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.internal.ui.breakpoints.provisional;

import org.eclipse.debug.ui.IBreakpointOrganizerDelegate;
import org.eclipse.jface.resource.ImageDescriptor;

/**
 * A breakpoint organizer is represents a breakpoint organizer delegate in
 * the breakpoint view.  Clients can retrieve the current active breakpoint
 * organizers from the breakpoint view's presentation context using the
 * {@link IBreakpointUIConstants#PROP_BREAKPOINTS_ORGANIZERS} property.
 * <p>
 * This interface is not intended to be implemented. Clients contributing a breakpoint
 * organizer are intended to implement <code>IBreakpointOrganizerDelegate</code>.
 * </p>
 * @noimplement This interface is not intended to be implemented by clients.
 * @since 3.6 (internal interface since 3.1)
 *
 * @see IBreakpointUIConstants#PROP_BREAKPOINTS_ORGANIZERS
 * @see org.eclipse.debug.internal.ui.viewers.model.provisional.IPresentationContext
 */
public interface IBreakpointOrganizer extends IBreakpointOrganizerDelegate {

    /**
     * Returns a label for this breakpoint organizer.
     *
     * @return a label for this breakpoint organizer
     */
    String getLabel();

    /**
     * Returns an image descriptor for this breakpoint organizer or <code>null</code>.
     *
     * @return an image descriptor for this breakpoint organizer or <code>null</code>
     */
    ImageDescriptor getImageDescriptor();

    /**
     * Returns a unique identifier for this breakpoint organizer.
     *
     * @return a unique identifier for this breakpoint organizer
     */
    String getIdentifier();

    /**
     * Returns the label for breakpoints that do not fall into a category
     * for this organizer.
     *
     * @return label for breakpoints that do not fall into a category
     * for this organizer
     */
    String getOthersLabel();

}

Back to the top