Bug 199028 A problem with dataset valid check
Description: There is a sample datasource and dataset, delete the datasource, the dataset will be invalid. Then create a datasource like the previous one, the dataset still does not work. Build version:2.2.0.v20070807-0630 Steps to reproduce: 1. Create a sample datasource and dataset. 2. Delete the datasource, and the dataset will be invalid. 3. Create a sample datasource again, with the same name as the deleted one. 4. Double click on the dataset, error pops "The datasource of this dataset is missing". Expected result: The dataset shall be refer to the same name datasource. Actual result: If remove a datasource, the related datasets will not workable and repairable.
UI/org.eclipse.birt.report.designer.ui.views/src/org/eclipse/birt/report/designer/internal/ui/views/data/providers/DataSetNodeProvider.java
*/
	public boolean hasChildren( Object object )
	{
		return true;
	}
	
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.designer.internal.ui.views.INodeProvider#getNodeDisplayName(java.lang.Object)
	 */
	protected boolean performEdit( ReportElementHandle handle )
	{
		DataSetHandle dsHandle = (DataSetHandle) handle;
		if ( !( dsHandle instanceof JointDataSetHandle )
				&& dsHandle.getDataSource( ) == null )
		{
			MessageDialog.openError( PlatformUI.getWorkbench( )
					.getDisplay( )
					.getActiveShell( ),
					Messages.getString( "dataset.error.title.noDataSources" ), Messages.getString( "dataset.error.dataSourceMissing" ) );
			return false;
		}
		DataSetEditor dialog = new DataSetEditor( PlatformUI.getWorkbench( )
				.getDisplay( )
				.getActiveShell( ), (DataSetHandle) handle, false );
		return dialog.open( ) == Dialog.OK;
	}
}