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/src/org/eclipse/birt/report/designer/ui/actions/PublishLibraryAction.java
}
			finally
			{
				if ( handle != null )
				{
					handle.close( );
				}
			}
		}
		PublishLibraryWizard publishLibrary = new PublishLibraryWizard( libHandle,
				fileName,
				ReportPlugin.getDefault( ).getResourcePreference( ) );
		WizardDialog dialog = new WizardDialog( UIUtil.getDefaultShell( ),
				publishLibrary );
		dialog.setPageSize( 500, 250 );
		dialog.open( );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction,
	 *      org.eclipse.jface.viewers.ISelection)
	 */
	public void selectionChanged( IAction action, ISelection selection )
	{
		if ( selection instanceof TreeSelection )
		{
			IFile file = null;
			if ( ( (TreeSelection) selection ).getFirstElement( ) instanceof IFile )
			{