Bug 176784 always-excluding-first and always-excluding-last in item properties pop up error[00]
Details: always-excluding-first and always-excluding-last in item properties pop up error Step: 1.New a report and add a label 2.Select the label and switch properties tab. 3.Select the section and set the page break as always-excluding-first or always-excluding-last. actual result: Pop up an error excepted result: If these selection are not supported, and please remove them. If these selection are supported, it can be set to the item.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/views/attributes/providers/ChoiceSetFactory.java
}
		else if ( StyleHandle.PAGE_BREAK_INSIDE_PROP.equals( property ) )
		{
			unitKey = DesignChoiceConstants.CHOICE_PAGE_BREAK_INSIDE;
		}
		return getUnitChoiceSet( unitKey );
	}
	/**
	 * Gets the collection that DE provides.
	 * 
	 * @param unitKey
	 *            Choice type key.
	 * @return A String array contains all the allowed values.
	 */
	private static Object[] getUnitChoiceSet( String unitKey )
	{
		ArrayList list = new ArrayList( );
		IChoiceSet choiceSet = DEUtil.getMetaDataDictionary( )
				.getChoiceSet( unitKey );
		if ( choiceSet != null )
		{
			IChoice[] choices = choiceSet.getChoices( );
			for ( int i = 0; i < choices.length; i++ )
			{
				list.add( choices[i] );
			}
		}
		return list.toArray( new IChoice[0] );
	}
	/**