Browse Source
Merge in DESIGN/design from ~HARRISON/design:feature/x to feature/x * commit 'd896eaca451fa19fbc8284e5de8fee48f5c906ed': 无 JIRA 任务,处理圈复杂度的问题 REPORT-76049【迭代】【起始页】云端运维插件没有自动更新 设计器,预热过程中,不自动更新。 REPORT-76057【迭代】【起始页】进入的一直都是默认工作目录 进入工作目录前,先将环境准备好 REPORT-76091 【迭代】【起始页】不打开任何报表,启动,不能新建fvs 兼容 fvs 的插件,并且规避 npe REPORT-76079【迭代】【起始页】交互问题 7. 展示的效果不够居中 REPORT-76079【迭代】【起始页】交互问题 7. 展示的效果不够居中 REPORT-76098 【迭代】【起始页】起始页和空报表两个配置项均开启,点击最近使用的模板启动,没有打开对应模板 优先判断起始页,再判断老的打开方式 REPORT-76086 【迭代】【起始页】在起始页不做任何操作,会出现预期外的启动弹窗 在子进程的监听中屏蔽启动页的影响 REPORT-76091 && REPORT-76041 1-新建决策报表 2-fvs npe 处理 REPORT-76040 【迭代】【起始页】打开起始页再关闭,上次的进程应该杀掉 REPORT-76079【迭代】【起始页】交互问题 1. 起始页标题缺失 3. 显示全部处理 4. 路径显示不全的问题 5. 悬浮有点虚的效果 6. 只显示前六张即可feature/x
Harrison
2 years ago
16 changed files with 438 additions and 73 deletions
@ -0,0 +1,207 @@
|
||||
package com.fr.design.mainframe; |
||||
|
||||
import com.fr.design.DesignModelAdapter; |
||||
import com.fr.design.designer.TargetComponent; |
||||
import com.fr.design.gui.frpane.HyperlinkGroupPane; |
||||
import com.fr.design.gui.frpane.HyperlinkGroupPaneActionProvider; |
||||
import com.fr.design.gui.imenu.UIMenuItem; |
||||
import com.fr.design.mainframe.template.info.TemplateProcessInfo; |
||||
import com.fr.design.menu.ShortCut; |
||||
import com.fr.design.menu.ToolBarDef; |
||||
|
||||
import javax.swing.Icon; |
||||
import javax.swing.JComponent; |
||||
import javax.swing.JPanel; |
||||
|
||||
/** |
||||
* created by Harrison on 2022/08/09 |
||||
**/ |
||||
public class JNullTemplate extends JTemplate { |
||||
|
||||
public static final JTemplate NULL = new JNullTemplate(); |
||||
|
||||
@Override |
||||
public void copy() { |
||||
|
||||
} |
||||
|
||||
@Override |
||||
public boolean paste() { |
||||
return false; |
||||
} |
||||
|
||||
@Override |
||||
public boolean cut() { |
||||
return false; |
||||
} |
||||
|
||||
@Override |
||||
public AuthorityEditPane createAuthorityEditPane() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public JPanel getEastUpPane() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public JPanel getEastDownPane() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public ToolBarDef[] toolbars4Target() { |
||||
return new ToolBarDef[0]; |
||||
} |
||||
|
||||
@Override |
||||
public JComponent[] toolBarButton4Form() { |
||||
return new JComponent[0]; |
||||
} |
||||
|
||||
@Override |
||||
public void refreshEastPropertiesPane() { |
||||
|
||||
} |
||||
|
||||
@Override |
||||
public TargetComponent getCurrentElementCasePane() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public JComponent getCurrentReportComponentPane() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public TemplateProcessInfo getProcessInfo() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public void setJTemplateResolution(int resolution) { |
||||
|
||||
} |
||||
|
||||
@Override |
||||
public int getJTemplateResolution() { |
||||
return 0; |
||||
} |
||||
|
||||
@Override |
||||
protected JComponent createCenterPane() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public void removeTemplateSelection() { |
||||
|
||||
} |
||||
|
||||
@Override |
||||
public void refreshContainer() { |
||||
|
||||
} |
||||
|
||||
@Override |
||||
public void removeParameterPaneSelection() { |
||||
|
||||
} |
||||
|
||||
@Override |
||||
public void setScale(int resolution) { |
||||
|
||||
} |
||||
|
||||
@Override |
||||
public int getScale() { |
||||
return 0; |
||||
} |
||||
|
||||
@Override |
||||
public int selfAdaptUpdate() { |
||||
return 0; |
||||
} |
||||
|
||||
@Override |
||||
protected DesignModelAdapter createDesignModel() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public UIMenuItem[] createMenuItem4Preview() { |
||||
return new UIMenuItem[0]; |
||||
} |
||||
|
||||
@Override |
||||
protected BaseUndoState<?> createUndoState() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
protected void applyUndoState(BaseUndoState baseUndoState) { |
||||
|
||||
} |
||||
|
||||
@Override |
||||
public String suffix() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public ShortCut[] shortcut4TemplateMenu() { |
||||
return new ShortCut[0]; |
||||
} |
||||
|
||||
@Override |
||||
public ShortCut[] shortCuts4Authority() { |
||||
return new ShortCut[0]; |
||||
} |
||||
|
||||
@Override |
||||
public boolean isJWorkBook() { |
||||
return false; |
||||
} |
||||
|
||||
@Override |
||||
public HyperlinkGroupPane getHyperLinkPane(HyperlinkGroupPaneActionProvider hyperlinkGroupPaneActionProvider) { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public HyperlinkGroupPane getHyperLinkPaneNoPop(HyperlinkGroupPaneActionProvider hyperlinkGroupPaneActionProvider) { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public void setAuthorityMode(boolean isUpMode) { |
||||
|
||||
} |
||||
|
||||
@Override |
||||
public Icon getIcon() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public String route() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public JPanel[] toolbarPanes4Form() { |
||||
return new JPanel[0]; |
||||
} |
||||
|
||||
@Override |
||||
public JComponent toolBar4Authority() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public int getToolBarHeight() { |
||||
return 0; |
||||
} |
||||
} |
@ -0,0 +1,25 @@
|
||||
package com.fr.start.module.optimized; |
||||
|
||||
import com.fr.start.common.DesignerStartupContext; |
||||
import com.fr.update.activator.BasicUpdateActivator; |
||||
import com.fr.update.base.FineUpdateUnit; |
||||
|
||||
/** |
||||
* created by Harrison on 2022/08/11 |
||||
**/ |
||||
public class DesignUpdateActivator extends BasicUpdateActivator { |
||||
|
||||
@Override |
||||
public void start() { |
||||
|
||||
if (DesignerStartupContext.getInstance().onWarmup()) { |
||||
try { |
||||
prepare4Start(); |
||||
FineUpdateUnit.makeNew(); |
||||
} catch (Throwable ignore) { |
||||
} |
||||
} else { |
||||
super.start(); |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue