Browse Source
* commit 'b99a875479c3f5c1094a4d8b1f3510d739241225': REPORT-45689 兼容空类型 无须填充面板 REPORT-46679 jdk11-设计器内图标优化-目录树图标都模糊,尤其是刷新图标 【问题原因】svg图标漏传到release分支了,所以显示的是之前的png图,比较模糊 【改动思路】补充图标 REPORT-46234 普通报表\聚合报表,点击para,上方是控件设置,但是下方是组件名称 REPORT-46779REPORT-46779 修复参数面板高度为负导致前端显示异常的问题feature/10.0
superman
4 years ago
4 changed files with 37 additions and 13 deletions
@ -1,21 +1,37 @@
|
||||
package com.fr.design.mainframe.widget.ui; |
||||
|
||||
import com.fr.design.designer.creator.XCreator; |
||||
import com.fr.design.designer.creator.XWParameterLayout; |
||||
import com.fr.design.file.HistoryTemplateListCache; |
||||
import com.fr.design.mainframe.EastRegionContainerPane; |
||||
import com.fr.design.mainframe.JForm; |
||||
|
||||
/** |
||||
* Created by kerry on 2017/9/30. |
||||
*/ |
||||
public class WidgetBasicPropertyPaneFactory { |
||||
|
||||
public static FormBasicPropertyPane createBasicPropertyPane(XCreator xCreator){ |
||||
if(xCreator.supportSetVisible() && xCreator.supportSetEnable()){ |
||||
public static FormBasicPropertyPane createBasicPropertyPane(XCreator xCreator) { |
||||
freshPropertyMode(xCreator); |
||||
if (xCreator.supportSetVisible() && xCreator.supportSetEnable()) { |
||||
return new FormBasicWidgetPropertyPane(); |
||||
} |
||||
if(xCreator.supportSetVisible()){ |
||||
if (xCreator.supportSetVisible()) { |
||||
return new BasicSetVisiblePropertyPane(); |
||||
}else{ |
||||
} else { |
||||
return new FormBasicPropertyPane(); |
||||
} |
||||
|
||||
} |
||||
|
||||
private static void freshPropertyMode(XCreator xCreator) { |
||||
if (!(HistoryTemplateListCache.getInstance().getCurrentEditingTemplate() instanceof JForm)) { |
||||
if (xCreator instanceof XWParameterLayout) { |
||||
EastRegionContainerPane.getInstance().switchMode(EastRegionContainerPane.PropertyMode.REPORT_PARA); |
||||
} else { |
||||
EastRegionContainerPane.getInstance().switchMode(EastRegionContainerPane.PropertyMode.REPORT_PARA_WIDGET); |
||||
} |
||||
} |
||||
} |
||||
|
||||
} |
||||
|
Loading…
Reference in new issue