Bug 154814 Use library, add library, delete library selection can't be found on Library right click menu in Library explorer
Details: Use library, add library, delete library selection can't be found on Library right click menu in Library explorer Step: 1.New a library and publish to resource folder. 2.New a report design and open library explorer. 3.Right click on the library in library explorer to use the library. Actual result: The selection of use, add ,delete library cannot be found. Exception result: Do can use the right click menu to use, add, delete library.
UI/org.eclipse.birt.report.designer.ui.lib.explorer/src/org/eclipse/birt/report/designer/ui/lib/explorer/LibraryExplorerContextMenuProvider.java
useLibraryAction = new AddSelectedLibToCurrentReportDesignAction( page.getTreeViewer( ) );
		deleteLibraryAction = new DeleteLibraryAction( page.getTreeViewer( ) );
	}
	/**
	 * Builds the context menu. Single selection menu and multiple selection
	 * menu are created while selecting just single element or multiple elements
	 * 
	 * 
	 * @param menu
	 *            the menu
	 */
	public void buildContextMenu( IMenuManager menu )
	{
		if ( Policy.TRACING_MENU_SHOW )
		{
			System.out.println( "Menu(for Views) >> Shows for library" ); 
		}
		menu.add( new Separator( IWorkbenchActionConstants.MB_ADDITIONS ) );
		IStructuredSelection selection = (IStructuredSelection) getViewer( ).getSelection( );
		if ( selection != null && selection.getFirstElement( ) != null )
		{
			Object selected = selection.getFirstElement( );
			refreshExplorerAction.setSelectedElement( selected );
			menu.add( refreshExplorerAction );
			menu.add( new Separator( ) );
			if ( selected instanceof File )
			{
				if ( ( (File) selected ).isDirectory( ) )
				{
					addLibraryAction.setFolder( (File) selected );