Bug 210496 Add hasStyle property in reportItemModel extension point
When chart gets reportItem's properties by extending ReportItem, style properties are null. Hence, model needs to add hasStyle property in reportItemModel extension point
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/metadata/ElementDefn.java
getTriggerDefnSet( ).add( triggerDefn );
		if ( hasStyle )
		{
			validator = StyleReferenceValidator.getInstance( );
			triggerDefn = new SemanticTriggerDefn( StyleReferenceValidator.NAME );
			triggerDefn.setValidator( validator );
			getTriggerDefnSet( ).add( triggerDefn );
		}
		
		List propList = getProperties( );
		Iterator iter = propList.iterator( );
		while ( iter.hasNext( ) )
		{
			PropertyDefn propDefn = (PropertyDefn) iter.next( );
			mergeTriggerDefnSet( propDefn.getTriggerDefnSet( ) );
		}
		
		int slotCount = getSlotCount( );
		for ( int i = 0; i < slotCount; i++ )
		{
			SlotDefn slotDefn = (SlotDefn) getSlot( i );
			mergeTriggerDefnSet( slotDefn.getTriggerDefnSet( ) );
		}
	}
	/**
	 * Merges the trigger definition set with the given one. The duplicate
	 * trigger and the trigger whose target is not this element definition will
	 * not be merged.
	 * 
	 * @param toMerge