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/internal/ui/views/actions/PublishLibraryToResourceFolderAction.java
Object selectObj = getSelection();
		if( selectObj instanceof LibraryHandle)
		{
			return true;
		}else
		{
			return false;
		}
	}
	public void run( )
	{
		if ( isEnable( ) == false )
		{
			return;
		}
		String filePath = SessionHandleAdapter.getInstance( )
				.getReportDesignHandle( )
				.getFileName( );
		String fileName = filePath.substring( filePath.lastIndexOf( File.separator ) + 1 );
		PublishLibraryWizard publishLibrary = new PublishLibraryWizard( (LibraryHandle) SessionHandleAdapter.getInstance( )
				.getReportDesignHandle( ),
				fileName,
				ReportPlugin.getDefault( ).getResourcePreference( ) );
		WizardDialog dialog = new WizardDialog( UIUtil.getDefaultShell( ),
				publishLibrary );
		dialog.setPageSize( 500, 250 );
		dialog.open( );
	}
}