Bug 149783 Display text for extend elelment in master page is not found
Steps to reproduce: 1.New a library, add a properties file for the library, add pair"k1=actuate" to the properties file 2.Add a label "aaa" in master page header, set "k1" as the text key 3.Publish the library 4.New a report, extend lib.masterpage 5.Open extended master page in report Expected result: label shows display text "actuate" Actual result: label shows text "aaa"
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ModelUtil.java
while ( iter.hasNext( ) )
			{
				DesignElement e = (DesignElement) iter.next( );
				IElementDefn targetDefn = e.getDefn( );
				if ( targetDefn.isKindOf( defn ) )
					return true;
				if ( containElement( e, defn ) )
					return true;
			}
		}
		return false;
	}
	/**
	 * Determines whether there is a child in the given element, which is kind
	 * of the given element definition.
	 * 
	 * @param element
	 *            the element to find
	 * @param elementName
	 *            the element definition type
	 * @return true if there is a child in the element whose type is the given
	 *         definition, otherwise false
	 */
	public static boolean containElement( DesignElement element,
			String elementName )
	{
		IElementDefn defn = MetaDataDictionary.getInstance( ).getElement(
				elementName );
		return containElement( element, defn );
	}