|
|
@ -4,7 +4,6 @@ import com.fr.design.beans.BasicBeanPane; |
|
|
|
import com.fr.design.dialog.DialogActionAdapter; |
|
|
|
import com.fr.design.dialog.DialogActionAdapter; |
|
|
|
import com.fr.design.dialog.UIDialog; |
|
|
|
import com.fr.design.dialog.UIDialog; |
|
|
|
import com.fr.design.fit.DesignerUIModeConfig; |
|
|
|
import com.fr.design.fit.DesignerUIModeConfig; |
|
|
|
import com.fr.design.fit.NewJForm; |
|
|
|
|
|
|
|
import com.fr.design.mainframe.DesignerContext; |
|
|
|
import com.fr.design.mainframe.DesignerContext; |
|
|
|
import com.fr.design.mainframe.JTemplate; |
|
|
|
import com.fr.design.mainframe.JTemplate; |
|
|
|
import com.fr.design.menu.MenuKeySet; |
|
|
|
import com.fr.design.menu.MenuKeySet; |
|
|
@ -60,7 +59,7 @@ public class FormFitAttrAction extends JTemplateAction { |
|
|
|
} |
|
|
|
} |
|
|
|
final FitProvider wbTpl = (FitProvider) jwb.getTarget(); |
|
|
|
final FitProvider wbTpl = (FitProvider) jwb.getTarget(); |
|
|
|
ReportFitAttr fitAttr = wbTpl.getReportFitAttr(); |
|
|
|
ReportFitAttr fitAttr = wbTpl.getReportFitAttr(); |
|
|
|
TemplateFitAttrPane templateFitAttrPane = new TemplateFitAttrPane(); |
|
|
|
TemplateFitAttrPane templateFitAttrPane = new TemplateFitAttrPane(jwb); |
|
|
|
showFitDialog(fitAttr, jwb, wbTpl, templateFitAttrPane); |
|
|
|
showFitDialog(fitAttr, jwb, wbTpl, templateFitAttrPane); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|