Bug 150347 Support binary stream as preview image.
See 144843. We need model to save binary strame as report preview image. Currently, preview image is an external image. Maybe need a type to distinguish preview image type.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/RenameInNameSpaceRecord.java
* @param module
	 *            the module containing the changeing element
	 * @param element
	 *            the element for renaming
	 * @param oldName
	 *            old name
	 * @param newName
	 *            new name
	 */
	RenameInNameSpaceRecord( Module module, DesignElement element,
			String oldName, String newName )
	{
		this.module = module;
		this.element = element;
		this.oldName = oldName;
		this.newName = newName;
		this.nameSpaceID = ( (ElementDefn) element.getDefn( ) )
				.getNameSpaceID( );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.model.activity.SimpleRecord#perform(boolean)
	 */
	
	protected void perform( boolean undo )
	{
		NameSpace ns = module.getNameSpace( nameSpaceID );
		if ( undo )
		{