01: /*******************************************************************************
02: * Copyright (c) 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.tests.views.properties.tabbed.model;
11:
12: import org.eclipse.swt.graphics.Image;
13: import org.eclipse.ui.ISharedImages;
14: import org.eclipse.ui.PlatformUI;
15:
16: public class Folder extends Element {
17:
18: public Folder(String name) {
19: super (name);
20: }
21:
22: public Image getImage() {
23: return PlatformUI.getWorkbench().getSharedImages().getImage(
24: ISharedImages.IMG_OBJ_FOLDER);
25: }
26:
27: }
|