}
// Remember expanded states for namespace nodes
private void addExpansionListener() {
addTreeExpansionListener(
new TreeExpansionListener() {
public void treeExpanded(TreeExpansionEvent event) {
setPreference(event, true);
}
public void treeCollapsed(TreeExpansionEvent event) {
setPreference(event, false);