blob: c63ca0b07aa6d2bd3c2adbc694a9b1f92f329e97 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008, 2009 Oakland Software Incorporated 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:
* Oakland Software Incorporated - initial API and implementation
******************************************************************************/
package org.eclipse.ui.tests.navigator.extension;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.ISharedImages;
import org.eclipse.ui.PlatformUI;
/**
* @since 3.3
*
*/
public class TestLabelProviderCyan extends TestStyledLabelProvider {
public static TestLabelProviderCyan instance;
@Override
protected void initSubclass() {
backgroundColor = Display.getCurrent().getSystemColor(
SWT.COLOR_CYAN);
backgroundColorName = "Cyan";
font = new Font(Display.getDefault(), boldFontData);
image = PlatformUI.getWorkbench().getSharedImages().getImage(
ISharedImages.IMG_DEF_VIEW);
instance = this;
}
}