Bug 316674 Refactor data set editor pages' codes[26569]
Build Identifier: 20100610 Refactor data set editor pages' codes[26569]. Reproducible: Always
UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/DataSetEditor.java
PageLayoutManager.registerPage( pageNames.next( ) );
		}
	}
	protected Control createDialogArea( Composite parent )
	{
		UIUtil.bindHelp( parent, IHelpContextIds.DATA_SET_EDITOR_ID );
		return super.createDialogArea( parent );
	}
	protected boolean needRememberLastSize( )
	{
		return true;
	}
	/**
	 * The constructor.
	 * 
	 * @param parentShell
	 */
	public DataSetEditor( Shell parentShell, DataSetHandle ds,
			boolean needToFocusOnOutput )
	{
		super( parentShell, ds );
		ExternalUIUtil.validateDataSetHandle( ds );
		initModelManager( );
		
		this.needToFocusOnOutput = needToFocusOnOutput;
		
		String dataSourceType, dataSetType;
		if ( ds instanceof OdaDataSetHandle )
		{
			OdaDataSourceHandle dataSource = (OdaDataSourceHandle) ( (OdaDataSetHandle) ds ).getDataSource( );