void (TreeExpansionEvent event) { InspectionProfileModifiableModel selected = myProfile; getExpandedNodes(selected.getSource()).saveVisibleState(myTreeTable.getTree()); getExpandedNodes(selected).saveVisibleState(myTreeTable.getTree()); }