Mars.Ma
5 years ago
7 changed files with 81 additions and 0 deletions
@ -0,0 +1,4 @@
|
||||
package com.fanruan.api.cal; |
||||
|
||||
public class Parameter extends com.fr.base.Parameter { |
||||
} |
@ -0,0 +1,11 @@
|
||||
package com.fanruan.api.data.impl; |
||||
|
||||
/** |
||||
* 列表数据连接组件 |
||||
*/ |
||||
public class NameDatabaseConnection extends com.fr.data.impl.NameDatabaseConnection { |
||||
public NameDatabaseConnection() { super();} |
||||
public NameDatabaseConnection(String name) { |
||||
super(name); |
||||
} |
||||
} |
@ -0,0 +1,17 @@
|
||||
package com.fanruan.api.design.ui.component; |
||||
|
||||
import com.fr.design.gui.itableeditorpane.UITableModelAdapter; |
||||
|
||||
/** |
||||
* 表格编辑面板 |
||||
* @param <T> |
||||
*/ |
||||
public class UITableEditorPane<T> extends com.fr.design.gui.itableeditorpane.UITableEditorPane<T> { |
||||
public UITableEditorPane(UITableModelAdapter<T> model){ |
||||
super(model); |
||||
} |
||||
|
||||
public UITableEditorPane(UITableModelAdapter<T> model, String string){ |
||||
super(model, string); |
||||
} |
||||
} |
@ -0,0 +1,10 @@
|
||||
package com.fanruan.api.design.ui.container; |
||||
|
||||
import com.fr.base.TableData; |
||||
|
||||
/** |
||||
* 表格面板 |
||||
* @param <T> |
||||
*/ |
||||
public abstract class AbstractTableDataPane<T extends TableData> extends com.fr.design.data.tabledata.tabledatapane.AbstractTableDataPane<T> { |
||||
} |
@ -0,0 +1,11 @@
|
||||
package com.fanruan.api.design.ui.container; |
||||
|
||||
/** |
||||
* SQL编辑面板 |
||||
*/ |
||||
public class UISQLEditPane extends com.fr.design.data.datapane.sqlpane.SQLEditPane { |
||||
public UISQLEditPane(){ super();} |
||||
public UISQLEditPane(boolean bool) { |
||||
super(bool); |
||||
} |
||||
} |
@ -0,0 +1,19 @@
|
||||
package com.fanruan.api.util; |
||||
|
||||
import com.fr.base.TemplateUtils; |
||||
|
||||
import java.util.Map; |
||||
|
||||
public class TemplateKit { |
||||
|
||||
/** |
||||
* 根据参数, 来计算文档字符串 |
||||
* @param tpl 文档来源 |
||||
* @param context 参数map |
||||
* @return 计算后结果 |
||||
* @throws Exception |
||||
*/ |
||||
public static String renderParameter4Tpl(String tpl, Map context) throws Exception { |
||||
return TemplateUtils.renderParameter4Tpl(tpl, context); |
||||
} |
||||
} |
Loading…
Reference in new issue