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.lib.explorer/src/org/eclipse/birt/report/designer/ui/lib/explorer/LibraryExplorerView.java
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.designer.ui.lib.explorer;
import org.eclipse.birt.report.designer.nls.Messages;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.part.IContributedContentsView;
import org.eclipse.ui.part.IPage;
import org.eclipse.ui.part.MessagePage;
import org.eclipse.ui.part.PageBook;
import org.eclipse.ui.part.PageBookView;
/**
 * LibraryExplorerView display all library files in BIRT resource folder.
 * 
 */
public class LibraryExplorerView extends PageBookView