* @param showAllModules whether to show modules not visible from the given perspective.
* @param highlightCurrentModule whether the current module should be highlighted.
*/
public void initialize(Perspective perspective, boolean showAllModules, boolean highlightCurrentModule) {
final TreeViewDisplayMode preferredModuleTreeDisplayMode = getPreferredModuleTreeDisplayMode();
// Fill in the gem browser with the available gems
BrowserTreeModel browserTreeModel = (BrowserTreeModel)getBrowserTree().getModel();
browserTreeModel.clearDrawers();
browserTreeModel.populate(perspective, showAllModules, preferredModuleTreeDisplayMode);