Bug 152300 Model api is wrong.
In the LibrarCommand class,the method reloadLibrary , code lije this: activityStack.commit( ); // clears the activity stack to avoid potential problems. activityStack.flush( ); LibraryReloadedEvent event = new LibraryReloadedEvent( module .getLibraryByLocation( url.toExternalForm( ) ) ); module.broadcast( event ); Please first fire model event,then fire the commandstack event.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/LibraryCommand.java
*/
	private Map dealElementDecendents( Library library, DesignElement parent,
			int actionCode ) throws SemanticException
	{
		List allDescendents = new ArrayList( );
		getAllDescdents( parent, allDescendents );
		Map overriddenValues = new HashMap( );
		for ( int i = 0; i < allDescendents.size( ); i++ )
		{
			DesignElement child = (DesignElement) allDescendents.get( i );
			do
			{
				if ( child.getRoot( ) != module )
					continue;
				if ( actionCode == RELOAD_ACTION )
				{
					Map values = unresolveElementDescendent( module, child );
					overriddenValues.put( new Long( child.getID( ) ), values );
				}
				if ( actionCode == SIMPLE_ACTION )
					throw new LibraryException(
							library,
							new String[]{child.getHandle( module )
									.getDisplayLabel( )},
							LibraryException.DESIGN_EXCEPTION_LIBRARY_HAS_DESCENDENTS );
			} while ( child.hasDerived( ) );
		}
		return overriddenValues;
	}
	/**