From e8c55241c3d7cf3c3e29bb93d76de4fd2a34e15a Mon Sep 17 00:00:00 2001 From: plough Date: Thu, 7 Jun 2018 22:18:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=AF=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/com/fr/design/mainframe/FormModelAdapter.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/designer-form/src/com/fr/design/mainframe/FormModelAdapter.java b/designer-form/src/com/fr/design/mainframe/FormModelAdapter.java index 0ecedacaf..65e9d41d8 100644 --- a/designer-form/src/com/fr/design/mainframe/FormModelAdapter.java +++ b/designer-form/src/com/fr/design/mainframe/FormModelAdapter.java @@ -5,7 +5,11 @@ import com.fr.design.DesignModelAdapter; import com.fr.design.file.HistoryTemplateListPane; import com.fr.form.main.Form; import com.fr.form.main.WidgetGatherAdapter; -import com.fr.form.ui.*; +import com.fr.form.ui.BaseChartEditor; +import com.fr.form.ui.DataControl; +import com.fr.form.ui.ElementCaseEditor; +import com.fr.form.ui.MultiFileEditor; +import com.fr.form.ui.Widget; import com.fr.stable.js.WidgetName; import java.util.ArrayList; @@ -85,7 +89,7 @@ public class FormModelAdapter extends DesignModelAdapter { } public void dealWith(Widget widget) { - boolean isSupportAsHypelink = widget.acceptType(ElementCaseEditor.class) || widget.acceptType(ChartEditorProvider.class); + boolean isSupportAsHypelink = widget.acceptType(ElementCaseEditor.class) || widget.acceptType(BaseChartEditor.class); //可以超链的对象不包含本身; 目前只有图表和报表块可以 // bug66182 删了条件:!ComparatorUtils.equals(editingECName, widget.getWidgetName()) 让当前表单对象可以选到自己 if (isSupportAsHypelink){