|
|
@ -109,6 +109,10 @@ public class FormDesigner extends TargetComponent<Form> implements TreeSelection |
|
|
|
Arrays.asList(new String[]{com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_M_Edit_Cut"), com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_M_Edit_Copy"), com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_M_Edit_Delete")}) |
|
|
|
Arrays.asList(new String[]{com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_M_Edit_Cut"), com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_M_Edit_Copy"), com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_M_Edit_Delete")}) |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected static final ArrayList<String> PARAMETER_TOOLAR_BAN_LIST = new ArrayList<String>( |
|
|
|
|
|
|
|
Arrays.asList(new String[]{com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_M_Edit_Cut"), com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_M_Edit_Copy")}) |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private double scale = 1.0D; |
|
|
|
private double scale = 1.0D; |
|
|
|
//底层容器的默认大小
|
|
|
|
//底层容器的默认大小
|
|
|
@ -1304,6 +1308,10 @@ public class FormDesigner extends TargetComponent<Form> implements TreeSelection |
|
|
|
protected void setToolbarButtons() { |
|
|
|
protected void setToolbarButtons() { |
|
|
|
//自适应布局和底层都不能删除
|
|
|
|
//自适应布局和底层都不能删除
|
|
|
|
DesignerContext.getDesignerFrame().checkCombineUp(!isRootSelected(), NAME_ARRAY_LIST); |
|
|
|
DesignerContext.getDesignerFrame().checkCombineUp(!isRootSelected(), NAME_ARRAY_LIST); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (isParameterSelected()) { |
|
|
|
|
|
|
|
DesignerContext.getDesignerFrame().checkCombineUp(false, PARAMETER_TOOLAR_BAN_LIST); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void invalidateLayout() { |
|
|
|
private void invalidateLayout() { |
|
|
|