Bug 136256 Enhance the message builder
Please see the spec attached in 133995 for detail.
UI/org.eclipse.birt.report.designer.ui.lib.explorer/src/org/eclipse/birt/report/designer/ui/lib/explorer/LibraryExplorerContextMenuProvider.java
* @param menu
	 *            the menu
	 */
	public void buildContextMenu( IMenuManager menu )
	{
		TreeViewer treeViewer = (TreeViewer) getViewer( );
		if ( Policy.TRACING_MENU_SHOW )
		{
			System.out.println( "Menu(for Views) >> Shows for library" ); 
		}
		menu.add( new Separator( IWorkbenchActionConstants.MB_ADDITIONS ) );
		
		ISelectionProvider struViewer = (ISelectionProvider) getViewer( );
		IStructuredSelection selection = (IStructuredSelection) struViewer.getSelection( );
		LibraryHandle library = getSelectedLibrary( );
		if ( selection == null || selection.getFirstElement( ) == null )
		{
			IAction refreshAction = new RefreshLibExplorerAction( treeViewer );
			if ( refreshAction.isEnabled( ) )
			{
				menu.add( refreshAction );
			}
			IAction addLibraryAction = new AddLibraryAction( );
			menu.add( addLibraryAction );
		} 
		else if ( library != null )
		{
			IAction addAction = new AddSelectedLibToCurrentReportDesignAction( treeViewer );
			if ( addAction.isEnabled( ) )
			{