comparison org.eclipse.jface/src/org/eclipse/jface/viewers/ITreePathLabelProvider.d @ 12:bc29606a740c

Added dwt-addons in original directory structure of eclipse.org
author Frank Benoit <benoit@tionex.de>
date Sat, 14 Mar 2009 18:23:29 +0100
parents
children
comparison
equal deleted inserted replaced
11:43904fec5dca 12:bc29606a740c
1 /*******************************************************************************
2 * Copyright (c) 2006 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 * IBM Corporation - initial API and implementation
10 * Port to the D programming language:
11 * Frank Benoit <benoit@tionex.de>
12 ******************************************************************************/
13
14 module org.eclipse.jface.viewers.ITreePathLabelProvider;
15
16 import java.lang.all;
17
18 import org.eclipse.jface.viewers.IBaseLabelProvider;
19 import org.eclipse.jface.viewers.ViewerLabel;
20 import org.eclipse.jface.viewers.TreePath;
21
22 /**
23 * An extension to {@link ILabelProvider} that is given the
24 * path of the element being decorated, when it is available.
25 * @since 3.2
26 */
27 public interface ITreePathLabelProvider : IBaseLabelProvider {
28
29 /**
30 * Updates the label for the given element.
31 *
32 * @param label the label to update
33 * @param elementPath the path of the element being decorated
34 */
35 public void updateLabel(ViewerLabel label, TreePath elementPath);
36 }