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
public DataSetParametersPage( )
	{
		super( );
	}
	/*
	 * @see org.eclipse.birt.report.designer.ui.dialogs.properties.
	 * AbstractDescriptionPropertyPage
	 * #createContents(org.eclipse.swt.widgets.Composite)
	 */
	public Control createContents( Composite parent )
	{
		parameters = ( (DataSetHandle) getContainer( ).getModel( ) ).getPropertyHandle( DataSetHandle.PARAMETERS_PROP );
		return createParameterPageControl( parent );
	}
	/**
	 * Create parameter page control, if the datasetHandle is ODA, add the
	 * "linked with report parameter" cell.
	 * 
	 * @param parent
	 * @return
	 */
	protected Control createParameterPageControl( Composite parent )
	{
		DataSetHandle dataSetHandle = (DataSetHandle) getContainer( ).getModel( );
		isOdaDataSetHandle = ParameterPageUtil.isOdaDataSetHandle( dataSetHandle );
		isJointOrDerivedDataSetHandle = ParameterPageUtil.isJointOrDerivedDataSetHandle( dataSetHandle );
		viewer = new PropertyHandleTableViewer( parent,
				!isJointOrDerivedDataSetHandle,
				true,
				true,