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
{
	private Listener currentListener;
	private final static int GENERATE_TYPE = 0;
	private final static int BROWSER_TYPE = 1;
	private final static int IMPORT_TYPE = 2;
	private static String DEFAULT_TEXT = Messages.getString( "ThumbnailBuilder.Text.Title" ); 
	private static String BUTTON_TEXT_GENERATE = Messages.getString( "ThumbnailBuilder.Button.Text.Generate" ); 
	private static String BUTTON_TEXT_REMOVE = Messages.getString( "ThumbnailBuilder.Button.Text.Remove" ); 
	private static String BUTTON_TEXT_IMPORT = Messages.getString( "ThumbnailBuilder.Button.Text.Import" ); 
	private ImageCanvas previewCanvas;
	private Button radioBtnGenerate, radioBtnBrowse, radioBtnImport;
	private Button btnImport, btnRemove;
	private String imageName;
	private Image image;
	private boolean hasThumbnail;
	private static final String IMAGE_FILTER[] = new String[]{
		"*.gif;*.jpg;*.png;*.ico;*.bmp" 
	};
	private static final String[] IMAGE_TYPES = new String[]{
			".bmp", ".jpg", ".gif", ".png", ".ico" 
	};
	private ReportDesignHandle handle;
	/**
	 * @param title
	 */
	public ThumbnailBuilder( )
	{