private final RecentProjectsListener updater;
public RecentProjectsMenu(ApplicationWindow appWin, ProjectManager projectManager) {
this.projectManager = projectManager;
builder = new RecentProjectsMenuBuilder(appWin, new ProjectLocationLoader(appWin, projectManager));
updater = new Updater();
RecentProjects recent = projectManager.getRecentProjects();
recent.addRecentProjectsListener(updater);
rebuild();
}