Kalven
5 years ago
11 changed files with 33 additions and 104 deletions
@ -1,11 +0,0 @@
|
||||
package com.fanruan.api.design.ui.container; |
||||
|
||||
/** |
||||
* 定义弹窗适配器,可以监听事件实现弹框功能 |
||||
*/ |
||||
public class DialogActionAdapter extends com.fr.design.dialog.DialogActionAdapter { |
||||
|
||||
public DialogActionAdapter() { |
||||
|
||||
} |
||||
} |
@ -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> { |
||||
} |
@ -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); |
||||
} |
||||
} |
@ -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); |
||||
} |
||||
} |
@ -1,4 +1,4 @@
|
||||
package com.fanruan.api.design.ui.container; |
||||
package com.fanruan.api.design.work; |
||||
|
||||
import com.fr.stable.ParameterProvider; |
||||
|
@ -1,7 +0,0 @@
|
||||
package com.fanruan.api.io; |
||||
|
||||
/** |
||||
* 需要进行XML读写的类,该类是数据源类的一个子类 |
||||
*/ |
||||
public abstract class IOFile extends com.fr.base.io.IOFile { |
||||
} |
@ -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; |
||||
} |
||||
|
||||
} |
@ -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(); |
||||
} |
||||
} |
@ -1,7 +0,0 @@
|
||||
package com.fanruan.api.structure; |
||||
|
||||
/** |
||||
* 表达式 |
||||
*/ |
||||
public class Expression extends com.fr.stable.script.Expression { |
||||
} |
@ -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…
Reference in new issue