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
*/
	private void createContextMenus( )
	{
		MenuManager menuManager = new LibraryExplorerContextMenuProvider( this );
		Menu menu = menuManager.createContextMenu( treeViewer.getControl( ) );
		treeViewer.getControl( ).setMenu( menu );
		getSite( ).registerContextMenu( "#Pop up", menuManager, 
				getSite( ).getSelectionProvider( ) );
	}
	private String getTooltip( TreeItem item )
	{
		if ( item != null )
		{
			Object object = item.getData( );
			if ( object instanceof DataSourceHandle
					|| object instanceof DataSetHandle )
			{
				return Messages.getString( "LibraryExplorerTreeViewPage.toolTips.DragAndDropOutline" ); 
			}
			else if ( object instanceof ThemeHandle )
			{
				return Messages.getString( "LibraryExplorerTreeViewPage.toolTips.DragAndDropLayout" ); 
			}
			else if ( object instanceof ParameterHandle
					|| object instanceof ParameterGroupHandle
					|| object instanceof EmbeddedImageHandle
					|| object instanceof ReportItemHandle )
			{
				return Messages.getString( "LibraryExplorerTreeViewPage.toolTips.DragAndDropToOutlineORLayout" ); 
			}