Removing BUTTONCONDACTION, CLIPACTIONRECORD.

Updating messagebox about removing - it is different for "remove with dependencies" and simple "remove". Languages manually updated.
This commit is contained in:
Jindra Petřík
2021-02-15 23:33:06 +01:00
parent c7c8572c0c
commit 60c4cff6fb
24 changed files with 221 additions and 19 deletions

View File

@@ -12,7 +12,8 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
* License along with this library.
*/
package com.jpexs.decompiler.flash.tags;
import com.jpexs.decompiler.flash.SWF;
@@ -456,4 +457,14 @@ public class PlaceObject2Tag extends PlaceObjectTypeTag implements ASMSourceCont
public Integer getVisible() {
return null;
}
@Override
public void setClipActions(CLIPACTIONS clipActions) {
this.clipActions = clipActions;
}
@Override
public void setPlaceFlagHasClipActions(boolean placeFlagHasClipActions) {
this.placeFlagHasClipActions = placeFlagHasClipActions;
}
}

View File

@@ -12,7 +12,8 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
* License along with this library.
*/
package com.jpexs.decompiler.flash.tags;
import com.jpexs.decompiler.flash.EndOfStreamException;
@@ -641,4 +642,14 @@ public class PlaceObject3Tag extends PlaceObjectTypeTag implements ASMSourceCont
}
return null;
}
@Override
public void setClipActions(CLIPACTIONS clipActions) {
this.clipActions = clipActions;
}
@Override
public void setPlaceFlagHasClipActions(boolean placeFlagHasClipActions) {
this.placeFlagHasClipActions = placeFlagHasClipActions;
}
}

View File

@@ -12,7 +12,8 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
* License along with this library.
*/
package com.jpexs.decompiler.flash.tags;
import com.jpexs.decompiler.flash.EndOfStreamException;
@@ -662,4 +663,14 @@ public class PlaceObject4Tag extends PlaceObjectTypeTag implements ASMSourceCont
}
return null;
}
@Override
public void setClipActions(CLIPACTIONS clipActions) {
this.clipActions = clipActions;
}
@Override
public void setPlaceFlagHasClipActions(boolean placeFlagHasClipActions) {
this.placeFlagHasClipActions = placeFlagHasClipActions;
}
}

View File

@@ -12,7 +12,8 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
* License along with this library.
*/
package com.jpexs.decompiler.flash.tags;
import com.jpexs.decompiler.flash.SWF;
@@ -270,4 +271,14 @@ public class PlaceObjectTag extends PlaceObjectTypeTag {
public Integer getVisible() {
return null;
}
@Override
public void setClipActions(CLIPACTIONS clipActions) {
}
@Override
public void setPlaceFlagHasClipActions(boolean placeFlagHasClipActions) {
}
}

View File

@@ -12,7 +12,8 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
* License along with this library.
*/
package com.jpexs.decompiler.flash.tags.base;
import com.jpexs.decompiler.flash.SWF;
@@ -82,6 +83,10 @@ public abstract class PlaceObjectTypeTag extends Tag implements CharacterIdTag {
public abstract Amf3Value getAmfData();
public abstract void setClipActions(CLIPACTIONS clipActions);
public abstract void setPlaceFlagHasClipActions(boolean placeFlagHasClipActions);
@Override
public String getName() {
String result = super.getName();