Bug 186516 RCP Designer: Editing copied data item destroys the original element
Build ID: 200609260959 Steps To Reproduce: 1. Create a report with a data source, data set and a table 2. Insert a column of the data set into the table. This generates a data item with an expression for the column 3. Copy this element into another table column using the <ctrl> key and drag'n drop function. 4. Now double-cick the copy and change the Data Item name and press Ok 5. Examine the original data item and you will find that it's properties like name, expression etc. are destroyed More information: Confirmed with BIRT RCP Designer 2.1.1 and 2.2 M6
xtab/org.eclipse.birt.report.item.crosstab.ui/src/org/eclipse/birt/report/item/crosstab/internal/ui/dialogs/CrosstabBindingDialogHelper.java
}
			if ( !( this.binding.getName( ) != null && this.binding.getName( )
					.equals( txtName.getText( ).trim( ) ) ) )
				this.binding.setName( txtName.getText( ) );
			this.binding.setDisplayName( txtDisplayName.getText( ) );
			for ( int i = 0; i < DATA_TYPE_CHOICES.length; i++ )
			{
				if ( DATA_TYPE_CHOICES[i].getDisplayName( )
						.equals( cmbType.getText( ) ) )
				{
					this.binding.setDataType( DATA_TYPE_CHOICES[i].getName( ) );
					break;
				}
			}
			this.binding.setExpression( cmbDataField.getText( ) );
			this.binding.setAggregateFunction( getFunctionByDisplayName( cmbFunction.getText( ) ) );
			this.binding.setFilterExpression( txtFilter.getText( ) );
			this.binding.clearAggregateOnList( );
			String aggStr = cmbAggOn.getText( );
			StringTokenizer token = new StringTokenizer( aggStr );
			while ( token.hasMoreTokens( ) )
			{
				String agg = token.nextToken( );
				if ( !agg.equals( ALL ) )
					this.binding.addAggregateOn( agg );
			}
			this.binding.clearArgumentList( );
			for ( Iterator iterator = argsMap.keySet( ).iterator( ); iterator.hasNext( ); )
			{
				String arg = (String) iterator.next( );