Bug 154832 Wrong node is added to Report Parameters for cascading parameter in Palette view
Description: Wrong node is added to Report Parameters for cascading parameter in Palette view. Steps to reproduce: 1. New a report, add a cascading parameter 2. Switch to Script tab in Editor view, and then switch to Palette view 3. Expand Report Parameters node Expected result: A cascading parameter group is added to Report Parameters node Actual result: Expect a cascading parameter group is added to Report Parameters node, the children of the cascading parameter group are added as scalar parameters
UI/org.eclipse.birt.report.designer.ui.editors.schematic/src/org/eclipse/birt/report/designer/internal/ui/editors/script/JSEditor.java
if ( sel.length == 1 )
					{
						if ( sel[0] instanceof IPropertyDefn )
						{
							
							
							
							DesignElementHandle desHandle = (DesignElementHandle) cmbExprListViewer.getInput( );
							saveModelIfNeeds( );
							
							
							
							
							
							IPropertyDefn elePropDefn = (IPropertyDefn) sel[0];
							cmbItemLastSelected = elePropDefn;
							setEditorText( desHandle.getStringProperty( elePropDefn.getName( ) ) );
							setIsModified( false );
														selectionMap.put( getModel( ), selection );
							String method = cmbItemLastSelected.getName( );
							Map argMap = DEUtil.getDesignElementMethodArguments( desHandle,
									method );
							context.clear( );
							for ( Iterator iter = argMap.entrySet( ).iterator( ); iter.hasNext( ); )
							{
								Map.Entry element = (Map.Entry) iter.next( );
								String name = (String) element.getKey( );
								String type = (String) element.getValue( );