'Close workspace, resources the workspaces available,
clears the sidebar of the old workspaces and injects all the new ones
in there too'

def reload_workspaces(self):

    self.workspace_manager.closeWorkspace()
    self.ws_sidebar.clear_sidebar()
    self.ws_sidebar.refresh_sidebar()
