mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 15:51:33 +00:00
xml import fixes
This commit is contained in:
@@ -444,8 +444,6 @@ public class ABCPanel extends JPanel implements ItemListener, ActionListener, Se
|
||||
}
|
||||
});
|
||||
|
||||
Main.startWork(AppStrings.translate("work.buildingscripttree") + "...");
|
||||
|
||||
tabbedPane = new JTabbedPane();
|
||||
tabbedPane.addTab(AppStrings.translate("traits"), navPanel);
|
||||
add(splitPane, BorderLayout.CENTER);
|
||||
|
||||
@@ -235,6 +235,7 @@ public class TagTreeContextMenu extends JPopupMenu implements ActionListener {
|
||||
jumpToCharacterMenuItem.setVisible(false);
|
||||
exportJavaSourceMenuItem.setVisible(allSelectedIsSwf);
|
||||
exportSwfXmlMenuItem.setVisible(allSelectedIsSwf);
|
||||
importSwfXmlMenuItem.setVisible(allSelectedIsSwf);
|
||||
closeMenuItem.setVisible(allSelectedIsSwf);
|
||||
addTagMenu.setVisible(false);
|
||||
moveTagMenu.setVisible(false);
|
||||
|
||||
@@ -19,6 +19,7 @@ package com.jpexs.decompiler.flash.gui.tagtree;
|
||||
import com.jpexs.decompiler.flash.SWF;
|
||||
import com.jpexs.decompiler.flash.SWFContainerItem;
|
||||
import com.jpexs.decompiler.flash.gui.AppStrings;
|
||||
import com.jpexs.decompiler.flash.gui.Main;
|
||||
import com.jpexs.decompiler.flash.gui.TreeNodeType;
|
||||
import com.jpexs.decompiler.flash.gui.abc.ClassesListTreeModel;
|
||||
import com.jpexs.decompiler.flash.tags.DefineBinaryDataTag;
|
||||
@@ -73,6 +74,7 @@ public class TagTreeModel implements TreeModel {
|
||||
this.swfs = new ArrayList<>();
|
||||
this.swfFolders = new HashMap<>();
|
||||
this.addAllFolders = addAllFolders;
|
||||
Main.startWork(AppStrings.translate("work.buildingscripttree") + "...");
|
||||
for (SWFList swfList : swfs) {
|
||||
if (swfList.isBundle) {
|
||||
this.swfs.add(swfList);
|
||||
@@ -85,6 +87,7 @@ public class TagTreeModel implements TreeModel {
|
||||
createTagList(swf);
|
||||
}
|
||||
}
|
||||
Main.stopWork();
|
||||
}
|
||||
|
||||
private String translate(String key) {
|
||||
|
||||
Reference in New Issue
Block a user