Bug 186940 Style name in theme cannot be identify by auto when reopen the library[01]
Description: Style name in theme cannot be identify by auto when reopen the library[01] Step: 1.Open a library and add a theme 2.New a style on the theme and use the default name that is "NewStyle" 3.Save the library, close it and reopen it again. 4.New another style on the same theme Actual result: The default style name on second times is also "NewStyle" Exception result: The default style name on second times is "NewStyle1"
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/elements/Theme.java
import org.eclipse.birt.report.model.css.CssNameManager;
import org.eclipse.birt.report.model.css.CssStyleSheet;
import org.eclipse.birt.report.model.css.CssStyleSheetAdapter;
import org.eclipse.birt.report.model.elements.interfaces.IThemeModel;
import org.eclipse.birt.report.model.util.ModelUtil;
/**
 * This class represents a theme in the library.
 * 
 */
public class Theme extends ReferenceableElement
		implements
			IThemeModel,
			ICssStyleSheetOperation
{
	
	private ICssStyleSheetOperation operation = null;
	/**
	 * Constructor.
	 */
	public Theme( )
	{
		super( );
		initSlots( );
	}
	/**
	 * Constructor with the element name.
	 * 
	 * @param theName
	 *            the element name
	 */