/* (non-Javadoc)
* @see org.eclipse.jface.viewers.LabelProvider#getImage(java.lang.Object)
*/
public Image getImage(Object element) {
VerilogPlugin plugin = VerilogPlugin.getPlugin();
Image results = null;
// if the element is an outline element
if (element instanceof OutlineElement) {
OutlineElement outlineElement = (OutlineElement) element;
String imageName = getImageNameForType(outlineElement);
results=plugin.getImage(imageName);
}
return results;
}