Browse Source
* commit '29803cfc05d81ae3c77d780b7bb760ca2862b831': CHART-4027 代码质量 chartCount和swichState是一件事情,所以swichState不需要 无jira任务 打包 REPORT-22339 远程设计管理权限中,新建多个角色,进行删除时会提示,但是并未存在赋值 REPORT-21295 远程集群报错 无jira任务 删除注释 REPORT-22308 切换环境问题 无jira任务,sonar问题修复 REPORT-21990 新版本插件管理,帆软通行证登陆-立即注册不会跳转链接 REPORT-21987 新版本插件管理,本地安装,取消更新仍可正常更新 CHART-10603 对老图表的plotpane父类增加了获取提示的默认实现,默认取图表选择中子类型的名称 无JIRA任务 比如恶心的插件接口,稍微改下 REPORT-19945 启动画面&修复frm工具栏不变化的问题 CHART-10233 接口修改research/11.0
zheng
5 years ago
47 changed files with 276 additions and 366 deletions
@ -0,0 +1,23 @@
|
||||
package com.fr.design.beans; |
||||
|
||||
import com.fr.common.annotations.Open; |
||||
|
||||
/** |
||||
* @author richie |
||||
* @version 10.0 |
||||
* Created by richie on 2019/9/24 |
||||
* 数据存取视图界面 |
||||
*/ |
||||
@Open |
||||
public abstract class BasicStorePane<T> extends BasicBeanPane<T> { |
||||
|
||||
@Override |
||||
public T updateBean() { |
||||
return null; |
||||
} |
||||
|
||||
public abstract void populateBean(T t); |
||||
|
||||
@Override |
||||
public abstract void updateBean(T t); |
||||
} |
@ -1,79 +0,0 @@
|
||||
package com.fr.design.chartx.impl; |
||||
|
||||
import com.fr.chart.charttypes.ChartTypeManager; |
||||
import com.fr.chart.impl.AbstractChartWithData; |
||||
import com.fr.chartx.attr.ChartProvider; |
||||
import com.fr.design.ChartTypeInterfaceManager; |
||||
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane; |
||||
import com.fr.design.mainframe.chart.gui.type.ChartImagePane; |
||||
|
||||
/** |
||||
* Created by shine on 2019/09/04. |
||||
*/ |
||||
public class DefaultTypePane<T extends AbstractChartWithData> extends AbstractChartTypePane<T> { |
||||
|
||||
@Override |
||||
protected String[] getTypeIconPath() { |
||||
return ChartTypeInterfaceManager.getInstance().getDemoImagePath(getPlotID()); |
||||
} |
||||
|
||||
@Override |
||||
protected String[] getTypeTipName() { |
||||
return ChartTypeInterfaceManager.getInstance().getSubName(getPlotID()); |
||||
} |
||||
|
||||
@Override |
||||
public ChartProvider getDefaultChart() { |
||||
return ChartTypeManager.getInstance().getChartTypes(getPlotID())[0]; |
||||
} |
||||
|
||||
@Override |
||||
public String title4PopupWindow() { |
||||
return ChartTypeInterfaceManager.getInstance().getName(getPlotID()); |
||||
} |
||||
|
||||
protected int getSelectIndexInChart(T chart) { |
||||
return 0; |
||||
} |
||||
|
||||
protected void setSelectIndexInChart(T chart, int index) { |
||||
} |
||||
|
||||
@Override |
||||
public void populateBean(T ob) { |
||||
if (getTypeIconPath().length > 0) { |
||||
for (ChartImagePane imagePane : typeDemo) { |
||||
imagePane.isPressing = false; |
||||
} |
||||
typeDemo.get(getSelectIndexInChart(ob)).isPressing = true; |
||||
checkDemosBackground(); |
||||
} |
||||
} |
||||
|
||||
@Override |
||||
public void updateBean(T ob) { |
||||
if (getTypeIconPath().length > 0) { |
||||
for (int index = 0, len = typeDemo.size(); index < len; index++) { |
||||
if (typeDemo.get(index).isPressing) { |
||||
setSelectIndexInChart(ob, index); |
||||
return; |
||||
} |
||||
} |
||||
} |
||||
} |
||||
|
||||
@Override |
||||
protected String[] getTypeLayoutPath() { |
||||
return new String[0]; |
||||
} |
||||
|
||||
@Override |
||||
protected String[] getTypeLayoutTipName() { |
||||
return new String[0]; |
||||
} |
||||
|
||||
@Override |
||||
protected String getPlotTypeID() { |
||||
return null; |
||||
} |
||||
} |
@ -0,0 +1,25 @@
|
||||
package com.fr.start.module; |
||||
|
||||
import com.fr.module.Activator; |
||||
import com.fr.start.DesignerInitial; |
||||
|
||||
/** |
||||
* 设计器界面初始化 |
||||
* |
||||
* @author vito |
||||
* @version 10.0 |
||||
* Created by vito on 2019/9/25 |
||||
*/ |
||||
public class DesignerInitActivator extends Activator { |
||||
|
||||
|
||||
@Override |
||||
public void start() { |
||||
DesignerInitial.init(findSingleton(StartupArgs.class).get()); |
||||
} |
||||
|
||||
@Override |
||||
public void stop() { |
||||
// void
|
||||
} |
||||
} |
Loading…
Reference in new issue