Bug 164436 [Regression]Chart can't be converted to a template report item[02]
Description: Chart can't be converted to a template report item Build number: 2.2.0.v20061114-1013 Steps to reproduce: 1.New a chart 2.Right click the chart Expected result: "Create Template Report Item" is enabled Actual result: "Create Template Report Item" is grayed out Error log: N/A
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ModelUtil.java
|| IDesignElementModel.VIEW_ACTION_PROP.equals( propName ) )
				continue;
			ElementPropertyDefn propDefn = destination.getElement( )
					.getPropertyDefn( propName );
			if ( propDefn == null )
				continue;
			Object value = null;
			
			
			
			if ( propHandle.getElement( ) instanceof GroupElement
					&& ( IGroupElementModel.TOC_PROP.equals( propName )
							|| IStyleModel.PAGE_BREAK_AFTER_PROP
									.equals( propName )
							|| IStyleModel.PAGE_BREAK_BEFORE_PROP
									.equals( propName ) || IStyleModel.PAGE_BREAK_INSIDE_PROP
							.equals( propName ) ) )
				value = propHandle.getElement( ).getLocalProperty(
						propHandle.getModule( ), propDefn );
			else if ( onlyFactoryProperty )
				value = propHandle.getElement( ).getFactoryProperty(
						propHandle.getModule( ), propDefn );
			else if ( IModuleModel.IMAGES_PROP.equals( propName ) )
			{
				
				Iterator images = source.getPropertyHandle(
						IModuleModel.IMAGES_PROP ).iterator( );
				while ( images.hasNext( ) )
				{
					StructureHandle image = (StructureHandle) images.next( );