Bug 180645 Support set format for Date/Time type parameter.[0705]
Description: Support set format for Date/Time type parameter. Build number:2.2.0.v200704031345 Steps to reproduce: 1. New a Date report parameter. 2. Click Change... button to set format for it. Expected result: Can set format for Date/Time parameter. Actual result: Change... button is disabled. Error log:N/A
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/FormatDateTimePage.java
* Returns the choiceArray of this choice element from model.
	 */
	private String[][] initChoiceArray( )
	{
		if ( choiceArray == null )
		{
			IChoiceSet set = ChoiceSetFactory.getStructChoiceSet( DateTimeFormatValue.FORMAT_VALUE_STRUCT,
					DateTimeFormatValue.CATEGORY_MEMBER );
			IChoice[] choices = set.getChoices( );
			if ( choices.length > 0 )
			{
				choiceArray = new String[choices.length][2];
				for ( int i = 0, j = 0; i < choices.length; i++ )
				{
					{
						choiceArray[j][0] = choices[i].getDisplayName( );
						choiceArray[j][1] = choices[i].getName( );
						j++;
					}
				}
			}
			else
			{
				choiceArray = new String[0][0];
			}
		}
		return choiceArray;
	}
	/**
	 * Gets the format types for display names.