From c202c430b3d65480b142595762fbdebfa902cf67 Mon Sep 17 00:00:00 2001 From: "Mars.Ma" Date: Fri, 30 Aug 2019 09:56:33 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-1118=20=20=E5=B0=86=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E4=B8=AD=E8=AE=BE=E8=AE=A1=E5=88=B0=E7=9A=84=E8=83=BD=E5=8C=85?= =?UTF-8?q?=E8=A3=85=E7=9A=84=E7=B1=BB=E5=85=A8=E9=83=A8=E5=8A=A0=E4=B8=80?= =?UTF-8?q?=E5=B1=82=E5=8C=85=E8=A3=85=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/AbstractHighlightProvider.java | 4 +++ .../ConditionAttrSingleConditionPane.java | 13 +++++++ .../ui/condition/ConditionAttributesPane.java | 4 +++ .../layout/AbstractStyleHighlightAction.java | 5 +++ .../fanruan/api/design/ui/layout/Style.java | 5 +++ .../cell/AbstractStyleHighlightAction.java | 9 +++++ .../com/fanruan/api/stable/Constants.java | 4 +++ .../api/stable/fum/AbstractLocaleFinder.java | 4 +++ .../java/com/fanruan/api/util/AssistKit.java | 35 +++++++------------ .../api/util/PluginLicenseManagerKit.java | 9 +++++ 10 files changed, 69 insertions(+), 23 deletions(-) create mode 100644 src/main/java/com/fanruan/api/design/impl/AbstractHighlightProvider.java create mode 100644 src/main/java/com/fanruan/api/design/ui/condition/ConditionAttrSingleConditionPane.java create mode 100644 src/main/java/com/fanruan/api/design/ui/condition/ConditionAttributesPane.java create mode 100644 src/main/java/com/fanruan/api/design/ui/layout/AbstractStyleHighlightAction.java create mode 100644 src/main/java/com/fanruan/api/design/ui/layout/Style.java create mode 100644 src/main/java/com/fanruan/api/report/cell/AbstractStyleHighlightAction.java create mode 100644 src/main/java/com/fanruan/api/stable/Constants.java create mode 100644 src/main/java/com/fanruan/api/stable/fum/AbstractLocaleFinder.java create mode 100644 src/main/java/com/fanruan/api/util/PluginLicenseManagerKit.java diff --git a/src/main/java/com/fanruan/api/design/impl/AbstractHighlightProvider.java b/src/main/java/com/fanruan/api/design/impl/AbstractHighlightProvider.java new file mode 100644 index 0000000..d871590 --- /dev/null +++ b/src/main/java/com/fanruan/api/design/impl/AbstractHighlightProvider.java @@ -0,0 +1,4 @@ +package com.fanruan.api.design.impl; + +public abstract class AbstractHighlightProvider extends com.fr.design.fun.impl.AbstractHighlightProvider { +} diff --git a/src/main/java/com/fanruan/api/design/ui/condition/ConditionAttrSingleConditionPane.java b/src/main/java/com/fanruan/api/design/ui/condition/ConditionAttrSingleConditionPane.java new file mode 100644 index 0000000..5783379 --- /dev/null +++ b/src/main/java/com/fanruan/api/design/ui/condition/ConditionAttrSingleConditionPane.java @@ -0,0 +1,13 @@ +package com.fanruan.api.design.ui.condition; + +import com.fr.design.condition.ConditionAttributesPane; + +public abstract class ConditionAttrSingleConditionPane extends com.fr.design.condition.ConditionAttrSingleConditionPane { + public ConditionAttrSingleConditionPane(ConditionAttributesPane conditionAttributesPane){ + super(conditionAttributesPane); + } + + public ConditionAttrSingleConditionPane(ConditionAttributesPane conditionAttributesPane, boolean var){ + super(conditionAttributesPane, var); + } +} diff --git a/src/main/java/com/fanruan/api/design/ui/condition/ConditionAttributesPane.java b/src/main/java/com/fanruan/api/design/ui/condition/ConditionAttributesPane.java new file mode 100644 index 0000000..a3d00d4 --- /dev/null +++ b/src/main/java/com/fanruan/api/design/ui/condition/ConditionAttributesPane.java @@ -0,0 +1,4 @@ +package com.fanruan.api.design.ui.condition; + +public abstract class ConditionAttributesPane extends com.fr.design.condition.ConditionAttributesPane { +} diff --git a/src/main/java/com/fanruan/api/design/ui/layout/AbstractStyleHighlightAction.java b/src/main/java/com/fanruan/api/design/ui/layout/AbstractStyleHighlightAction.java new file mode 100644 index 0000000..b58615f --- /dev/null +++ b/src/main/java/com/fanruan/api/design/ui/layout/AbstractStyleHighlightAction.java @@ -0,0 +1,5 @@ +package com.fanruan.api.design.ui.layout; + +public abstract class AbstractStyleHighlightAction extends com.fr.report.cell.cellattr.highlight.AbstractStyleHighlightAction{ + +} diff --git a/src/main/java/com/fanruan/api/design/ui/layout/Style.java b/src/main/java/com/fanruan/api/design/ui/layout/Style.java new file mode 100644 index 0000000..50a719f --- /dev/null +++ b/src/main/java/com/fanruan/api/design/ui/layout/Style.java @@ -0,0 +1,5 @@ +package com.fanruan.api.design.ui.layout; + +public class Style extends com.fr.base.Style{ + +} diff --git a/src/main/java/com/fanruan/api/report/cell/AbstractStyleHighlightAction.java b/src/main/java/com/fanruan/api/report/cell/AbstractStyleHighlightAction.java new file mode 100644 index 0000000..b92b1c3 --- /dev/null +++ b/src/main/java/com/fanruan/api/report/cell/AbstractStyleHighlightAction.java @@ -0,0 +1,9 @@ +package com.fanruan.api.report.cell; + +public abstract class AbstractStyleHighlightAction extends com.fr.report.cell.cellattr.highlight.AbstractStyleHighlightAction{ + public AbstractStyleHighlightAction() { + } + public AbstractStyleHighlightAction(int scope) { + super(scope); + } +} diff --git a/src/main/java/com/fanruan/api/stable/Constants.java b/src/main/java/com/fanruan/api/stable/Constants.java new file mode 100644 index 0000000..9e84688 --- /dev/null +++ b/src/main/java/com/fanruan/api/stable/Constants.java @@ -0,0 +1,4 @@ +package com.fanruan.api.stable; + +public class Constants extends com.fr.stable.Constants { +} diff --git a/src/main/java/com/fanruan/api/stable/fum/AbstractLocaleFinder.java b/src/main/java/com/fanruan/api/stable/fum/AbstractLocaleFinder.java new file mode 100644 index 0000000..91c251d --- /dev/null +++ b/src/main/java/com/fanruan/api/stable/fum/AbstractLocaleFinder.java @@ -0,0 +1,4 @@ +package com.fanruan.api.stable.fum; + +public abstract class AbstractLocaleFinder extends com.fr.stable.fun.impl.AbstractLocaleFinder { +} diff --git a/src/main/java/com/fanruan/api/util/AssistKit.java b/src/main/java/com/fanruan/api/util/AssistKit.java index 5fd70ae..4f52ac3 100644 --- a/src/main/java/com/fanruan/api/util/AssistKit.java +++ b/src/main/java/com/fanruan/api/util/AssistKit.java @@ -5,8 +5,8 @@ import com.fr.stable.AssistUtils; public class AssistKit { /** * 比较两个双精度浮点型数据是否相等 - * @param parm1 - * @param parm2 + * @param parm1 第一个double数据 + * @param parm2 第二个double数据 * @return 相等返回true 错误返回false */ public static boolean equals(double parm1, double parm2) { @@ -15,8 +15,8 @@ public class AssistKit { /** * 比较两个单精度浮点型数据是否相等 - * @param parm1 - * @param parm2 + * @param parm1 第一个float数据 + * @param parm2 第二个float数据 * @return 相等返回true 错误返回false */ public static boolean equals(float parm1, float parm2) { @@ -25,8 +25,8 @@ public class AssistKit { /** * 判断两个Object类型数据是否相等 - * @param parm1 - * @param parm2 + * @param parm1 第一个Object数据 + * @param parm2 第二个 * @return 相等返回true 错误返回false */ public static boolean equals(Object parm1, Object parm2) { @@ -35,8 +35,8 @@ public class AssistKit { /** * 判断两个int类型数据是否相等 - * @param parm1 - * @param parm2 + * @param parm1 第一个int数据 + * @param parm2 第二个int数据 * @return 相等返回0,如果parm1大于parm2 返回1否则返回-1 */ public static int compare(int parm1, int parm2) { @@ -45,8 +45,8 @@ public class AssistKit { /** * 判断两个long类型数据是否相等 - * @param parm1 - * @param parm2 + * @param parm1 第一个long数据 + * @param parm2 第二个long数据 * @return 相等返回0,如果parm1大于parm2 返回1否则返回-1 */ public static int compare(long parm1, long parm2) { @@ -55,7 +55,7 @@ public class AssistKit { /** * 生成对象的哈希码值 - * @param parm + * @param parm 需要获取hashcode的Object数据 * @return 返回对象的哈希码值 */ public static int hashCode(Object... parm) { @@ -64,22 +64,11 @@ public class AssistKit { /** * 返回反映这个对象的字符串 - * @param parm + * @param parm 需要获取描述字符串的Object数据 * @return 返回反映这个对象的字符串 */ public static String toString(Object parm) { return AssistUtils.toString(parm); } - /** - * - * @param parm1 - * @param parm2 - * @return - */ -// public static String toString(Object parm1, String... parm2) { -// return AssistUtils.toString(parm1, parm2); -// } - - } diff --git a/src/main/java/com/fanruan/api/util/PluginLicenseManagerKit.java b/src/main/java/com/fanruan/api/util/PluginLicenseManagerKit.java new file mode 100644 index 0000000..f18cd6c --- /dev/null +++ b/src/main/java/com/fanruan/api/util/PluginLicenseManagerKit.java @@ -0,0 +1,9 @@ +package com.fanruan.api.util; + +import com.fr.plugin.PluginLicenseManager; + +public class PluginLicenseManagerKit { + public static PluginLicenseManager getInstance() { + return PluginLicenseManager.getInstance(); + } +}