Bug 122203 No refresh when creating a template report item in masterpage header/footer
Description: No refresh when creating a template report item in masterpage header/footer Steps to reproduce: 1.Switch to masterpage, put a text in the masterpage header 2.Convert the elements in masterpage header/footer to template report item Expected result: Both the elements in masterpage header/footer are converted to template report item Actual result: Both the elements in masterpage header/footer are still report items till reopen the report
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/editparts/AreaEditPart.java
installEditPolicy( EditPolicy.LAYOUT_ROLE,
				new ReportFlowLayoutEditPolicy( ) );
		installEditPolicy( EditPolicy.CONTAINER_ROLE,
				new ReportContainerEditPolicy( ) );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.gef.editparts.AbstractEditPart#getModelChildren()
	 */
	protected List getModelChildren( )
	{
		List list = new ArrayList( );
		insertIteratorToList( ( (ReportElementModel) getModel( ) )
				.getSlotHandle( ).iterator( ), list );
		return list;
	}
	
	protected void insertIteratorToList( Iterator iterator, List list )
	{
		for ( Iterator it = iterator; it.hasNext( ); )
		{
			list.add( ( it.next( ) ) );
		}
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.designer.internal.ui.editors.schematic.editparts.ReportElementEditPart#elementChanged(org.eclipse.birt.model.core.DesignElement,
	 *      org.eclipse.birt.model.activity.NotificationEvent)