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
protected static final String DISPLAY_NAME = Messages.getString( "BindingDialogHelper.text.displayName" ); 
	
	protected static final String DEFAULT_ITEM_NAME = "data item";
	protected static final IChoiceSet DATA_TYPE_CHOICE_SET = DEUtil.getMetaDataDictionary( )
			.getStructure( ComputedColumn.COMPUTED_COLUMN_STRUCT )
			.getMember( ComputedColumn.DATA_TYPE_MEMBER )
			.getAllowedChoices( );
	protected static final IChoice[] DATA_TYPE_CHOICES = DATA_TYPE_CHOICE_SET.getChoices( null );
	protected String[] dataTypes = ChoiceSetFactory.getDisplayNamefromChoiceSet( DATA_TYPE_CHOICE_SET );
	private Text txtName, txtFilter, txtExpression;
	private Combo cmbType, cmbFunction, cmbDataField, cmbAggOn;
	private Button btnTable, btnGroup;
	private Composite argsComposite;
	private String name;
	private String typeSelect;
	private String expression;
	private String functionName;
	private Map argsMap = new HashMap( );
	private Composite composite;
	private Text txtDisplayName;
	public void createContent( Composite parent )
	{
		composite = parent;
		( (GridLayout) composite.getLayout( ) ).numColumns = 3;
		GridData gd = new GridData( GridData.FILL_BOTH );
		gd.widthHint = 380;
		if ( isAggregate( ) )
		{
			gd.heightHint = 300;
		}