|
|
@ -93,6 +93,8 @@ public class JForm extends JTemplate<Form, FormUndoState> implements BaseJForm { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void refreshEastPropertiesPane() { |
|
|
|
public void refreshEastPropertiesPane() { |
|
|
|
|
|
|
|
// 暂时用不到,遇到的时候再加刷新右侧tab面板的代码
|
|
|
|
|
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
@ -126,7 +128,7 @@ public class JForm extends JTemplate<Form, FormUndoState> implements BaseJForm { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void setJTemplateResolution(int resolution) { |
|
|
|
public void setJTemplateResolution(int resolution) { |
|
|
|
|
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
@ -270,14 +272,14 @@ public class JForm extends JTemplate<Form, FormUndoState> implements BaseJForm { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setSheetCovered(boolean isCovered) { |
|
|
|
public void setSheetCovered(boolean isCovered) { |
|
|
|
|
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 刷新容器 |
|
|
|
* 刷新容器 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void refreshContainer() { |
|
|
|
public void refreshContainer() { |
|
|
|
|
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -289,6 +291,7 @@ public class JForm extends JTemplate<Form, FormUndoState> implements BaseJForm { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void setScale(int resolution) { |
|
|
|
public void setScale(int resolution) { |
|
|
|
|
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
@ -464,12 +467,12 @@ public class JForm extends JTemplate<Form, FormUndoState> implements BaseJForm { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public ShortCut[] shortcut4TemplateMenu() { |
|
|
|
public ShortCut[] shortcut4TemplateMenu() { |
|
|
|
if (this.index == FORM_TAB) { |
|
|
|
if (this.index == FORM_TAB) { |
|
|
|
return (ShortCut[]) ArrayUtils.addAll(new ShortCut[]{ |
|
|
|
return (ShortCut[]) ArrayUtils.addAll( new ShortCut[]{ |
|
|
|
new TemplateParameterAction(this), |
|
|
|
new TemplateParameterAction(this), |
|
|
|
new FormMobileAttrAction(this) |
|
|
|
new FormMobileAttrAction(this) |
|
|
|
}, new ShortCut[0]); |
|
|
|
}, new ShortCut[0]); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
return (ShortCut[]) ArrayUtils.addAll(new ShortCut[]{ |
|
|
|
return (ShortCut[]) ArrayUtils.addAll( new ShortCut[]{ |
|
|
|
new TemplateParameterAction(this), |
|
|
|
new TemplateParameterAction(this), |
|
|
|
new FormMobileAttrAction(this) |
|
|
|
new FormMobileAttrAction(this) |
|
|
|
}, this.elementCaseDesign.shortcut4TemplateMenu()); |
|
|
|
}, this.elementCaseDesign.shortcut4TemplateMenu()); |
|
|
@ -680,8 +683,7 @@ public class JForm extends JTemplate<Form, FormUndoState> implements BaseJForm { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (formDesign.isReportBlockEditing()) { |
|
|
|
if (formDesign.isReportBlockEditing() && elementCaseDesign != null) { |
|
|
|
if (elementCaseDesign != null) { |
|
|
|
|
|
|
|
EastRegionContainerPane.getInstance().switchMode(EastRegionContainerPane.PropertyMode.FORM_REPORT); |
|
|
|
EastRegionContainerPane.getInstance().switchMode(EastRegionContainerPane.PropertyMode.FORM_REPORT); |
|
|
|
EastRegionContainerPane.getInstance().removeParameterPane(); |
|
|
|
EastRegionContainerPane.getInstance().removeParameterPane(); |
|
|
|
EastRegionContainerPane.getInstance().replaceCellAttrPane(elementCaseDesign.getEastDownPane()); |
|
|
|
EastRegionContainerPane.getInstance().replaceCellAttrPane(elementCaseDesign.getEastDownPane()); |
|
|
@ -690,7 +692,6 @@ public class JForm extends JTemplate<Form, FormUndoState> implements BaseJForm { |
|
|
|
EastRegionContainerPane.getInstance().replaceHyperlinkPane(elementCaseDesign.getHyperlinkPane()); |
|
|
|
EastRegionContainerPane.getInstance().replaceHyperlinkPane(elementCaseDesign.getHyperlinkPane()); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EastRegionContainerPane.getInstance().switchMode(EastRegionContainerPane.PropertyMode.FORM); |
|
|
|
EastRegionContainerPane.getInstance().switchMode(EastRegionContainerPane.PropertyMode.FORM); |
|
|
|
EastRegionContainerPane.getInstance().replaceWidgetSettingsPane(WidgetPropertyPane.getInstance(formDesign)); |
|
|
|
EastRegionContainerPane.getInstance().replaceWidgetSettingsPane(WidgetPropertyPane.getInstance(formDesign)); |
|
|
@ -699,6 +700,10 @@ public class JForm extends JTemplate<Form, FormUndoState> implements BaseJForm { |
|
|
|
EastRegionContainerPane.getInstance().addParameterPane(parameterPropertyPane); |
|
|
|
EastRegionContainerPane.getInstance().addParameterPane(parameterPropertyPane); |
|
|
|
EastRegionContainerPane.getInstance().setParameterHeight(parameterPropertyPane.getPreferredSize().height); |
|
|
|
EastRegionContainerPane.getInstance().setParameterHeight(parameterPropertyPane.getPreferredSize().height); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
refreshWidgetLibPane(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void refreshWidgetLibPane() { |
|
|
|
if (EastRegionContainerPane.getInstance().getWidgetLibPane() == null) { |
|
|
|
if (EastRegionContainerPane.getInstance().getWidgetLibPane() == null) { |
|
|
|
new Thread() { |
|
|
|
new Thread() { |
|
|
|
public void run() { |
|
|
|
public void run() { |
|
|
|