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
try
		{
			DataSetEditorPage[] dataSetEditorPages = m_designSession.getEditorPages( );
			for ( int i = 0; i < dataSetEditorPages.length; i++ )
			{
				DataSetEditorPage dataSetEditorPage = dataSetEditorPages[i];
				PropertyPageWrapper propertyPageWrapper = new PropertyPageWrapper( dataSetEditorPage,
						m_designSession );
				addPageTo( dataSetEditorPage.getPagePath( ),
						dataSetEditorPage.getPageId( ),
						dataSetEditorPage.getTitle( ),
						null,
						propertyPageWrapper );
				if ( dataSetEditorPage.hasInitialFocus( ) )
					setDefaultNode( dataSetEditorPage.getPageId( ) );
			}
		}
		catch ( OdaException ex )
		{
			ExceptionHandler.handle( ex );
		}
	}
	/**
	 * add several common use page for Birt data set editor
	 * 
	 * @param ds
	 */
	protected void addCommonPages( DataSetHandle ds )
	{
		if ( ds instanceof ScriptDataSetHandle )