PersistencyService: Move exception for ILibrary element listeners to subscribers
Currently, the following methods define an exception for not notifying ILibraries about persistency service events
- private synchronized void notifyListenersAboutLoad(ITopLevelElement top)
- private synchronized void notifyListenersAboutAdd(ITopLevelElement top)
- private synchronized void notifyListenersAboutRemove(ITopLevelElement top)
- public void notifyTopLevelElementChanged(final ITopLevelElement top)
While the intention was to prevent libraries from being displayed in the Model Navigator, this prevents the registration of listeners for ILibraries altogether. Therefore, the exception should be moved to the consumer of the event notification (i.e., the model element navigator, and possibly others).