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
DataSetParameter structure = getStructure( getStructureOrHandle( ) );
			try
			{
				if ( originalStructure != null )
				{
					structure.setName( originalStructure.getName( ) );
					structure.setParameterDataType( originalStructure.getParameterDataType( ) );
					structure.setIsInput( originalStructure.isInput( ) );
					structure.setIsOutput( originalStructure.isOutput( ) );
					structure.setDefaultValue( originalStructure.getDefaultValue( ) );
					structure.setExpressionProperty( DataSetParameter.DEFAULT_VALUE_MEMBER,
							originalStructure.getExpressionProperty( DataSetParameter.DEFAULT_VALUE_MEMBER ) );
					if ( isOdaDataSetHandle )
						( (OdaDataSetParameter) structure ).setParamName( ( (OdaDataSetParameter) originalStructure ).getParamName( ) );
					originalStructure = null;
				}
				else
				{
					parameters.removeItem( structure );
					viewer.getViewer( ).refresh( );
				}
			}
			catch ( Exception e )
			{
				ExceptionHandler.handle( e );
			}
			
			modelChanged = inputChanged;
		}
		/*