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.views/src/org/eclipse/birt/report/designer/internal/ui/views/attributes/widget/PropertyEditorFactory.java
for ( int i = 0; i < choices.length; i++ )
					{
						
						values[i] = choices[i].getName( );
					}
				}
			}
		}
		if ( values == null )
			return new String[]{};
		return values;
	}
	/**
	 * Gets the name of the model
	 * 
	 * @param o
	 * @return the name of the input object
	 */
	public String getName( Object o )
	{
		if ( o instanceof String )
		{
			return (String) o;
		}
		if ( o instanceof GroupPropertyHandle )
		{
			return ( (GroupPropertyHandle) o ).getPropertyDefn( ).getName( );
		}
		return "nullname"; 
	}