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

Removed a bug which occurred for invalid projects.

parent f7243b4c
No related branches found
No related tags found
No related merge requests found
...@@ -131,14 +131,17 @@ public final class CurrentWorkSpaceProjectBean { ...@@ -131,14 +131,17 @@ public final class CurrentWorkSpaceProjectBean {
// Remember the given parameters // Remember the given parameters
this.project = project; this.project = project;
this.projectName = projectName; this.projectName = projectName;
// Remember the current time! This is important for the later comparison of the time stamps.
this.resetTimeStamp(); if (this.project != null) {
// Update the class loader // Remember the current time! This is important for the later comparison of the time stamps.
this.reloadClassLoader(); this.resetTimeStamp();
// Add the libraries within the lib-folder to the current model // Update the class loader
this.addLibrariesToModel(); this.reloadClassLoader();
// Load the available readers, filters and repositories // Add the libraries within the lib-folder to the current model
this.loadToolPalette(); this.addLibrariesToModel();
// Load the available readers, filters and repositories
this.loadToolPalette();
}
// Now deliver the correct navigation page // Now deliver the correct navigation page
return (this.project != null) ? CurrentWorkSpaceProjectBean.PAGE_PROJECT_WORK_SPACE : ""; return (this.project != null) ? CurrentWorkSpaceProjectBean.PAGE_PROJECT_WORK_SPACE : "";
......
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