Bug 180864 Change Allow Null option in Cascading Group.[0705]
Description: Change Allow Null option in Cascading Group. Build number:2.2.0.v20070404 Steps to reproduce: 1. New a cascading group and add sub parameter. Expected result: Is Required option in cascading group definition dialog. Actual result: Allow null value option in Cascading Group definition dialog Error log:N/A
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/CascadingParametersDialog.java
}
	protected int getTableIndex( Object element )
	{
		Object[] input = ( (IStructuredContentProvider) valueTable.getContentProvider( ) ).getElements( valueTable.getInput( ) );
		int index = 0;
		if ( element != newParameter )
		{
			for ( int i = 0; i < input.length; i++ )
			{
				if ( element == input[i] )
				{
					index = i;
					break;
				}
			}
		}
		return index;
	}
	private void refreshValueTable( )
	{
		if ( valueTable != null && !valueTable.getTable( ).isDisposed( ) )
		{
			valueTable.refresh( );
		}
	}
	private void refreshParameterProperties( )
	{
		if ( selectedParameter == null || selectedParameter == newParameter )
		{
			clearParamProperties( );