Image image = null; if ( model instanceof ExtendedItemHandle ) { image = getImage( getIconSymbolName( ( (ExtendedItemHandle) model ).getExtensionName( ), IExtensionConstants.ATTRIBUTE_KEY_OUTLINE_ICON ) ); if ( image == null ) { image = getImage( IReportGraphicConstants.ICON_ELEMENT_EXTENDED_ITEM ); } } else if ( model instanceof DesignElementHandle ) { if ( isLinkImg( (DesignElementHandle) model ) == true ) { image = getImage( ( (DesignElementHandle) model ).getElement( ) .getDefn( ) .getName( ) + "_" + IReportGraphicConstants.LINK ); } else { image = getImage( ( (DesignElementHandle) model ).getElement( ) .getDefn( ) .getName( ) ); } }  return image;
return getImageRegistry( ).get( symbolicName );
	public static Image getImage( Object model )	{		Image image = null;		if ( model instanceof ExtendedItemHandle )		{			image = getImage( getIconSymbolName( ( (ExtendedItemHandle) model ).getExtensionName( ),					IExtensionConstants.ATTRIBUTE_KEY_OUTLINE_ICON ) );			if ( image == null )			{				image = getImage( IReportGraphicConstants.ICON_ELEMENT_EXTENDED_ITEM );			}		}		else if ( model instanceof DesignElementHandle )		{// the icon name for elements is just the same as the element name			if ( isLinkImg( (DesignElementHandle) model ) == true )			{				image = getImage( ( (DesignElementHandle) model ).getElement( )						.getDefn( )						.getName( )						+ "_"						+ IReportGraphicConstants.LINK );			}			else			{				image = getImage( ( (DesignElementHandle) model ).getElement( )						.getDefn( )						.getName( ) );			}		}		return image;	}