TagTree context menu moved to separate control, support to loadmultiple inner swfs from binary data tags

This commit is contained in:
honfika@gmail.com
2014-11-10 21:11:22 +01:00
parent 9129fd1010
commit 819fa5ee49
4 changed files with 430 additions and 339 deletions

View File

@@ -471,7 +471,7 @@ public final class MainPanel extends JPanel implements ActionListener, TreeSelec
}
});
tagTree.createContextMenu(swfs);
tagTree.createContextMenu();
dumpTree = new DumpTree(null, this);
dumpTree.addTreeSelectionListener(this);
@@ -1120,6 +1120,10 @@ public final class MainPanel extends JPanel implements ActionListener, TreeSelec
}
}
public List<SWFList> getSwfs() {
return swfs;
}
public SWFList getCurrentSwfList() {
SWF swf = getCurrentSwf();
if (swf == null) {
@@ -1140,7 +1144,7 @@ public final class MainPanel extends JPanel implements ActionListener, TreeSelec
return swfs.get(0).get(0);
}
if (treeNode instanceof SWFBundle) {
if (treeNode instanceof SWFList) {
return null;
}