Browse Source

规范化API调用

pull/1/head
richie 5 years ago
parent
commit
57a82d1950
  1. 3
      src/main/java/com/fanruan/api/design/ui/component/present/DictionaryPane.java
  2. 6
      src/main/java/com/fanruan/api/design/ui/component/table/action/UITableEditAction.java

3
src/main/java/com/fanruan/api/design/ui/component/present/DictionaryPane.java

@ -1,7 +1,7 @@
package com.fanruan.api.design.ui.component.present; package com.fanruan.api.design.ui.component.present;
import com.fanruan.api.design.DesignKit; import com.fanruan.api.design.DesignKit;
import com.fr.common.annotations.Open;
import com.fr.data.Dictionary; import com.fr.data.Dictionary;
import com.fr.data.impl.DynamicSQLDict; import com.fr.data.impl.DynamicSQLDict;
import com.fr.design.beans.FurtherBasicBeanPane; import com.fr.design.beans.FurtherBasicBeanPane;
@ -27,6 +27,7 @@ import java.util.List;
* Created by Kalven on 2019/9/4 * Created by Kalven on 2019/9/4
* 数据字典容器获取数据字典 * 数据字典容器获取数据字典
*/ */
@Open
public class DictionaryPane extends UIComboBoxPane<Dictionary> implements DataCreatorUI { public class DictionaryPane extends UIComboBoxPane<Dictionary> implements DataCreatorUI {
private TableDataDictPane tableDataDictPane; private TableDataDictPane tableDataDictPane;

6
src/main/java/com/fanruan/api/design/ui/component/table/action/UITableEditAction.java

@ -2,10 +2,14 @@ package com.fanruan.api.design.ui.component.table.action;
import java.awt.event.ActionEvent; import java.awt.event.ActionEvent;
/**
* 复杂表格的操作器可以通过继承此类实现复杂表格的添加行删除行调整行顺序等操作
*/
public class UITableEditAction extends com.fr.design.gui.itableeditorpane.UITableEditAction { public class UITableEditAction extends com.fr.design.gui.itableeditorpane.UITableEditAction {
@Override @Override
public void checkEnabled(){}; public void checkEnabled() {
}
@Override @Override
public void actionPerformed(ActionEvent e) { public void actionPerformed(ActionEvent e) {

Loading…
Cancel
Save