if ( StyledElement.STYLE_PROP.equals( propName ) || DesignElement.EXTENDS_PROP.equals( propName ) || DesignElement.USER_PROPERTIES_PROP.equals( propName ) )
if ( IStyledElementModel.STYLE_PROP.equals( propName ) || IDesignElementModel.EXTENDS_PROP.equals( propName ) || IDesignElementModel.USER_PROPERTIES_PROP.equals( propName ) )
	private void localizeElement( DesignElement from, DesignElement to )	{		Iterator iter = from.getDefn( ).getProperties( ).iterator( );		while ( iter.hasNext( ) )		{			ElementPropertyDefn propDefn = (ElementPropertyDefn) iter.next( );			String propName = propDefn.getName( );			if ( !propDefn.canInherit( ) )				continue;			// Style property and extends property will be removed.			// The properties inherited from style or parent will be			// flatten to new element.			if ( StyledElement.STYLE_PROP.equals( propName )					|| DesignElement.EXTENDS_PROP.equals( propName )					|| DesignElement.USER_PROPERTIES_PROP.equals( propName ) )				continue;			Object localValue = to.getLocalProperty( module, propDefn );			Object parentValue = from.getStrategy( ).getPropertyFromElement(					module, from, propDefn );			if ( localValue == null && parentValue != null )			{				Object valueToSet = ModelUtil.copyValue( propDefn, parentValue );				to.setProperty( propDefn, valueToSet );			}		}	}