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_AFTER_PROP.equals( property ) )
		{
			unitKey = DesignChoiceConstants.CHOICE_PAGE_BREAK_AFTER;
		}
		return DEUtil.getMetaDataDictionary( ).getChoiceSet( unitKey );
	}
	/**
	 * Gets the collection that given property value can selected from them.
	 * 
	 * @param elementName
	 *            The name of the element.
	 * @param property
	 *            DE Property key.
	 * @return The ChoiceSet instance contains all the allowed values.
	 */
	public static IChoiceSet getElementChoiceSet( String elementName,
			String property )
	{
		IElementPropertyDefn propertyDefn = DEUtil.getMetaDataDictionary( )
				.getElement( elementName )
				.getProperty( property );
		if ( propertyDefn.getTypeCode( ) == IPropertyType.DIMENSION_TYPE
				&& propertyDefn.getChoices( ) != null )
		{
			return propertyDefn.getChoices( );
		}
		return propertyDefn.getAllowedChoices( );
	}
	/**