|
|
@ -3,6 +3,7 @@ package com.fr.design.mainframe; |
|
|
|
import com.fr.base.Parameter; |
|
|
|
import com.fr.base.Parameter; |
|
|
|
import com.fr.base.ScreenResolution; |
|
|
|
import com.fr.base.ScreenResolution; |
|
|
|
import com.fr.base.vcs.DesignerMode; |
|
|
|
import com.fr.base.vcs.DesignerMode; |
|
|
|
|
|
|
|
import com.fr.design.DesignModelAdapter; |
|
|
|
import com.fr.design.DesignState; |
|
|
|
import com.fr.design.DesignState; |
|
|
|
import com.fr.design.ExtraDesignClassManager; |
|
|
|
import com.fr.design.ExtraDesignClassManager; |
|
|
|
import com.fr.design.actions.UpdateAction; |
|
|
|
import com.fr.design.actions.UpdateAction; |
|
|
@ -204,7 +205,7 @@ public class FormDesigner extends TargetComponent<Form> implements TreeSelection |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void populateParameterPropertyPane() { |
|
|
|
public void populateParameterPropertyPane() { |
|
|
|
//参数
|
|
|
|
//参数
|
|
|
|
setParameterArray(getNoRepeatParas(getTarget().getParameters())); |
|
|
|
setParameterArray(DesignModelAdapter.getCurrentModelAdapter().getParameters()); |
|
|
|
refreshParameter(); |
|
|
|
refreshParameter(); |
|
|
|
//容器
|
|
|
|
//容器
|
|
|
|
ParameterPropertyPane.getInstance().populateBean(this); |
|
|
|
ParameterPropertyPane.getInstance().populateBean(this); |
|
|
@ -728,7 +729,7 @@ public class FormDesigner extends TargetComponent<Form> implements TreeSelection |
|
|
|
if (evt.getCreatorEventID() != DesignerEvent.CREATOR_SELECTED) { |
|
|
|
if (evt.getCreatorEventID() != DesignerEvent.CREATOR_SELECTED) { |
|
|
|
FormDesigner.this.fireTargetModified(); |
|
|
|
FormDesigner.this.fireTargetModified(); |
|
|
|
if (evt.getCreatorEventID() == DesignerEvent.CREATOR_DELETED) { |
|
|
|
if (evt.getCreatorEventID() == DesignerEvent.CREATOR_DELETED) { |
|
|
|
setParameterArray(getNoRepeatParas(getTarget().getParameters())); |
|
|
|
setParameterArray(getNoRepeatParas(DesignModelAdapter.getCurrentModelAdapter().getParameters())); |
|
|
|
refreshParameter(); |
|
|
|
refreshParameter(); |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|