Bug 214714 [Regression] Can't preview SVG image in Report Template dialog when new a report design [02]
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ThumbnailBuilder.java
Control control = getDialogArea( );
		if ( control instanceof Composite )
		{
			( (Composite) control ).layout( );
		}
		getShell( ).pack( );
	}
	private Listener btnGenerateListener = new Listener( ) {
		public void handleEvent( Event event )
		{
			removeImage( );
			ReportGraphicsViewPainter painter = new ReportGraphicsViewPainter( getModuleHandle( ) );
			previewCanvas.layout( );
			Rectangle rect = previewCanvas.getBounds( );
			image = new Image( null, rect.width, rect.height );
			painter.paint( image, previewCanvas.getDisplay( ), rect );
			painter.dispose( );
			previewCanvas.loadImage( image );
			btnRemove.setEnabled( true );
			hasThumbnail = true;
			imageName = Messages.getString( "ThumbnailBuilder.Image.DefaultName" ); 
		}
	};
	private Listener btnRemoveListener = new Listener( ) {
		public void handleEvent( Event event )
		{
			removeImage( );
			hasThumbnail = false;
			imageName = ""; 
		}