|
|
|
@ -1,18 +1,18 @@
|
|
|
|
|
package com.fr.design.actions; |
|
|
|
|
|
|
|
|
|
import javax.swing.SwingUtilities; |
|
|
|
|
import com.fr.base.svg.IconUtils; |
|
|
|
|
import com.fr.design.data.DesignTableDataManager; |
|
|
|
|
import com.fr.data.TableDataSource; |
|
|
|
|
import com.fr.design.DesignModelAdapter; |
|
|
|
|
import com.fr.design.data.DesignTableDataManager; |
|
|
|
|
import com.fr.design.data.datapane.ReportTableDataPane; |
|
|
|
|
import com.fr.design.data.datapane.TableDataTreePane; |
|
|
|
|
import com.fr.design.data.tabledata.ResponseDataSourceChange; |
|
|
|
|
import com.fr.design.DesignModelAdapter; |
|
|
|
|
import com.fr.design.mainframe.JTemplate; |
|
|
|
|
import com.fr.design.menu.KeySetUtils; |
|
|
|
|
import com.fr.design.dialog.BasicDialog; |
|
|
|
|
import com.fr.design.dialog.DialogActionAdapter; |
|
|
|
|
import com.fr.design.i18n.DesignSizeI18nManager; |
|
|
|
|
import com.fr.design.mainframe.JTemplate; |
|
|
|
|
import com.fr.design.menu.KeySetUtils; |
|
|
|
|
|
|
|
|
|
import javax.swing.SwingUtilities; |
|
|
|
|
import java.util.HashMap; |
|
|
|
|
import java.util.Iterator; |
|
|
|
|
import java.util.Map; |
|
|
|
@ -42,7 +42,7 @@ public class TableDataSourceAction extends TemplateComponentAction<JTemplate<?,
|
|
|
|
|
populate(tds); |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
final BasicDialog reportTableDataDialog = tableDataPane.showLargeWindow(SwingUtilities.getWindowAncestor(this.getEditingComponent()), null); |
|
|
|
|
final BasicDialog reportTableDataDialog = tableDataPane.showWindowWithCustomSize(SwingUtilities.getWindowAncestor(this.getEditingComponent()), null, DesignSizeI18nManager.getInstance().i18nDimension("com.fr.design.data.datapane.ReportTableDataPane")); |
|
|
|
|
reportTableDataDialog.addDialogActionListener(new DialogActionAdapter() { |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|