01: /*******************************************************************************
02: * Copyright (c) 2000, 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: * The <code>ILightweightLabelDecorator</code> is a decorator that decorates
14: * using a prefix, suffix and overlay image rather than doing all
15: * of the image and text management itself like an <code>ILabelDecorator</code>.
16: */
17: public interface ILightweightLabelDecorator extends IBaseLabelProvider {
18:
19: /**
20: * Calculates decorations based on element.
21: *
22: * @param element the element to decorate
23: * @param decoration the decoration to set
24: */
25: public void decorate(Object element, IDecoration decoration);
26:
27: }
|