mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-07 16:55:07 +00:00
TagTree context menu moved to separate control, support to loadmultiple inner swfs from binary data tags
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user