mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-01 04:51:28 +00:00
prepare for Issue #350 (Allow to open multiple SWF files into the same ffdec instance) 3
This commit is contained in:
@@ -268,10 +268,22 @@ public class ABCPanel extends JPanel implements ItemListener, ActionListener, Fr
|
||||
//colModel.getColumn(0).setMaxWidth(50);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public void clearSwf() {
|
||||
this.list = null;
|
||||
this.swf = null;
|
||||
this.abc = null;
|
||||
constantTable.setModel(new DefaultTableModel());
|
||||
classTree.clearDoABCTags();
|
||||
abcComboBox.setModel(new ABCComboBoxModel(new ArrayList<ABCContainerTag>()));
|
||||
navigator.clearABC();
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public void setSwf(List<ABCContainerTag> list, SWF swf) {
|
||||
this.list = list;
|
||||
this.swf = swf;
|
||||
listIndex = -1;
|
||||
switchAbc(0); // todo honika: do we need this?
|
||||
abcComboBox.setModel(new ABCComboBoxModel(list));
|
||||
if (list.size() > 0) {
|
||||
|
||||
Reference in New Issue
Block a user