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.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ImageBuilder.java
{
				openExpression( );
			}
		} );
		if ( selectedType == BLOB_TYPE )
		{
			bindingButton = new Button( innerComp, SWT.PUSH );
			bindingButton.setText( Messages.getString( "ImageBuilder.Label.Binding" ) ); 
			bindingButton.setLayoutData( new GridData( GridData.HORIZONTAL_ALIGN_END ) );
			bindingButton.addSelectionListener( new SelectionAdapter( ) {
				public void widgetSelected( SelectionEvent event )
				{
					openBidingDialog( );
				}
			} );
		}
		previewButton = new Button( innerComp, SWT.PUSH );
		previewButton.setText( DLG_PREVIEW_LABEL );
		previewButton.setLayoutData( new GridData( GridData.HORIZONTAL_ALIGN_END ) );
		previewButton.addSelectionListener( new SelectionAdapter( ) {
			public void widgetSelected( SelectionEvent event )
			{
				switch ( selectedType )
				{
					case URI_TYPE :
						uriEditor.setText( uriEditor.getText( ).trim( ) );
						preview( CorePlugin.RESOURCE_FOLDER
								+ File.separator
								+ removeQuoteString( uriEditor.getText( ) ) );
						break;