Bug 122045 Template should show blank preview when there is no image
Create a template but do not associate an image with it. Place the template in the templates directory. Now, create a new report design. On the second page of the New Report dialog, select the template that has no image. Actual result: The preview appears as a white rectangle with a small red square in the top left. Expected result: The preview appears as a gray background in the preview image area.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/wizards/WizardTemplateChoicePage.java
/*************************************************************************************
 * Copyright (c) 2004 Actuate Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 * Actuate Corporation - Initial implementation.
 ************************************************************************************/
package org.eclipse.birt.report.designer.internal.ui.wizards;
import java.io.File;
import java.io.FilenameFilter;
import java.util.ArrayList;