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
if ( extPoint == null )
			return result;
		IExtension[] exts = extPoint.getExtensions( );
		if ( exts == null )
			return result;
		for ( int e = 0; e < exts.length; e++ )
		{
			IConfigurationElement[] configElems = exts[e].getConfigurationElements( );
			if ( configElems == null )
				continue;
			for ( int i = 0; i < configElems.length; i++ )
			{
				if ( configElems[i].getName( ).equals( "dataSetUI" ) )
				{
					IConfigurationElement[] elems = configElems[i].getChildren( "dataSetPage" );
					if ( elems != null && elems.length > 0 )
					{
						for ( int j = 0; j < elems.length; j++ )
						{
							String value = elems[j].getAttribute( "id" );
							if ( value != null )
								result.add( value );
						}
					}
				}
			}
		}
		return result;
	}
}