All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.emf.edit.provider.IItemLabelProvider Maven / Gradle / Ivy

/**
 * Copyright (c) 2002-2004 IBM Corporation and others.
 * All rights reserved.   This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v2.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v20.html
 * 
 * Contributors: 
 *   IBM - Initial API and implementation
 */
package org.eclipse.emf.edit.provider;



/**
 * This is the interface implemented to provide a label text and even a label icon for an item;
 * it receives delegated calls from ILabelProvider.
 */
public interface IItemLabelProvider
{
  /**
   * This does the same thing as ILabelProvider.getlText, 
   * it fetches the label text specific to this object instance.
   */
  public String getText(Object object);

  /**
   * This does the same thing as ILabelProvider.getImage, 
   * it fetches the label image specific to this object instance.
   */
  public Object getImage(Object object);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy