prepare for Issue #350 (Allow to open multiple SWF files into the same ffdec instance) 2

This commit is contained in:
Honfika
2013-12-21 23:36:06 +01:00
parent 727d7a74e5
commit b9a1269505
30 changed files with 753 additions and 458 deletions
@@ -16,11 +16,16 @@
*/
package com.jpexs.decompiler.flash.gui.abc;
import com.jpexs.decompiler.flash.SWF;
import java.util.StringTokenizer;
public class Tree {
private final TreeElement ROOT = new TreeElement("", "", null, null);
private final TreeElement ROOT;
public Tree(SWF swf) {
ROOT = new TreeElement(swf, "", "", null, null);
}
public void add(String name, String path, Object item) {
StringTokenizer st = new StringTokenizer(path, ".");