Bug 122869 Drag a parameter from data explorer view into a table in library, a new parameter is created automatically.
Description:Drag a parameter from data explorer view into a table in library, a new parameter is created automatically. Steps to reproduce: 1. Add a cascading parameter and a table in a library file. 2. Drag a parameter from data explorer view into a table cell in layout editor. 3. Find that a new parameter was added in data explorer view automatically.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/ExpressionTreeSupport.java
}
	private List getMethodArgumentsList( String className, IMethodInfo info )
	{
		List list = new ArrayList( );
		boolean isClassNameAdded = !isGlobal( className ) && isStatic( info );
		String methodStart = info.isConstructor( ) ? "new " : ""; 
		for ( Iterator it = info.argumentListIterator( ); it.hasNext( ); )
		{
			
			
			String[] array = new String[2];
			StringBuffer displayText = new StringBuffer( methodStart );
			displayText.append( info.getDisplayName( ) );
			displayText.append( "(" );
			StringBuffer expression = new StringBuffer( methodStart );
			if ( isClassNameAdded )
			{
				expression.append( className + "." );
			}
			expression.append( info.getName( ) );
			expression.append( "(" );	
			IArgumentInfoList arguments = (IArgumentInfoList) it.next( );
			boolean firstTime = true;
			for ( Iterator iterator = arguments.argumentsIterator( ); iterator.hasNext( ); )
			{
				IArgumentInfo argument = (IArgumentInfo) iterator.next( );
				if ( !firstTime )
				{
					displayText.append( ", " );
				}