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.jface.viewers;
11:
12: /**
13: * An extension to {@link ILabelProvider} that is given the
14: * path of the element being decorated, when it is available.
15: * @since 3.2
16: */
17: public interface ITreePathLabelProvider extends IBaseLabelProvider {
18:
19: /**
20: * Updates the label for the given element.
21: *
22: * @param label the label to update
23: * @param elementPath the path of the element being decorated
24: */
25: public void updateLabel(ViewerLabel label, TreePath elementPath);
26: }
|