Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 2329f9eecd7205fcdc994b6731a13a95dcd91536 (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
/*******************************************************************************
 * Copyright (c) 2005, 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.internal.ui.viewers.provisional;

import org.eclipse.debug.internal.ui.viewers.model.provisional.IStatusMonitor;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.swt.graphics.FontData;
import org.eclipse.swt.graphics.RGB;

/**
 * A request monitor that collects attributes of a element's
 * label.
 * <p>
 * This interface is not intended to be implemented by clients.
 * </p>
 * @since 3.2
 */
public interface ILabelRequestMonitor extends IStatusMonitor {

	/**
	 * Sets the text of the label. Cannot be <code>null</code>.
	 *
	 * @param text
	 */
    void setLabels(String[] text);

    /**
     * Sets the font of the label.
     *
     * @param fontData
     */
    void setFontDatas(FontData[] fontData);

    /**
     * Sets the image of the label.
     *
     * @param image
     */
    void setImageDescriptors(ImageDescriptor[] image);

    /**
     * Sets the foreground color of the label.
     *
     * @param foreground
     */
    void setForegrounds(RGB[] foreground);

    /**
     * Sets the background color of the label.
     *
     * @param background
     */
    void setBackgrounds(RGB[] background);

}

Back to the top