From 57a82d195036c69daf18b4f02b629c438957f2a8 Mon Sep 17 00:00:00 2001 From: richie Date: Thu, 2 Jan 2020 19:55:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=84=E8=8C=83=E5=8C=96API=E8=B0=83?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/design/ui/component/present/DictionaryPane.java | 3 ++- .../ui/component/table/action/UITableEditAction.java | 8 ++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/fanruan/api/design/ui/component/present/DictionaryPane.java b/src/main/java/com/fanruan/api/design/ui/component/present/DictionaryPane.java index c956bae..1173f62 100644 --- a/src/main/java/com/fanruan/api/design/ui/component/present/DictionaryPane.java +++ b/src/main/java/com/fanruan/api/design/ui/component/present/DictionaryPane.java @@ -1,7 +1,7 @@ package com.fanruan.api.design.ui.component.present; - import com.fanruan.api.design.DesignKit; +import com.fr.common.annotations.Open; import com.fr.data.Dictionary; import com.fr.data.impl.DynamicSQLDict; import com.fr.design.beans.FurtherBasicBeanPane; @@ -27,6 +27,7 @@ import java.util.List; * Created by Kalven on 2019/9/4 * 数据字典容器,获取数据字典 */ +@Open public class DictionaryPane extends UIComboBoxPane implements DataCreatorUI { private TableDataDictPane tableDataDictPane; diff --git a/src/main/java/com/fanruan/api/design/ui/component/table/action/UITableEditAction.java b/src/main/java/com/fanruan/api/design/ui/component/table/action/UITableEditAction.java index 60da73c..d64cd97 100644 --- a/src/main/java/com/fanruan/api/design/ui/component/table/action/UITableEditAction.java +++ b/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; -public class UITableEditAction extends com.fr.design.gui.itableeditorpane.UITableEditAction { +/** + * 复杂表格的操作器。可以通过继承此类,实现复杂表格的添加行、删除行、调整行顺序等操作 + */ +public class UITableEditAction extends com.fr.design.gui.itableeditorpane.UITableEditAction { @Override - public void checkEnabled(){}; + public void checkEnabled() { + } @Override public void actionPerformed(ActionEvent e) {