Bug 196767 "Finish" button does not take effect when first use CSS file then import CSS style in a library [0303]
Description: "OK" button is disabled when first use CSS file then import CSS style in a library. Build number: 2.2.1.v20070717-0630 Steps to reproduce: 1. New a library, in Outline view, right click to select default Theme->Use CSS File..., select one css file, click "OK". 2. in Outline view, right click to select default Theme->Import CSS Style..., select one css file, click "Select All" button, click "OK". Expected result: "OK" button is enabled. Actual result: "Ok" button is disabled. Error log: N/A
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ThemeHandle.java
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import org.eclipse.birt.report.model.api.activity.SemanticException;
import org.eclipse.birt.report.model.api.css.CssStyleSheetHandle;
import org.eclipse.birt.report.model.api.util.StringUtil;
import org.eclipse.birt.report.model.core.DesignElement;
import org.eclipse.birt.report.model.core.Module;
import org.eclipse.birt.report.model.core.StyleElement;
import org.eclipse.birt.report.model.css.CssStyleSheet;
import org.eclipse.birt.report.model.css.CssStyleSheetHandleAdapter;
import org.eclipse.birt.report.model.elements.Library;
import org.eclipse.birt.report.model.elements.Theme;
import org.eclipse.birt.report.model.elements.interfaces.IThemeModel;
/**
 * Represents a theme in the library. Each theme contains some number of styles.
 * 
 * 
 * @see org.eclipse.birt.report.model.elements.Theme
 */
public class ThemeHandle extends ReportElementHandle implements IThemeModel
{
	/**
	 * Constructs the handle for a theme with the given design and element. The
	 * application generally does not create handles directly. Instead, it uses
	 * one of the navigation methods available on other element handles.
	 * 
	 * @param module