Bug 138838 [Regression]Localization can't be set
Steps to reproduce: 1.New a report, add a Resource file "a.properties" for it 2.Add a label, select it, switch to property editor 3.Choose Localization, set key to "a", value to "actuate", add them to the resource file. 4.Select the key and value, click "OK" Expected result: "a=acutate" is added to the resource file and display text of lable is "actuate" Actual result: Read-Only File Encountered: File "XX\XX\a.properties_en_US.properties" is read-only, please make sure it can be written first. Note: the path for the resource file in the exception(XX\XX\a.properties_en_US.properties) is not the resource folder but the current workspace
UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/core/model/schematic/ImageHandleAdapter.java
int px = (int) DEUtil.convertoToPixel( handle );
		handle = getImageHandle( ).getHeight( );
		int py = (int) DEUtil.convertoToPixel( handle );
		if ( px != 0 && py != 0 )
		{
			return new Dimension( px, py );
		}
		return null;
	}
	/**
	 * Gets size of image item. Always returns a non-null value.
	 * 
	 * @return
	 */
	public Dimension getRawSize( )
	{
		DimensionHandle handle = getImageHandle( ).getWidth( );
		int px = (int) DEUtil.convertoToPixel( handle );
		handle = getImageHandle( ).getHeight( );
		int py = (int) DEUtil.convertoToPixel( handle );
		return new Dimension( Math.max( px, 0 ), Math.max( py, 0 ) );
	}
	public void setSize( Dimension size ) throws SemanticException
	{
		String w = size.width + DesignChoiceConstants.UNITS_PX;
		String h = size.height + DesignChoiceConstants.UNITS_PX;
		getImageHandle( ).setWidth( w );
		getImageHandle( ).setHeight( h );
	}
}