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
import org.eclipse.birt.report.model.api.ListHandle;
import org.eclipse.birt.report.model.api.ModuleHandle;
import org.eclipse.birt.report.model.api.OdaDataSetHandle;
import org.eclipse.birt.report.model.api.OdaDataSourceHandle;
import org.eclipse.birt.report.model.api.ParameterGroupHandle;
import org.eclipse.birt.report.model.api.RectangleHandle;
import org.eclipse.birt.report.model.api.ScalarParameterHandle;
import org.eclipse.birt.report.model.api.ScriptDataSetHandle;
import org.eclipse.birt.report.model.api.ScriptDataSourceHandle;
import org.eclipse.birt.report.model.api.SharedStyleHandle;
import org.eclipse.birt.report.model.api.SimpleMasterPageHandle;
import org.eclipse.birt.report.model.api.TableGroupHandle;
import org.eclipse.birt.report.model.api.TableHandle;
import org.eclipse.birt.report.model.api.TextDataHandle;
import org.eclipse.birt.report.model.api.TextItemHandle;
import org.eclipse.birt.report.model.api.ThemeHandle;
import org.eclipse.birt.report.model.api.activity.SemanticException;
import org.eclipse.birt.report.model.api.command.ExtendsException;
import org.eclipse.birt.report.model.api.elements.ReportDesignConstants;
/**
 * This class is a heritor of ElementFactory,which is used to new elements
 */
public class DesignElementFactory extends ElementFactory
{
	ElementFactory factory = null;
	/**
	 * @return An instance of DesignElementFactory
	 */
	public static DesignElementFactory getInstance( )
	{