Skip to content
Snippets Groups Projects
Commit 3bc1e8dd authored by Nils Christian Ehmke's avatar Nils Christian Ehmke
Browse files

#620

parent 74fbc5c7
No related branches found
No related tags found
No related merge requests found
...@@ -660,7 +660,9 @@ public final class CurrentAnalysisEditorBean { ...@@ -660,7 +660,9 @@ public final class CurrentAnalysisEditorBean {
// Update our class loader and the available plugins & repositories // Update our class loader and the available plugins & repositories
this.reloadClassLoader(); this.reloadClassLoader();
this.reloadClassesAndMethods(); this.reloadClassesAndMethods();
this.addContentsToToolPalette(lib);
// We have to reinitialize the tool palette completely! This is necessary as some of the already existing classes could need the newly loaded classes.
this.initializeToolPalette();
} catch (final LibraryAlreadyExistingException ex) { } catch (final LibraryAlreadyExistingException ex) {
CurrentAnalysisEditorBean.LOG.info("A library with the same name exists already.", ex); CurrentAnalysisEditorBean.LOG.info("A library with the same name exists already.", ex);
CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_WARN, "A library with the same name exists already."); CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_WARN, "A library with the same name exists already.");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment