allow adding new tags (todo: add constructor for all supported tagtypes)

This commit is contained in:
honfika@gmail.com
2014-11-05 00:12:57 +01:00
parent 49765d71b7
commit e7b2fbdfa2
9 changed files with 196 additions and 102 deletions

View File

@@ -28,6 +28,7 @@ import com.jpexs.decompiler.flash.exporters.modes.ScriptExportMode;
import com.jpexs.decompiler.flash.exporters.modes.ShapeExportMode;
import com.jpexs.decompiler.flash.exporters.modes.SoundExportMode;
import com.jpexs.decompiler.flash.exporters.modes.TextExportMode;
import com.jpexs.decompiler.flash.gui.tagtree.TagTreeModel;
import com.jpexs.decompiler.flash.tags.DefineBinaryDataTag;
import com.jpexs.decompiler.flash.tags.DefineVideoStreamTag;
import com.jpexs.decompiler.flash.tags.base.ASMSource;
@@ -65,16 +66,16 @@ public class ExportDialog extends AppDialog {
boolean cancelled = false;
String[] optionNames = {
"shapes",
"texts",
"images",
"movies",
"sounds",
"scripts",
"binaryData",
"frames",
"fonts",
"morphshapes"
TagTreeModel.FOLDER_SHAPES,
TagTreeModel.FOLDER_TEXTS,
TagTreeModel.FOLDER_IMAGES,
TagTreeModel.FOLDER_MOVIES,
TagTreeModel.FOLDER_SOUNDS,
TagTreeModel.FOLDER_SPRITES,
TagTreeModel.FOLDER_BINARY_DATA,
TagTreeModel.FOLDER_FRAMES,
TagTreeModel.FOLDER_FONTS,
TagTreeModel.FOLDER_MORPHSHAPES
};
//Display options only when these classes found