From b8bc6e0106ff3e54ac3087e7ec65187c1f21a301 Mon Sep 17 00:00:00 2001 From: "Mars.Ma" Date: Fri, 30 Aug 2019 10:44:20 +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 --- .../ui/condition/ConditionAttrSingleConditionPane.java | 9 +++++++++ .../java/com/fanruan/api/design/ui/layout/Style.java | 5 ----- .../api/report/cell/AbstractStyleHighlightAction.java | 8 ++++++++ src/main/java/com/fanruan/api/stable/Constants.java | 3 +++ .../com/fanruan/api/util/PluginLicenseManagerKit.java | 4 ++++ 5 files changed, 24 insertions(+), 5 deletions(-) delete mode 100644 src/main/java/com/fanruan/api/design/ui/layout/Style.java 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 index 5783379..144fed8 100644 --- a/src/main/java/com/fanruan/api/design/ui/condition/ConditionAttrSingleConditionPane.java +++ b/src/main/java/com/fanruan/api/design/ui/condition/ConditionAttrSingleConditionPane.java @@ -3,10 +3,19 @@ package com.fanruan.api.design.ui.condition; import com.fr.design.condition.ConditionAttributesPane; public abstract class ConditionAttrSingleConditionPane extends com.fr.design.condition.ConditionAttrSingleConditionPane { + /** + * 调用父类构造函数进行初始化 + * @param conditionAttributesPane + */ public ConditionAttrSingleConditionPane(ConditionAttributesPane conditionAttributesPane){ super(conditionAttributesPane); } + /** + * 调用父类构造函数进行初始化 + * @param conditionAttributesPane + * @param var + */ public ConditionAttrSingleConditionPane(ConditionAttributesPane conditionAttributesPane, boolean var){ super(conditionAttributesPane, var); } 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 deleted file mode 100644 index 50a719f..0000000 --- a/src/main/java/com/fanruan/api/design/ui/layout/Style.java +++ /dev/null @@ -1,5 +0,0 @@ -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 index b92b1c3..04028b9 100644 --- a/src/main/java/com/fanruan/api/report/cell/AbstractStyleHighlightAction.java +++ b/src/main/java/com/fanruan/api/report/cell/AbstractStyleHighlightAction.java @@ -1,8 +1,16 @@ package com.fanruan.api.report.cell; public abstract class AbstractStyleHighlightAction extends com.fr.report.cell.cellattr.highlight.AbstractStyleHighlightAction{ + /** + * 默认构造方法 + */ public AbstractStyleHighlightAction() { } + + /** + * 调用父类构造方法,初始化scope属性。 + * @param scope 类属性 + */ 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 index 9e84688..da34fe3 100644 --- a/src/main/java/com/fanruan/api/stable/Constants.java +++ b/src/main/java/com/fanruan/api/stable/Constants.java @@ -1,4 +1,7 @@ package com.fanruan.api.stable; +/** + * 常量集合 + */ public class Constants extends com.fr.stable.Constants { } diff --git a/src/main/java/com/fanruan/api/util/PluginLicenseManagerKit.java b/src/main/java/com/fanruan/api/util/PluginLicenseManagerKit.java index f18cd6c..cccb86b 100644 --- a/src/main/java/com/fanruan/api/util/PluginLicenseManagerKit.java +++ b/src/main/java/com/fanruan/api/util/PluginLicenseManagerKit.java @@ -3,6 +3,10 @@ package com.fanruan.api.util; import com.fr.plugin.PluginLicenseManager; public class PluginLicenseManagerKit { + /** + * 获取PluginLicenseManager对象的方法且返回的对象为同一个。 + * @return 返回值为单例模式下的PluginLicenseManager对象。 + */ public static PluginLicenseManager getInstance() { return PluginLicenseManager.getInstance(); }