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.lib.explorer/src/org/eclipse/birt/report/designer/internal/ui/lib/explorer/model/LibDirectoryNodeModel.java
public void dispose( )
	{
		for ( Iterator it = childrenList.iterator( ); it.hasNext( ); )
		{
			Object obj = it.next( );
			if ( obj instanceof LibDirectoryNodeModel )
			{
				( (LibDirectoryNodeModel) obj ).dispose( );
			}
			if ( obj instanceof LibraryHandle )
			{
				if ( resourceListener != null )
				{
					( (LibraryHandle) obj )
							.removeResourceChangeListener( resourceListener );
				}
				( (LibraryHandle) obj ).close( );
			}
		}
	}
	public void setResourceListener( IResourceChangeListener listener )
	{
		resourceListener = listener;
	}
	public String getText( )
	{
		return text;
	}
}