mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-08 01:05:11 +00:00
Added #1232 Needed/dependent characters list in basic tag info can be expanded to show tag names
This commit is contained in:
@@ -603,6 +603,9 @@ public abstract class Tag implements NeedsCharacters, Exportable, Serializable {
|
||||
return needed;
|
||||
}
|
||||
Timelined tim = getTimelined();
|
||||
if (tim == null) {
|
||||
return needed;
|
||||
}
|
||||
ReadOnlyTagList tags = tim.getTags();
|
||||
for (int i = tags.indexOf(this) - 1; i >= -1; i--) {
|
||||
if (i == -1) {
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.tags;
|
||||
|
||||
import com.jpexs.decompiler.flash.SWF;
|
||||
import java.util.ArrayList;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
@@ -27,8 +28,17 @@ import java.util.Map;
|
||||
*/
|
||||
public class TagInfo {
|
||||
|
||||
private SWF swf;
|
||||
private final Map<String, List<TagInfoItem>> infos = new LinkedHashMap<>();
|
||||
|
||||
public TagInfo(SWF swf) {
|
||||
this.swf = swf;
|
||||
}
|
||||
|
||||
public SWF getSwf() {
|
||||
return swf;
|
||||
}
|
||||
|
||||
public void addInfo(String categoryName, String name, Object value) {
|
||||
categoryName = "general"; // temporary add everything to general catagory
|
||||
List<TagInfoItem> category = infos.get(categoryName);
|
||||
|
||||
Reference in New Issue
Block a user