if (updateModel) {
_tree.setModel(new ElementTreeModel(project));
_tree.getModel().addTreeModelListener(
new ChangeHandler());
_selections = new ElementTreeSelectionModel();
_selections.addTreeSelectionListener(
new SelectionForwarder());
_tree.setSelectionModel(_selections);
}
}