Bug 122577 Library Explorer does not refresh after creating or changing a library
1. Open the Library Explorer view. Create a library. Expected: The library appears in Library Explorer. Actual: The library does not appear in Library Explorer until you re-open Eclipse. 2. Open the Library Explorer view. Open an existing library. Change the library. For example, change the title, or add a report item. Save the library. Expected: The library changes appear in Library Explorer. Actual: The library changes do not appear in Library Explorer until you re-open Eclipse.
UI/org.eclipse.birt.report.designer.ui.lib.explorer/src/org/eclipse/birt/report/designer/ui/lib/explorer/LibraryExplorerViewPage.java
public void removeSelectionChangedListener(
			ISelectionChangedListener listener )
	{
		selectionChangedListeners.remove( listener );
	}
	/**
	 * Sets the current selection for this selection provider.
	 * 
	 * @param selection
	 *            the new selection
	 */
	public void setSelection( ISelection selection )
	{
		if ( getTreeViewer( ) != null )
		{
			getTreeViewer( ).setSelection( selection );
		}
	}
	/**
	 * The <code>Page</code> implementation of this <code>IPage</code>
	 * method disposes of this page's control (if it has one and it has not
	 * already been disposed).
	 */
	public void dispose( )
	{
		selectionChangedListeners.clear( );
		treeViewer = null;
		super.dispose( );
	}
}