Browse Source
* commit '8b5af0141b8e4361f51c53546368ddcebcb51655': (28 commits) REPORT-39308 参数输入面板参数名显示不完整 REPORT-38376 设计器目录树等树控件JDK11下显示不全 删除多余的setDirty 甘特图和框架图标签内容增加样式 通用和自定义中都支持样式 REPORT-40525 表单进行拖拽组件,来回切换模板,再拖拽,显示很有问题 更新修改:之前在改REPORT-38534这个bug的时候,看到DesignState里面有个参数面板状态,以为不会干扰判断,刚才测试另一个bug发现参数面板这边,剪切复制按钮也是保持一直可用的,所以要增加一层判断,如果此时是WORK_SHEET状态,还需要判断是编辑报表块还是编辑参数面板,仅当编辑报表块时按钮不能置灰 完善富文本组件样式 REPORT-40458 【回归】设计器重启以后会卡住,面板除了菜单栏其他都动不了 【问题原因】editingTemplate没有判空,当时自己测试发现是不会出现null情况的,这个问题是因为安装了一个新引擎插件后,插件那边某个方法可能会在setCurrentEditingTemplate之前,调用checkCombineUp方法,此时getCurrentEditingTemplate会拿到null值,然后出现npe 【改动思路】增加判空 上传多了,撤销一下 之前上传多了,撤销一下 REPORT-40458 【回归】设计器重启以后会卡住,面板除了菜单栏其他都动不了 【问题原因】editingTemplate没有判空,当时自己测试发现是不会出现null情况的,这个问题是因为安装了一个新引擎插件后,插件那边某个方法可能会在setCurrentEditingTemplate之前,调用checkCombineUp方法,此时getCurrentEditingTemplate会拿到null值,然后出现npe 【改动思路】增加判空" 标签边框增加形状 REPORT-40458 【回归】设计器重启以后会卡住,面板除了菜单栏其他都动不了 【问题原因】editingTemplate没有判空,当时自己测试发现是不会出现null情况的,这个问题是因为安装了一个新引擎插件后,插件那边某个方法可能会在setCurrentEditingTemplate之前,调用checkCombineUp方法,此时getCurrentEditingTemplate会拿到null值,然后出现npe 【改动思路】增加判空 REPORT-38762 CHART-15905 更新修改方案:之前以为初始化了UINumberField之后,不能再改变列数了,刚测试了一下发现可以的,所以修改为添加了一个set方法,可以修改Spinner内的UINumberField的列数 REPORT-39338 【回归】内置服务器启动进度条会先展示上次的进度再初始化 更新修改方案:不改变弹窗大小,将原本文字标签setPreferredSize注释掉,在FlowLayout布局下,标签大小会自适应,另外测试的时候发现在日语和韩语下文字显示不全,这是个以前就存在的问题,与产品和国际化同学沟通了,精简翻译,这次顺便一起改了 CHART-15905 最新的release插件,打开cpt空白,打开frm的,右侧面板打不开 【问题原因】之前改动的UISpinner,添加了一种传参为double、double、double、int的构造方法,与另一个原有的double、double、double、double冲突了,因为代码内很多地方都是传了四个int值进来,然后被绑定了新添加的那种构造方法 【改动思路】将新添加的构造方法传参修改为double、double、double、double、int,对第四个double值进行判断,如果等于Double.MIN_VALUE,就不做处理,否则正常设置为defaultValue REPORT-38376 JDK11下Label界面文字显示异常 CHART-15704 试管型仪表盘标签面板的初始化时候,需要把所有组件都初始化 标签增加边框和背景 ...feature/big-screen
Hades
4 years ago
35 changed files with 778 additions and 387 deletions
@ -0,0 +1,17 @@
|
||||
package com.fr.van.chart.column; |
||||
|
||||
import com.fr.chart.chartattr.Plot; |
||||
import com.fr.plugin.chart.column.VanChartColumnPlot; |
||||
import com.fr.van.chart.designer.style.VanChartStylePane; |
||||
import com.fr.van.chart.designer.style.label.VanChartPlotLabelDetailPane; |
||||
|
||||
public class VanChartColumnPlotLabelDetailPane extends VanChartPlotLabelDetailPane { |
||||
|
||||
public VanChartColumnPlotLabelDetailPane(Plot plot, VanChartStylePane parent) { |
||||
super(plot, parent); |
||||
} |
||||
|
||||
protected boolean hasLabelOrientationPane() { |
||||
return !((VanChartColumnPlot) this.getPlot()).isBar(); |
||||
} |
||||
} |
@ -0,0 +1,20 @@
|
||||
package com.fr.van.chart.column; |
||||
|
||||
import com.fr.chart.chartattr.Plot; |
||||
import com.fr.van.chart.designer.style.VanChartStylePane; |
||||
import com.fr.van.chart.designer.style.label.VanChartPlotLabelPane; |
||||
|
||||
import java.awt.BorderLayout; |
||||
|
||||
public class VanChartColumnPlotLabelPane extends VanChartPlotLabelPane { |
||||
|
||||
public VanChartColumnPlotLabelPane(Plot plot, VanChartStylePane parent) { |
||||
super(plot, parent); |
||||
} |
||||
|
||||
protected void createLabelPane() { |
||||
VanChartColumnPlotLabelDetailPane labelDetailPane = new VanChartColumnPlotLabelDetailPane(getPlot(), getParentPane()); |
||||
setLabelDetailPane(labelDetailPane); |
||||
getLabelPane().add(labelDetailPane, BorderLayout.CENTER); |
||||
} |
||||
} |
@ -0,0 +1,58 @@
|
||||
package com.fr.van.chart.designer.component.border; |
||||
|
||||
import com.fr.chart.base.AttrBorder; |
||||
import com.fr.chart.chartglyph.Marker; |
||||
import com.fr.chart.chartglyph.MarkerFactory; |
||||
import com.fr.design.gui.ilable.UILabel; |
||||
import com.fr.design.gui.xcombox.MarkerComboBox; |
||||
import com.fr.design.i18n.Toolkit; |
||||
import com.fr.design.layout.TableLayout; |
||||
import com.fr.design.utils.gui.UIComponentUtils; |
||||
import com.fr.design.widget.FRWidgetFactory; |
||||
import com.fr.plugin.chart.base.AttrBorderWithShape; |
||||
import com.fr.plugin.chart.marker.type.MarkerType; |
||||
|
||||
import java.awt.Component; |
||||
|
||||
public class VanChartBorderWithShapePane extends VanChartBorderWithRadiusPane { |
||||
|
||||
private MarkerComboBox shapePane; |
||||
|
||||
protected void initComponents() { |
||||
shapePane = new MarkerComboBox(MarkerFactory.getLabelShapeMarkers()); |
||||
super.initComponents(); |
||||
} |
||||
|
||||
protected Component[][] getUseComponent() { |
||||
return new Component[][]{ |
||||
new Component[]{null, null}, |
||||
new Component[]{FRWidgetFactory.createLineWrapLabel(Toolkit.i18nText("Fine-Design_Chart_Line_Style")), |
||||
UIComponentUtils.wrapWithBorderLayoutPane(currentLineCombo)}, |
||||
new Component[]{new UILabel(Toolkit.i18nText("Fine-Design_Chart_Color")), currentLineColorPane}, |
||||
new Component[]{new UILabel(Toolkit.i18nText("Fine-Design_Chart_Shape")), |
||||
UIComponentUtils.wrapWithBorderLayoutPane(shapePane)}, |
||||
new Component[]{new UILabel(Toolkit.i18nText("Fine-Design_Report_Radius")), getRadius()} |
||||
}; |
||||
} |
||||
|
||||
protected double[] getRowSize() { |
||||
double p = TableLayout.PREFERRED; |
||||
return new double[]{p, p, p, p, p}; |
||||
} |
||||
|
||||
public void populate(AttrBorder border) { |
||||
super.populate(border); |
||||
|
||||
if (border instanceof AttrBorderWithShape) { |
||||
shapePane.setSelectedMarker((Marker.createMarker(((AttrBorderWithShape) border).getShape()))); |
||||
} |
||||
} |
||||
|
||||
public void update(AttrBorder border) { |
||||
super.update(border); |
||||
|
||||
if (border instanceof AttrBorderWithShape) { |
||||
((AttrBorderWithShape) border).setShape(MarkerType.parse(shapePane.getSelectedMarkder().getMarkerType())); |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,22 @@
|
||||
.editor-insert-param-inactivated-font .b-font { |
||||
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); |
||||
} |
||||
.editor-insert-param-inactivated-font .b-font:before { |
||||
content: "\e6ea"; |
||||
color: inherit; |
||||
} |
||||
.editor-insert-param-inactivated-font.disabled .b-font:before { |
||||
content: "\e6ea"; |
||||
color: inherit; |
||||
} |
||||
.editor-insert-param-active-font .b-font { |
||||
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); |
||||
} |
||||
.editor-insert-param-active-font .b-font:before { |
||||
content: "\e6ea"; |
||||
color: #23beef; |
||||
} |
||||
.editor-insert-param-active-font.disabled .b-font:before { |
||||
content: "\e6ea"; |
||||
color: #23beef; |
||||
} |
@ -1,35 +1,38 @@
|
||||
package com.fr.design.mainframe; |
||||
|
||||
import java.awt.Graphics2D; |
||||
|
||||
import com.fr.design.menu.MenuDef; |
||||
|
||||
import java.awt.Graphics2D; |
||||
|
||||
|
||||
/** |
||||
* 获取 |
||||
* |
||||
* |
||||
* @date 2015-2-5-上午10:19:17 |
||||
* |
||||
* @deprecated 让聚合报表也可以新建普通报表sheet, 逻辑和普通报表保持一致, 弃用此个性化设置 |
||||
*/ |
||||
public class PolySheetNameTabPane extends SheetNameTabPane{ |
||||
|
||||
/** |
||||
* 构造函数 |
||||
*/ |
||||
public PolySheetNameTabPane(ReportComponentComposite reportCompositeX) { |
||||
super(reportCompositeX); |
||||
} |
||||
|
||||
protected void paintAddButton(Graphics2D g2d){ |
||||
ADD_POLY_SHEET.paintIcon(this, g2d, iconLocation, 3); |
||||
@Deprecated |
||||
public class PolySheetNameTabPane extends SheetNameTabPane { |
||||
|
||||
/** |
||||
* 构造函数 |
||||
*/ |
||||
public PolySheetNameTabPane(ReportComponentComposite reportCompositeX) { |
||||
super(reportCompositeX); |
||||
} |
||||
|
||||
protected void paintAddButton(Graphics2D g2d) { |
||||
ADD_POLY_SHEET.paintIcon(this, g2d, iconLocation, 3); |
||||
} |
||||
|
||||
|
||||
protected void firstInsertActionPerformed(){ |
||||
new PolyReportInsertAction().actionPerformed(null); |
||||
|
||||
|
||||
protected void firstInsertActionPerformed() { |
||||
new PolyReportInsertAction().actionPerformed(null); |
||||
} |
||||
|
||||
|
||||
protected void addInsertGridShortCut(MenuDef def){ |
||||
|
||||
protected void addInsertGridShortCut(MenuDef def) { |
||||
} |
||||
|
||||
} |
Loading…
Reference in new issue