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
* (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 )
	{
		
	}
	/**
	 * Get selected file.
	 * 
	 * @return IFile Selected file
	 */
	protected IFile getSelectedFile( )
	{
		if ( navigator != null )
		{
			IStructuredSelection selection = (IStructuredSelection) navigator.getTreeViewer( )
					.getSelection( );
			if ( selection.size( ) == 1
					&& selection.getFirstElement( ) instanceof IFile )
			{
				return (IFile) selection.getFirstElement( );
			}
		}
		return null;
	}
}