This commit is contained in:
honfika@gmail.com
2015-04-18 20:45:29 +02:00
parent 5e6d59a5a8
commit fdbffc4a43
11 changed files with 158 additions and 166 deletions

View File

@@ -290,13 +290,13 @@ public class DumpTree extends JTree implements ActionListener {
public DumpTreeModel getModel() {
return (DumpTreeModel) super.getModel();
}
public void expandRoot() {
DumpTreeModel dtm = getModel();
DumpInfo root = dtm.getRoot();
expandPath(new TreePath(new Object[]{root}));
}
public void expandFirstLevelNodes() {
DumpTreeModel dtm = getModel();
DumpInfo root = dtm.getRoot();