return node.getGroupName();
}
}</BUG>
public void treeCollapsed(TreeExpansionEvent event) {
InspectionProfileImpl selected = mySelectedProfile;
<BUG>String nodeTitle = getExpandedString(event.getPath());
final InspectionProfileImpl parentProfile = (InspectionProfileImpl)selected.getParentProfile();</BUG>
if (parentProfile != null) {
<BUG>parentProfile.getExpandedNodes().collapseNode(nodeTitle);
}
selected.getExpandedNodes().collapseNode(nodeTitle);
}</BUG>
public void treeExpanded(TreeExpansionEvent event) {

TreeUtil.collapseAll(myTree, 1);
final Dimension preferredSize = new Dimension(myTree.getPreferredSize().width + 20, scrollPane.getPreferredSize().height);
scrollPane.setPreferredSize(preferredSize);
scrollPane.setMinimumSize(preferredSize);
myTree.addTreeExpansionListener(new TreeExpansionListener() {
public void treeCollapsed(TreeExpansionEvent event) {
