|
|
@ -8,7 +8,6 @@ import com.fr.design.dialog.DialogActionAdapter; |
|
|
|
import com.fr.design.mainframe.JForm; |
|
|
|
import com.fr.design.mainframe.JForm; |
|
|
|
import com.fr.design.menu.KeySetUtils; |
|
|
|
import com.fr.design.menu.KeySetUtils; |
|
|
|
import com.fr.design.parameter.ParameterArrayPane; |
|
|
|
import com.fr.design.parameter.ParameterArrayPane; |
|
|
|
import com.fr.design.parameter.ParameterPropertyPane; |
|
|
|
|
|
|
|
import com.fr.form.main.Form; |
|
|
|
import com.fr.form.main.Form; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.*; |
|
|
|
import javax.swing.*; |
|
|
@ -51,7 +50,7 @@ public class TemplateParameterAction extends JTemplateAction<JForm> { |
|
|
|
} |
|
|
|
} |
|
|
|
jwb.fireTargetModified(); |
|
|
|
jwb.fireTargetModified(); |
|
|
|
jwb.getFormDesign().setParameterArray(parameters); |
|
|
|
jwb.getFormDesign().setParameterArray(parameters); |
|
|
|
ParameterPropertyPane.getInstance().getParameterToolbarPane().populateBean(parameters); |
|
|
|
jwb.getFormDesign().refreshParameter(); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
parameterArrayDialog.setVisible(true); |
|
|
|
parameterArrayDialog.setVisible(true); |
|
|
|