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
{
			methods = handle.getDefn( ).getLocalMethods( );
		}
		Map argMap = new LinkedHashMap( methods.size( ) * 2 );
		for ( Iterator iter = methods.iterator( ); iter.hasNext( ); )
		{
			IMethodInfo method = ( (ElementPropertyDefn) iter.next( ) ).getMethodInfo( );
			if ( method.getName( ).equals( methodName ) )
			{
				Iterator argumentListIterator = method.argumentListIterator( );
				if ( argumentListIterator.hasNext( ) )
				{
					IArgumentInfoList argumentInfoList = (IArgumentInfoList) argumentListIterator.next( );
					int i = 0;
					for ( Iterator iterator = argumentInfoList.argumentsIterator( ); iterator.hasNext( ); i++ )
					{
						IArgumentInfo arg = (IArgumentInfo) iterator.next( );
						argMap.put( arg.getName( ), arg.getType( ) );
					}
				}
			}
		}
		return argMap;
	}
	public static List getDataSources( )
	{
		return SessionHandleAdapter.getInstance( ).getReportDesignHandle( )
				.getVisibleDataSources( );
	}
}