mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-08 10:33:42 +00:00
Removed: Option to preview flash items via ActiveX component is no longer available. FFDec now supports its internal flash viewer only.
This commit is contained in:
@@ -112,6 +112,7 @@ public final class Configuration {
|
||||
*/
|
||||
@ConfigurationDefaultBoolean(false)
|
||||
@ConfigurationInternal
|
||||
@ConfigurationRemoved
|
||||
public static ConfigurationItem<Boolean> useAdobeFlashPlayerForPreviews = null;
|
||||
|
||||
@ConfigurationDefaultInt(1000)
|
||||
@@ -565,6 +566,7 @@ public final class Configuration {
|
||||
|
||||
@ConfigurationDefaultBoolean(false)
|
||||
//@ConfigurationCategory("script")
|
||||
@ConfigurationRemoved
|
||||
public static ConfigurationItem<Boolean> enableScriptInitializerDisplay = null;
|
||||
|
||||
@ConfigurationDefaultBoolean(false)
|
||||
@@ -788,6 +790,7 @@ public final class Configuration {
|
||||
|
||||
@ConfigurationDefaultBoolean(false)
|
||||
@ConfigurationCategory("display")
|
||||
@ConfigurationRemoved
|
||||
public static ConfigurationItem<Boolean> allowMiterClipLinestyle = null;
|
||||
|
||||
@ConfigurationDefaultBoolean(true)
|
||||
@@ -1554,6 +1557,10 @@ public final class Configuration {
|
||||
Field[] fields = Configuration.class.getDeclaredFields();
|
||||
Map<String, Field> result = new HashMap<>();
|
||||
for (Field field : fields) {
|
||||
ConfigurationRemoved removedAnnotation = field.getAnnotation(ConfigurationRemoved.class);
|
||||
if (removedAnnotation != null) {
|
||||
continue;
|
||||
}
|
||||
if (ConfigurationItem.class.isAssignableFrom(field.getType())) {
|
||||
String name = ConfigurationItem.getName(field);
|
||||
if (lowerCaseNames) {
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 JPEXS, All rights reserved.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3.0 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.configuration;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* Configuration removed annotation.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.FIELD)
|
||||
public @interface ConfigurationRemoved {
|
||||
}
|
||||
Reference in New Issue
Block a user