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
}
			}
			refreshPositions( );
			setPageProperties( );
			refreshMessage( );
		}
		catch ( Exception e )
		{
		}
	}
	/**
	 * create a parameter according to the parameter's metadata
	 * 
	 * @param paramFromDataSet
	 * @return
	 */
	private DataSetParameter newParameter( IParameterMetaData paramFromDataSet )
	{
		DataSetParameter parameter = null;
		if ( isOdaDataSetHandle )
		{
			parameter = new OdaDataSetParameter( );
			if ( paramFromDataSet instanceof ParameterMetaData )
			{
				( (OdaDataSetParameter) parameter ).setNativeName( ( (ParameterMetaData) paramFromDataSet ).getNativeName( ) );
			}
			if ( "REF CURSOR".equals( paramFromDataSet.getNativeTypeName( ) ) ) 
				parameter.setNativeDataType( new Integer( -10 ) );
		}
		else