Bug 176450 Support link to CSS Feature(Model Part)
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ModelUtil.java
* 
	 * @param element
	 *            the design element
	 * @param propDefn
	 *            the property definition
	 * 
	 * @return the event target.
	 */
	public static EventTarget getEventTarget( DesignElement element,
			PropertyDefn propDefn )
	{
		DesignElement tmpElement = element;
		PropertyDefn tmpPropDefn = propDefn;
		while ( tmpElement != null && tmpPropDefn != null )
		{
			if ( tmpPropDefn.getTypeCode( ) == IPropertyType.CONTENT_ELEMENT_TYPE )
			{
				return new EventTarget( tmpElement, tmpPropDefn );
			}
			ContainerContext context = tmpElement.getContainerInfo( );
			if ( context == null )
				return null;
			String propName = context.getPropertyName( );
			tmpElement = tmpElement.getContainer( );
			tmpPropDefn = tmpElement.getPropertyDefn( propName );
		}
		return null;
	}
}