Bug 210507 Enhance Report engine to support multiple view
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
/**
	 * setup template report element attribute
	 * 
	 * @param elem
	 *            engine's template report element
	 * @param handle
	 *            DE's report element
	 */
	private void setupTemplateReportElement( ReportItemDesign element,
			TemplateReportItemHandle handle )
	{
		setupReportElement( element, handle );
		
		
		Iterator visibilityIter = handle.visibilityRulesIterator( );
		VisibilityDesign visibility = createVisibility( visibilityIter );
		element.setVisibility( visibility );
	}
	protected String createExpression( String expr )
	{
		if ( expr != null && !expr.trim( ).equals( "" ) ) 
		{
			return expr;
		}
		return null;
	}
	/**
	 * create a Action.
	 * 
	 * @param handle