Bug 151541 Can't find the embedded image name in Edit Image Item dialog that from library
Details: Can't find the embedded image name in Edit Image Item dialog that from library Step: 1.New a library and insert an embedded image named img1. 2.New a report design and use the library. 3.Drop the img1 from library explorer into layout, and the Edit Image Item dialog pop up. Actual result: In Embedden image selection, nothing image name is list in embedded image list area. And the button of OK is gray. Exception reuslt: Can it show the embedded image from library in list area? I can click cancel to submit the image is insert in report design, but click ok will be more friendly.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ImageBuilder.java
{
				previewCanvas.loadImage( image );
				return;
			}
			catch ( Exception e )
			{
				ExceptionHandler.handle( e,
						DLG_TITLE_LOADING_FAIL,
						DLG_ERROR_MSG_LOADING_FAIL );
			}
		}
		clearPreview( );
	}
	private void clearPreview( )
	{
		previewCanvas.clear( );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.dialogs.Dialog#okPressed()
	 */
	protected void okPressed( )
	{
		try
		{
			switch ( selectedType )
			{
				case FILE_TYPE :
					inputImage.setFile( uriEditor.getText( ).trim( ) );