Bug 168381 Table from library has errors when the report is inside a folder.[01][0001]
Description: Table from library displays errors when the report is inside a folder. Build number:2.1.2.v20061218 and 2.2.0.v20061216 Steps to reproduce: 1. New a library file with datasource, dataset and table. 2. New a folder under the project, and then new a report inside the folder. 3. Drag the table from libray to the report, save and close the report. 4. Reopen the report. Expected result: Show table item in Layout. Actual result: A red box with error message inside as attached. Error log:N/A
UI/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/internal/ui/ide/adapters/IDEFileReportProvider.java
* (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.designer.ui.editors.IReportProvider#saveReport(org.eclipse.birt.report.model.api.ModuleHandle,
	 *      java.lang.Object, org.eclipse.core.runtime.IProgressMonitor)
	 */
	public void saveReport( ModuleHandle moduleHandle, Object element,
			IProgressMonitor monitor )
	{
		if ( element instanceof IFileEditorInput )
		{
			IFileEditorInput input = (IFileEditorInput) element;
			saveFile( moduleHandle, input.getFile( ), monitor );
		}
	}
	/**
	 * @param moduleHandle
	 * @param file
	 * @param monitor
	 */
	private void saveFile( final ModuleHandle moduleHandle, final IFile file,
			IProgressMonitor monitor )
	{
		
		
		if(file.exists( ) && file.isReadOnly( ))
		{
			MessageDialog.openError( UIUtil.getDefaultShell( ),
					Messages.getString( "IDEFileReportProvider.ReadOnlyEncounter.Title" ),
					Messages.getFormattedString( "IDEFileReportProvider.ReadOnlyEncounter.Message",
							new Object[]{file.getFullPath( )