Bug 118780 Set alias for columns in data set but in expression builder still shows the old columns name when select the dataset.
Description: Set alias for columns in data set but in expression builder still shows the old columns name when select the dataset. Steps to reproduce: 1. New a datasource and a dataset 2. Set alias of the first column in the dataset to "column1". 3. Insert a data item and bind it to dataset. 4. In the expression builder, select the dataset and double click the first column name. Expected result: According to scr #78193 in tracker, the first column in expression build should use alias name instead of original name. Actual result: The original name of the first column was listed in the below of expression builder but the alias name appeared above as row["column1"] after double click the original name.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ExpressionProvider.java
*******************************************************************************/
package org.eclipse.birt.report.designer.ui.dialogs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import org.eclipse.birt.report.designer.core.model.SessionHandleAdapter;
import org.eclipse.birt.report.designer.core.model.views.data.DataSetItemModel;
import org.eclipse.birt.report.designer.internal.ui.dialogs.ExpressionFilter;
import org.eclipse.birt.report.designer.internal.ui.util.DataSetManager;
import org.eclipse.birt.report.designer.nls.Messages;
import org.eclipse.birt.report.designer.ui.IReportGraphicConstants;
import org.eclipse.birt.report.designer.ui.ReportPlatformUIImages;
import org.eclipse.birt.report.designer.util.DEUtil;
import org.eclipse.birt.report.model.api.DataSetHandle;
import org.eclipse.birt.report.model.api.DesignElementHandle;
import org.eclipse.birt.report.model.api.DesignEngine;
import org.eclipse.birt.report.model.api.ModuleHandle;
import org.eclipse.birt.report.model.api.ParameterGroupHandle;
import org.eclipse.birt.report.model.api.ParameterHandle;
import org.eclipse.birt.report.model.api.metadata.IClassInfo;
import org.eclipse.birt.report.model.api.metadata.ILocalizableInfo;
import org.eclipse.birt.report.model.api.metadata.IMemberInfo;
import org.eclipse.birt.report.model.api.metadata.IMethodInfo;
import org.eclipse.jface.util.Assert;
import org.eclipse.swt.graphics.Image;
/**
 * The default implementation of IExpressionProvider
 */
public class ExpressionProvider implements IExpressionProvider