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
/**
	 * Gets the tool used to process multil-selection.
	 * 
	 * @param modelList
	 *            DE model list.
	 * @return The tool used to process multil-selection.
	 */
	public static GroupElementHandle getMultiSelectionHandle( List modelList )
	{
		ModuleHandle designHandle = SessionHandleAdapter.getInstance( )
				.getReportDesignHandle( );
		GroupElementHandle handle = GroupElementFactory.newGroupElement(
				designHandle, modelList );
		return handle;
	}
	/**
	 * Escapes \ and " following standard of Javascript
	 * 
	 * @param str
	 * @return new string after escape special character
	 */
	public static String escape( String str )
	{
		String[][] chars = {{"\\\\", "\"", "\'", 
		}, {"\\\\\\\\", "\\\\\"", "\\\\\'", 
		}};
		String result = str;
		for ( int i = 0; i < chars[0].length; i++ )
		{
			result = result.replaceAll( chars[0][i], chars[1][i] );