Bug 316695 Refactor data set editor pages' codes[26568]
Build Identifier: 20100610 Refactor data set editor pages' codes[26568]. Reproducible: Always
UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/DataSetParametersPage.java
} );
		viewer.getRemoveAllMenuItem( )
				.addSelectionListener( new SelectionListener( ) {
					public void widgetSelected( SelectionEvent e )
					{
						setPageProperties( );
						refreshMessage( );
					}
					public void widgetDefaultSelected( SelectionEvent e )
					{
						widgetSelected( e );
					}
				} );
		viewer.getViewer( )
				.addSelectionChangedListener( new ViewerSelectionListener( ) );
	}
	private void doNew( )
	{
		DataSetParameter newParam = null;
		if ( isOdaDataSetHandle )
			newParam = new OdaDataSetParameter( );
		else
			newParam = new DataSetParameter( );
		int position = viewer.getViewer( ).getTable( ).getItemCount( );
		newParam.setName( getUniqueName( ) );
		newParam.setIsInput( true );
		newParam.setPosition( new Integer( position + 1 ) );
		doEdit( newParam );
	}
	private void doEdit( )