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
inputArea = new Composite( parent, SWT.NONE );
		GridData gd = new GridData( GridData.FILL_BOTH
				| GridData.HORIZONTAL_ALIGN_BEGINNING );
		gd.widthHint = 300;
		gd.heightHint = 300;
		inputArea.setLayoutData( gd );
		inputArea.setLayout( new GridLayout( ) );
	}
	private void createPreviewArea( Composite composite )
	{
		Composite previewArea = new Composite( composite, SWT.BORDER );
		GridData gd = new GridData( GridData.FILL_BOTH );
		gd.widthHint = 250;
		gd.heightHint = 300;
		previewArea.setLayoutData( gd );
		previewArea.setLayout( new FillLayout( ) );
		previewCanvas = new ImageCanvas( previewArea );
	}
	private void switchTo( int type )
	{
		if ( type == selectedType )
		{
			return;
		}
		selectedType = type;
		Control[] controls = inputArea.getChildren( );
		for ( int i = 0; i < controls.length; i++ )
		{
			controls[i].dispose( );
		}