mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-27 23:45:41 +00:00
Do not allow removing compound items
This commit is contained in:
@@ -54,8 +54,10 @@ public class AS3Package extends AS3ClassTreeItem {
|
||||
private ABC abc;
|
||||
|
||||
private ScriptPack compoundInitializerPack = null;
|
||||
|
||||
private boolean partOfCompoundScript;
|
||||
|
||||
public AS3Package(String packageName, Openable openable, boolean flat, boolean defaultPackage, ABC abc, Integer compoundScriptIndex) {
|
||||
public AS3Package(String packageName, Openable openable, boolean flat, boolean defaultPackage, ABC abc, boolean partOfCompoundScript, Integer compoundScriptIndex) {
|
||||
super(packageName, "", null);
|
||||
this.flat = flat;
|
||||
this.openable = openable;
|
||||
@@ -63,8 +65,13 @@ public class AS3Package extends AS3ClassTreeItem {
|
||||
this.defaultPackage = defaultPackage;
|
||||
this.compoundScriptIndex = compoundScriptIndex;
|
||||
this.abc = abc;
|
||||
this.partOfCompoundScript = partOfCompoundScript;
|
||||
}
|
||||
|
||||
public boolean isPartOfCompoundScript() {
|
||||
return partOfCompoundScript;
|
||||
}
|
||||
|
||||
public void setCompoundInitializerPack(ScriptPack compoundInitializerPack) {
|
||||
this.compoundInitializerPack = compoundInitializerPack;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user