1 /*******************************************************************************
2  * Copyright (c) 2008, 2009 Oakland Software Incorporated and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     Oakland Software Incorporated - initial API and implementation
13  ******************************************************************************/
14 
15 package org.eclipse.ui.tests.navigator.extension;
16 
17 import org.eclipse.swt.SWT;
18 import org.eclipse.swt.graphics.Font;
19 import org.eclipse.swt.widgets.Display;
20 import org.eclipse.ui.ISharedImages;
21 import org.eclipse.ui.PlatformUI;
22 
23 /**
24  * @since 3.3
25  *
26  */
27 public class TestLabelProviderStyledGreen extends TestStyledLabelProvider {
28 	public static TestLabelProviderStyledGreen instance;
29 
30 	@Override
initSubclass()31 	protected void initSubclass() {
32 		backgroundColor = Display.getCurrent().getSystemColor(
33 				SWT.COLOR_GREEN);
34 		backgroundColorName = "Green";
35 		font = new Font(Display.getDefault(), boldFontData);
36 		image = PlatformUI.getWorkbench().getSharedImages().getImage(
37 				ISharedImages.IMG_ELCL_COLLAPSEALL);
38 		instance = this;
39 	}
40 
41 }
42