Browse Source

KERNEL-1117 根据要求进行修改

remotes/1611766341912730171/master
Kalven 5 years ago
parent
commit
ccb9f387ea
  1. 4
      src/main/java/com/fanruan/api/design/ui/component/UIQuickList.java
  2. 11
      src/main/java/com/fanruan/api/design/ui/container/DialogActionAdapter.java
  3. 8
      src/main/java/com/fanruan/api/design/ui/container/FurtherBasicBeanPane.java
  4. 17
      src/main/java/com/fanruan/api/design/util/NameAndFunctionList.java
  5. 15
      src/main/java/com/fanruan/api/design/util/NameAndTypeAndFunctionList.java
  6. 2
      src/main/java/com/fanruan/api/design/work/ParameterInputPane.java
  7. 7
      src/main/java/com/fanruan/api/io/IOFile.java
  8. 30
      src/main/java/com/fanruan/api/macro/OperatingSystem.java
  9. 18
      src/main/java/com/fanruan/api/macro/OperatingSystemKit.java
  10. 7
      src/main/java/com/fanruan/api/structure/Expression.java
  11. 18
      src/main/java/com/fanruan/api/structure/Parameter.java

4
src/main/java/com/fanruan/api/design/ui/component/QuickList.java → src/main/java/com/fanruan/api/design/ui/component/UIQuickList.java

@ -5,8 +5,8 @@ import javax.swing.*;
/** /**
* 支持键盘输入快速查找项的JList * 支持键盘输入快速查找项的JList
*/ */
public class QuickList extends com.fr.design.gui.ilist.QuickList { public class UIQuickList extends com.fr.design.gui.ilist.QuickList {
public QuickList(ListModel listModel) { public UIQuickList(ListModel listModel) {
super(listModel); super(listModel);
} }
} }

11
src/main/java/com/fanruan/api/design/ui/container/DialogActionAdapter.java

@ -1,11 +0,0 @@
package com.fanruan.api.design.ui.container;
/**
* 定义弹窗适配器可以监听事件实现弹框功能
*/
public class DialogActionAdapter extends com.fr.design.dialog.DialogActionAdapter {
public DialogActionAdapter() {
}
}

8
src/main/java/com/fanruan/api/design/ui/container/FurtherBasicBeanPane.java

@ -1,8 +0,0 @@
package com.fanruan.api.design.ui.container;
/**
* 对基本的容器做了进一步封装提供了通用的方法
* @param <T>
*/
public abstract class FurtherBasicBeanPane<T> extends com.fr.design.beans.FurtherBasicBeanPane<T> {
}

17
src/main/java/com/fanruan/api/design/util/NameAndFunctionList.java

@ -1,17 +0,0 @@
package com.fanruan.api.design.util;
import com.fr.stable.script.Function;
import java.util.Arrays;
/**
* 名称对应的函数列表
* @author Kalven
* @version 10.0
* Created by Kalven on 2019/8/31
*/
public class NameAndFunctionList extends com.fr.design.formula.NameAndFunctionList {
public NameAndFunctionList(String name, Function[] fns) {
super(name, fns);
}
}

15
src/main/java/com/fanruan/api/design/util/NameAndTypeAndFunctionList.java

@ -1,15 +0,0 @@
package com.fanruan.api.design.util;
import com.fr.stable.script.Function;
/**
* 名字和类型对应的函数列表
* @author Kalven
* @version 10.0
* Created by Kalven on 2019/8/31
*/
public class NameAndTypeAndFunctionList extends com.fr.design.formula.NameAndTypeAndFunctionList {
public NameAndTypeAndFunctionList(String name, Function.Type type) {
super(name, type);
}
}

2
src/main/java/com/fanruan/api/design/ui/container/ParameterInputPane.java → src/main/java/com/fanruan/api/design/work/ParameterInputPane.java

@ -1,4 +1,4 @@
package com.fanruan.api.design.ui.container; package com.fanruan.api.design.work;
import com.fr.stable.ParameterProvider; import com.fr.stable.ParameterProvider;

7
src/main/java/com/fanruan/api/io/IOFile.java

@ -1,7 +0,0 @@
package com.fanruan.api.io;
/**
* 需要进行XML读写的类该类是数据源类的一个子类
*/
public abstract class IOFile extends com.fr.base.io.IOFile {
}

30
src/main/java/com/fanruan/api/macro/OperatingSystem.java

@ -0,0 +1,30 @@
package com.fanruan.api.macro;
import com.fr.stable.os.AbstractOperatingSystem;
/**
* @author Kalven
* @version 10.0
* Created by Kalven on 2019/8/31
*/
public class OperatingSystem {
private static final AbstractOperatingSystem myOS = com.fr.stable.os.OperatingSystem.getOperatingSystem();
private OperatingSystem() {
}
public static boolean isWindows() {
return myOS.getType() == com.fr.stable.os.OperatingSystem.WINDOWS;
}
public static boolean isUnix() {
return myOS.isUnix();
}
public static boolean isMacOS() {
return myOS.getType() == com.fr.stable.os.OperatingSystem.MACOS;
}
}

18
src/main/java/com/fanruan/api/macro/OperatingSystemKit.java

@ -1,18 +0,0 @@
package com.fanruan.api.macro;
import com.fr.stable.OperatingSystem;
/**
* @author Kalven
* @version 10.0
* Created by Kalven on 2019/8/31
*/
public class OperatingSystemKit {
/**
* 判断是否为windows
* @return 判断结果
*/
public static boolean isWindows() {
return OperatingSystem.isWindows();
}
}

7
src/main/java/com/fanruan/api/structure/Expression.java

@ -1,7 +0,0 @@
package com.fanruan.api.structure;
/**
* 表达式
*/
public class Expression extends com.fr.stable.script.Expression {
}

18
src/main/java/com/fanruan/api/structure/Parameter.java

@ -1,18 +0,0 @@
package com.fanruan.api.structure;
/**
* 参数参数是可以动态赋值的对象
*/
public class Parameter extends com.fr.base.Parameter {
public Parameter() {
super();
}
public Parameter(String text) {
super(text);
}
public Parameter(String name, Object value) {
super(name, value);
}
}
Loading…
Cancel
Save