Bug 132103 No objects under Context in palette when scripting a data set
Steps to reproduce: 1.New a data set and select it 2.Swith to script view, choose "onFetch" and open palette Expected result: Objects:this, row and reportContext should be given under Context And other objects available for other methods(e.g. BeforeOpen) should be there as well. Actual result: Nothing under Context The relative bug is #126110
UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/DEUtil.java
public static RGB getRGBValue( int rgbValue )
	{
		if ( rgbValue == -1 )
		{
			return null;
		}
		return new RGB( ( rgbValue >> 16 ) & 0xff, ( rgbValue >> 8 ) & 0xff,
				rgbValue & 0xff );
	}
	/**
	 * Converts an RGB object value to an Integer value, the Integer format is
	 * 0xRRGGBB.
	 * 
	 * @param rgb
	 *            RGB value.
	 * @return Integer value.
	 */
	public static int getRGBInt( RGB rgb )
	{
		if ( rgb == null )
		{
			return -1;
		}
		return ( ( rgb.red & 0xff ) << 16 ) | ( ( rgb.green & 0xff ) << 8 )
				| ( rgb.blue & 0xff );
	}
	/**
	 * Gets the list of data sets which can be used for the specified element
	 * 
	 * @param handle