Bug 202883 Should show corresponding icon for items in select resource dialog.
Should show corresponding icon for items in select resource dialog. The item icon should be same of library explorer.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/resourcelocator/BaseResourceEntity.java
.getSharedImages( )
				.getImage( ISharedImages.IMG_OBJ_FILE );
	}
	public String getName( )
	{
		return getURL( ).getFile( );
	}
	public void dispose( )
	{
		
	}
	public Object getAdapter( Class adapter )
	{
		if ( adapter == ResourceEntry.class )
			return this;
		return null;
	}
	public ResourceEntry[] getChildren( Filter filter )
	{
		ResourceEntry[] children = getChildren( );
		List childrenFiltered = new ArrayList( );
		for ( int i = 0; i < children.length; i++ )
		{
			if ( filter.accept( children[i] ) )
				childrenFiltered.add( children[i] );
		}
		return (ResourceEntry[]) childrenFiltered.toArray( new ResourceEntry[childrenFiltered.size( )] );
	}
}