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
configTreeViewer( );
		initPage( );
		refreshRoot( );
		return treeViewer;
	}
	/**
	 * Configures the tree viewer.
	 */
	protected void configTreeViewer( )
	{
		ViewsTreeProvider provider = new LibraryExplorerProvider( );
		treeViewer.setContentProvider( provider );
		treeViewer.setLabelProvider( provider );
		
		int ops = DND.DROP_COPY | DND.DROP_LINK;
		Transfer[] transfers = new Transfer[]{
			TemplateTransfer.getInstance( )
		};
		treeViewer.addDragSupport( ops,
				transfers,
				new LibraryDragListener( treeViewer ) );
		treeViewer.getControl( ).addKeyListener( new KeyListener( ) {
			public void keyPressed( KeyEvent e )
			{
			}
			public void keyReleased( KeyEvent e )
			{
				if ( e.keyCode == SWT.F5 )
				{
					treeViewer.refresh( );