Bug 134949 Themes nest in other library
Details: Themes nest in other library Step: 1. Library A use LibraryB, and Library B has a themes 2. Report design use Library A 3. I open the Library tree of A in library explorer and drop the themes from B into layout. Actual result: It pop up an error message and said that the library namespace "B" exists already. Exception result: I don't konw if I can use by this method. But I think it is a method user may be used.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/views/attributes/providers/ChoiceSetFactory.java
for ( int i = 0; i < choices.length; i++ )
		{
			displayNames[i] = choices[i].getDisplayName( );
		}
		return displayNames;
	}
	/**
	 * Gets all names that a given ChoiceSet instance contained.
	 * 
	 * @param choiceSet
	 *            The ChoiceSet instance.
	 * @return A String array contains names.
	 */
	public static String[] getNamefromChoiceSet( IChoiceSet choiceSet )
	{
		String[] names = new String[0];
		if ( choiceSet == null )
			return names;
		IChoice[] choices = choiceSet.getChoices( );
		if ( choices == null )
			return names;
		names = new String[choices.length];
		for ( int i = 0; i < choices.length; i++ )
		{
			names[i] = choices[i].getName( );
		}
		return names;
	}
	/**
	 * Gets property 's display names given element name and the property name.