/*******************************************************************************
* Copyright (c) 2009 Conselleria de Infraestructuras y Transporte, Generalitat
* de la Comunitat Valenciana . 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: Francisco Javier Cano Muñoz (Prodevelop) – Initial implementation
*
******************************************************************************/
package org.eclipse.papyrus.uml.diagram.common.providers;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.swt.graphics.Image;
/**
* A provider of text and images for {@link IElementTypes}.
*
* @author <a href="mailto:fjcano@prodevelop.es">Francisco Javier Cano Muñoz</a>
* @NOT-generated
*/
public interface IModelTypesProvider {
/**
* Gets the text for the given IElementType.
*
* @param hint
* hint must adapt to IElementType.
* @return
*/
// @unused
String getTextHelper(IAdaptable hint);
/**
* Gets the image for the given IElementType.
*
* @param hint
* hint must adapt to IElementType
* @return
*/
// @unused
Image getImageHelper(IAdaptable hint);
}