|
|
|
@ -24,6 +24,7 @@ import com.fr.design.dialog.BasicDialog;
|
|
|
|
|
import com.fr.design.dialog.BasicPane; |
|
|
|
|
import com.fr.design.dialog.DialogActionAdapter; |
|
|
|
|
import com.fr.design.file.HistoryTemplateListCache; |
|
|
|
|
import com.fr.design.formula.FunctionManagerPane; |
|
|
|
|
import com.fr.design.fun.DBTableDataMenuHandler; |
|
|
|
|
import com.fr.design.gui.ibutton.UIButton; |
|
|
|
|
import com.fr.design.gui.icheckbox.UICheckBox; |
|
|
|
@ -66,6 +67,7 @@ import javax.swing.JPanel;
|
|
|
|
|
import javax.swing.JScrollPane; |
|
|
|
|
import javax.swing.JSplitPane; |
|
|
|
|
import javax.swing.JToolBar; |
|
|
|
|
import javax.swing.SwingUtilities; |
|
|
|
|
import javax.swing.text.BadLocationException; |
|
|
|
|
import javax.swing.text.Document; |
|
|
|
|
import java.awt.BorderLayout; |
|
|
|
@ -303,7 +305,7 @@ public class DBTableDataPane extends AbstractTableDataPane<DBTableData> {
|
|
|
|
|
//显示对应的配置
|
|
|
|
|
strategyConfigPane.populateBean(populateStrategyConfig); |
|
|
|
|
|
|
|
|
|
BasicDialog dlg = strategyConfigPane.showMediumWindow(DesignerContext.getDesignerFrame(), new DialogActionAdapter() { |
|
|
|
|
BasicDialog dlg = strategyConfigPane.showMediumWindow(SwingUtilities.getWindowAncestor(DBTableDataPane.this), new DialogActionAdapter() { |
|
|
|
|
@Override |
|
|
|
|
public void doOk() { |
|
|
|
|
super.doOk(); |
|
|
|
@ -314,7 +316,7 @@ public class DBTableDataPane extends AbstractTableDataPane<DBTableData> {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
dlg.setAlwaysOnTop(true); |
|
|
|
|
//dlg.setAlwaysOnTop(true);
|
|
|
|
|
dlg.setVisible(true); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|