Bug 192347 [acceptance]Theme cannot be deleted[01]
Description: [acceptance]Theme cannot be deleted Build number:2.2.0.v20070613 Steps to reproduce: 1. New a library. 2. New a theme and delete it. Expected result: Theme can be deleted Actual result: Delete key doesn't work and no delete item in context menu. Error log:n/a
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/newelement/DesignElementFactory.java
}
	/**
	 * Creates one new element based on the given element. The new element will
	 * extends the given one. The element must be extendable.
	 * 
	 * @param element
	 *            the base element.
	 * @param name
	 *            the optional new element name
	 * @return the handle to the new element.
	 */
	public DesignElementHandle newElementFrom( DesignElementHandle element,
			String name ) throws ExtendsException
	{
		String newName = getNewName( element.getElement( ).getElementName( ),
				name );
		return factory.newElementFrom( element, newName );
	}
	
	/**
	 * Creates a new table group element. Table groups cannot have a name.
	 * 
	 * @return a handle to the table group
	 */
	public TableGroupHandle newTableGroup( )
	{
		TableGroupHandle handle = factory.newTableGroup( );
		try
		{