Bug 148613 Parameter extends from Library cannot extend the localization prompt text
Description: Parameter extends from Library cannot extend the localization prompt text Steps to reproduce: 1. New a library, add a report parameter 2. Select a properties file for the library 3. Select the parameter, set localization key in Property Editor 4. Publish the libary 5. New a report, drag parameter from library to report 6. Preview Expected result: In poped up parameter dialog, prompt text is localized Actual result: In poped up parameter dialog, prompt text is not localized
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/DesignElementHandle.java
IElementDefn defn = MetaDataDictionary.getInstance( ).getElement( type );
		if ( defn == null )
			defn = MetaDataDictionary.getInstance( ).getExtension( type );
		if ( defn == null )
			return false;
		boolean flag = getElement( ).canContain( getModule( ), slotId, defn );
		if ( !flag )
			return false;
		return !getModule( ).isReadOnly( );
	}
	/**
	 * Determines if the given slot can contain the <code>content</code>.
	 * 
	 * @param slotId
	 *            the slot id
	 * @param content
	 *            the design element handle to check
	 * 
	 * @return <code>true</code> if the slot with the given
	 *         <code>slotId</code> can contain the <code>content</code>,
	 *         otherwise <code>false</code>.
	 * 
	 * @see #canContain(int, String)
	 */
	public boolean canContain( int slotId, DesignElementHandle content )
	{
		if ( content == null )
			return false;
		boolean flag = getElement( ).canContain( getModule( ), slotId,
				content.getElement( ) );