Bug 188027 PasteAction is diabled
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/validators/ThemeStyleNameValidator.java
{
	private static ThemeStyleNameValidator instance = new ThemeStyleNameValidator( );
	/**
	 * Returns the singleton validator instance.
	 * 
	 * @return the validator instance
	 */
	public static ThemeStyleNameValidator getInstance( )
	{
		return instance;
	}
	/**
	 * Validates whether the style with the given name can be added into the
	 * given theme element.
	 * 
	 * @param theme
	 *            the theme element
	 * @param styleName
	 *            name of the style to add
	 * @return error list, each of which is the instance of
	 *         <code>SemanticException</code>.
	 */
	public List validateForAddingStyle( ThemeHandle theme, String styleName )
	{
		List list = new ArrayList( );