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.editors/src/org/eclipse/birt/report/designer/internal/ui/views/property/PropertyEditorFactory.java
editor = new ComboBoxCellEditor( parent, values, SWT.READ_ONLY );
			}
			editor.setValue( value );
		}
		else
		{
			editor = new TextCellEditor( parent );
			editor.setValue( value );
		}
		return editor;
	}
	/**
	 * Returns the array of choice names if the property has a choice list;or
	 * null otherwise.
	 * 
	 * @return the list of available choice names.
	 */
	private String[] getChoiceNames( Object o )
	{
		String[] values = null;
		if ( o instanceof GroupPropertyHandle )
		{
			if ( ( (GroupPropertyHandle) o ).getPropertyDefn( ).getChoices( ) != null )
			{
				IChoice[] choices = ( (GroupPropertyHandle) o ).getPropertyDefn( )
						.getChoices( )
						.getChoices( );
				if ( choices.length > 0 )
				{
					values = new String[choices.length];