Bug 172622 Library and folder display order issue in Library Explorer.[01]
Description Library and folder display order issue in Library Explorer. Build number:2.2.0.v20070130 Steps to reproduce: 1. New a.rptlibrary, c.rptlibrary. 2. Create a folder "b". 3. Set Resource Folder in Preferences as default. 4. Check Library Explorer. Expected result: Folder and file should be ordered alphabetically separatelly. Actual result: Display order is a.rptlibrary, c, and then b.rptlibrary. Folder displays between library files. Error log:N/A
UI/org.eclipse.birt.report.designer.ui.lib.explorer/src/org/eclipse/birt/report/designer/ui/lib/explorer/LibraryExplorerTreeViewPage.java
*      org.eclipse.birt.report.model.api.validators.ValidationEvent)
	 */
	public void elementValidated( DesignElementHandle targetElement,
			ValidationEvent ev )
	{
		if ( treeViewer != null && !treeViewer.getTree( ).isDisposed( ) )
			treeViewer.refresh( );
	}
	public void refreshRoot( )
	{
		if ( treeViewer != null && !treeViewer.getTree( ).isDisposed( ) )
		{
			
			
			
			treeViewer.setInput( ResourceLocator.getRootEntries( LIBRARY_FILENAME_PATTERN ) );
			treeViewer.expandToLevel( 2 );
		}
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.core.runtime.preferences.IEclipsePreferences$IPreferenceChangeListener#preferenceChange(org.eclipse.core.runtime.preferences.IEclipsePreferences.PreferenceChangeEvent)
	 */
	public void preferenceChange( PreferenceChangeEvent event )
	{
		if ( ReportPlugin.RESOURCE_PREFERENCE.equals( event.getKey( ) ) )
			Display.getDefault( ).asyncExec( new Runnable( ) {
				public void run( )
				{