Bug 122365 In data set dialog, add parameter first then edit query, parameter value will be cleared out.
Description: In data set dialog, add parameter first then edit query, parameter value will be cleared out. Steps to reproduce: 1. Add a data set. 2. In data set dialog, add a parameter. 3. Edit query and use this parameter. 4. Preview in data set dialog, it works. 5. Change to "parameter" page, its value is cleared out.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/PropertyHandleTableViewer.java
viewer.getTable( ).setLinesVisible( true );
        if(showButtons)
        {
            Composite btnComposite = new Composite(mainControl, SWT.NONE);
            data = new GridData();
            data.verticalAlignment = SWT.CENTER;
            btnComposite.setLayoutData(data);
            GridLayout btnLayout = new GridLayout();
            layout.verticalSpacing = 20;
            btnComposite.setLayout(btnLayout);
            
            GridData btnData = new GridData(GridData.CENTER);
            btnData.widthHint = 20;
            btnData.heightHint = 20;
            btnUp = new Button(btnComposite, SWT.ARROW | SWT.UP);
            btnUp.setLayoutData(btnData);
            btnUp.addSelectionListener(new SelectionListener(){
                public void widgetSelected(SelectionEvent e)
                {
                    
                    int index = viewer.getTable( ).getSelectionIndex( );
                    PropertyHandle handle = (PropertyHandle) viewer.getInput();
                    if ( index > 0
                            && handle.getListValue( ) != null
                            && index < handle.getListValue( ).size( ))
                    {
                        viewer.cancelEditing();
                        try
                        {
                            handle.moveItem( index, index -1 );