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
import org.eclipse.jface.action.Separator;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.StructuredViewer;
import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.ui.IWorkbenchActionConstants;
/**
 * This class provides the context menu for the single selection and multiple
 * selection
 * 
 * 
 */
public class LibraryExplorerContextMenuProvider extends ContextMenuProvider
{
	private RefreshLibExplorerAction refreshExplorerAction;
	private AddLibraryAction addLibraryAction;
	private AddSelectedLibToCurrentReportDesignAction useLibraryAction;
	private DeleteLibraryAction deleteLibraryAction;
	/**
	 * constructor
	 * 
	 * @param page
	 *            the viewer
	 * @param registry
	 *            the registry
	 */
	public LibraryExplorerContextMenuProvider( LibraryExplorerTreeViewPage page )
	{
		super( page.getTreeViewer( ) );
		refreshExplorerAction = new RefreshLibExplorerAction( page );
		addLibraryAction = new AddLibraryAction( page.getTreeViewer( ) );