|
|
@ -25,11 +25,15 @@ import com.fr.stable.StringUtils; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.JOptionPane; |
|
|
|
import javax.swing.JOptionPane; |
|
|
|
import javax.swing.JPanel; |
|
|
|
import javax.swing.JPanel; |
|
|
|
|
|
|
|
import javax.swing.WindowConstants; |
|
|
|
import java.awt.BorderLayout; |
|
|
|
import java.awt.BorderLayout; |
|
|
|
import java.awt.Dimension; |
|
|
|
import java.awt.Dimension; |
|
|
|
import java.awt.Point; |
|
|
|
import java.awt.Point; |
|
|
|
import java.awt.event.ActionEvent; |
|
|
|
import java.awt.event.ActionEvent; |
|
|
|
import java.awt.event.ActionListener; |
|
|
|
import java.awt.event.ActionListener; |
|
|
|
|
|
|
|
import java.awt.event.WindowAdapter; |
|
|
|
|
|
|
|
import java.awt.event.WindowEvent; |
|
|
|
|
|
|
|
import java.awt.event.WindowListener; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.ArrayList; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
import java.util.List; |
|
|
@ -132,6 +136,7 @@ public class ITReplaceMainDialog extends UIDialog { |
|
|
|
southPanel = new ITReplaceSouthPanel(); |
|
|
|
southPanel = new ITReplaceSouthPanel(); |
|
|
|
westPanel = new ITReplaceWestPanel(); |
|
|
|
westPanel = new ITReplaceWestPanel(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
initCloseListener(); |
|
|
|
northPane.fitScreen(0, 0, jTemplate.getWidth()); |
|
|
|
northPane.fitScreen(0, 0, jTemplate.getWidth()); |
|
|
|
|
|
|
|
|
|
|
|
JPanel center = new JPanel(new BorderLayout()); |
|
|
|
JPanel center = new JPanel(new BorderLayout()); |
|
|
@ -187,6 +192,20 @@ public class ITReplaceMainDialog extends UIDialog { |
|
|
|
center.setVisible(true); |
|
|
|
center.setVisible(true); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void initCloseListener() { |
|
|
|
|
|
|
|
this.addWindowListener(new WindowAdapter() { |
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public void windowClosing(WindowEvent e) { |
|
|
|
|
|
|
|
searchContentResultList.clear(); |
|
|
|
|
|
|
|
searchSettingResultList.clear(); |
|
|
|
|
|
|
|
ITReplaceSouthPanel.getItTableEditor().clear(); |
|
|
|
|
|
|
|
northPane.clear(); |
|
|
|
|
|
|
|
dialogExit(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 模板内容替换相关 |
|
|
|
* 模板内容替换相关 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|