Bug 188027 PasteAction is diabled
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/validators/ThemeStyleNameValidator.java
StyleHandle style = theme.findStyle( styleName );
		if ( style != null )
			list.add( new NameException( theme.getElement( ), styleName,
					NameException.DESIGN_EXCEPTION_DUPLICATE ) );
		return list;
	}
	/**
	 * Validates whether the style can be renamed to the given name.
	 * 
	 * @param theme
	 *            the theme element
	 * @param style
	 *            the style to rename
	 * @param styleName
	 *            the new name of the style to add
	 * @return error list, each of which is the instance of
	 *         <code>SemanticException</code>.
	 */
	public List validateForRenamingStyle( ThemeHandle theme, StyleHandle style,
			String styleName )
	{
		if ( style.getName( ) == styleName
				|| ( styleName != null && styleName.equals( style.getName( ) ) ) )
			return Collections.EMPTY_LIST;
		List list = new ArrayList( );
		StyleHandle tmpStyle = theme.findStyle( styleName );
		if ( tmpStyle != null && style != tmpStyle )
		{
			list.add( new NameException( theme.getElement( ), styleName,
					NameException.DESIGN_EXCEPTION_DUPLICATE ) );