Bug 155784 Can not use library in outline
Details: Can not use library in outline Step: 1.New a library named Lib. 2.New a report design. 3.Switch to outline tab, right click on libraries and select use library, select Lib. Actual result: The library can not be used.
UI/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/ui/ide/navigator/PublishLibraryNavigatorAction.java
{
		
		if ( view instanceof ResourceNavigator )
		{
			navigator = (ResourceNavigator) view;
		}
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
	 */
	public void run( IAction action )
	{
		
		IFile file = getSelectedFile( );
		if ( file == null )
		{
			return;
		}
		String url = file.getLocation( ).toOSString( );
		ModuleHandle handle = null;
		try
		{
			handle = SessionHandleAdapter.getInstance( )
					.getSessionHandle( )
					.openLibrary( url );
			if ( !( handle instanceof LibraryHandle ) )
			{
				action.setEnabled( false );