Bug 151361 default value for reousrce folder user preference
When user does not sepecify the resourec foler user preference, can we make the current project folder (in IDE) or the current report design file's folder (in RCP) as the default value for the resource folder. This way, by default the current project folder is the resource folder where user can create their libs and images. Also please set the default user preference to be null when BIRT is freshly installed.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/util/UIUtil.java
/**
	 * Gets the ViewPart with the specified id
	 * 
	 * @param id
	 *            the id of view part
	 * 
	 * @return Returns the view part, or null if not found
	 */
	public static IViewPart getView( String id )
	{
		IWorkbenchPage tPage = PlatformUI.getWorkbench( )
				.getActiveWorkbenchWindow( )
				.getActivePage( );
		IViewReference[] v = tPage.getViewReferences( );
		int i;
		for ( i = 0; i < v.length; i++ )
		{
			if ( v[i].getId( ).equals( id ) )
				return (IViewPart) v[i].getPart( true );
		}
		return null;
	}
	/**
	 * Check if the property should add quote.
	 * Currently use in set fontfamily property.
	 * @param elementName
	 * @param property
	 * @param value
	 * @return
	 */