Browse Source

KERNEL-1118 将插件中设计到的能包装的类全部加一层包装。

pull/1/head
Mars.Ma 5 years ago
parent
commit
b8bc6e0106
  1. 9
      src/main/java/com/fanruan/api/design/ui/condition/ConditionAttrSingleConditionPane.java
  2. 5
      src/main/java/com/fanruan/api/design/ui/layout/Style.java
  3. 8
      src/main/java/com/fanruan/api/report/cell/AbstractStyleHighlightAction.java
  4. 3
      src/main/java/com/fanruan/api/stable/Constants.java
  5. 4
      src/main/java/com/fanruan/api/util/PluginLicenseManagerKit.java

9
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; import com.fr.design.condition.ConditionAttributesPane;
public abstract class ConditionAttrSingleConditionPane<T> extends com.fr.design.condition.ConditionAttrSingleConditionPane<T> { public abstract class ConditionAttrSingleConditionPane<T> extends com.fr.design.condition.ConditionAttrSingleConditionPane<T> {
/**
* 调用父类构造函数进行初始化
* @param conditionAttributesPane
*/
public ConditionAttrSingleConditionPane(ConditionAttributesPane conditionAttributesPane){ public ConditionAttrSingleConditionPane(ConditionAttributesPane conditionAttributesPane){
super(conditionAttributesPane); super(conditionAttributesPane);
} }
/**
* 调用父类构造函数进行初始化
* @param conditionAttributesPane
* @param var
*/
public ConditionAttrSingleConditionPane(ConditionAttributesPane conditionAttributesPane, boolean var){ public ConditionAttrSingleConditionPane(ConditionAttributesPane conditionAttributesPane, boolean var){
super(conditionAttributesPane, var); super(conditionAttributesPane, var);
} }

5
src/main/java/com/fanruan/api/design/ui/layout/Style.java

@ -1,5 +0,0 @@
package com.fanruan.api.design.ui.layout;
public class Style extends com.fr.base.Style{
}

8
src/main/java/com/fanruan/api/report/cell/AbstractStyleHighlightAction.java

@ -1,8 +1,16 @@
package com.fanruan.api.report.cell; package com.fanruan.api.report.cell;
public abstract class AbstractStyleHighlightAction extends com.fr.report.cell.cellattr.highlight.AbstractStyleHighlightAction{ public abstract class AbstractStyleHighlightAction extends com.fr.report.cell.cellattr.highlight.AbstractStyleHighlightAction{
/**
* 默认构造方法
*/
public AbstractStyleHighlightAction() { public AbstractStyleHighlightAction() {
} }
/**
* 调用父类构造方法初始化scope属性
* @param scope 类属性
*/
public AbstractStyleHighlightAction(int scope) { public AbstractStyleHighlightAction(int scope) {
super(scope); super(scope);
} }

3
src/main/java/com/fanruan/api/stable/Constants.java

@ -1,4 +1,7 @@
package com.fanruan.api.stable; package com.fanruan.api.stable;
/**
* 常量集合
*/
public class Constants extends com.fr.stable.Constants { public class Constants extends com.fr.stable.Constants {
} }

4
src/main/java/com/fanruan/api/util/PluginLicenseManagerKit.java

@ -3,6 +3,10 @@ package com.fanruan.api.util;
import com.fr.plugin.PluginLicenseManager; import com.fr.plugin.PluginLicenseManager;
public class PluginLicenseManagerKit { public class PluginLicenseManagerKit {
/**
* 获取PluginLicenseManager对象的方法且返回的对象为同一个
* @return 返回值为单例模式下的PluginLicenseManager对象
*/
public static PluginLicenseManager getInstance() { public static PluginLicenseManager getInstance() {
return PluginLicenseManager.getInstance(); return PluginLicenseManager.getInstance();
} }

Loading…
Cancel
Save