blob: 0aaba8c6b149c678d02f8da17959114de65da769 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2006, 2008 IBM Corporation 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:
* IBM Corporation - initial API and implementation
* Wind River - Pawel Piech - Need a clarification on usage of IElement*Provider interfaces with update arrays (Bug 213609)
*******************************************************************************/
package org.eclipse.debug.internal.ui.viewers.model.provisional;
/**
* Provides context sensitive labels. Can be registered as an adapter for an element,
* or implemented directly.
*
* @since 3.3
*/
public interface IElementLabelProvider {
/**
* Updates the specified labels.
*
* @param updates Each update specifies the element and context for which a label is requested and
* stores label attributes. The update array is guaranteed to have at least one element, and for
* all updates to have the same presentation context.
*/
public void update(ILabelUpdate[] updates);
}