|
|
@ -3,8 +3,10 @@ package com.fr.design.actions.replace.ui; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.design.actions.replace.action.ITChecker; |
|
|
|
import com.fr.design.actions.replace.action.ITChecker; |
|
|
|
import com.fr.design.actions.replace.action.ShowSearchResultAction; |
|
|
|
import com.fr.design.actions.replace.action.ShowSearchResultAction; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.design.actions.replace.action.setting.SettingController; |
|
|
|
import com.fr.design.actions.replace.action.setting.SettingController; |
|
|
|
import com.fr.design.actions.replace.info.Info; |
|
|
|
import com.fr.design.actions.replace.info.Info; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.design.actions.replace.utils.ShowValueUtils; |
|
|
|
import com.fr.design.actions.replace.utils.ShowValueUtils; |
|
|
|
import com.fr.design.dialog.FineJOptionPane; |
|
|
|
import com.fr.design.dialog.FineJOptionPane; |
|
|
|
import com.fr.design.dialog.UIDialog; |
|
|
|
import com.fr.design.dialog.UIDialog; |
|
|
@ -14,18 +16,25 @@ import com.fr.design.gui.itextfield.UITextField; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
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.mainframe.toast.DesignerToastMsgUtil; |
|
|
|
import com.fr.design.mainframe.toast.DesignerToastMsgUtil; |
|
|
|
import com.fr.design.mainframe.toast.ToastMsgDialog; |
|
|
|
import com.fr.design.mainframe.toast.ToastMsgDialog; |
|
|
|
import com.fr.general.GeneralUtils; |
|
|
|
import com.fr.general.GeneralUtils; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.*; |
|
|
|
|
|
|
|
import java.awt.*; |
|
|
|
import javax.swing.JOptionPane; |
|
|
|
|
|
|
|
import javax.swing.JPanel; |
|
|
|
|
|
|
|
import java.awt.BorderLayout; |
|
|
|
|
|
|
|
import java.awt.Dimension; |
|
|
|
|
|
|
|
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.WindowAdapter; |
|
|
|
import java.awt.event.WindowEvent; |
|
|
|
import java.awt.event.WindowEvent; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.ArrayList; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
import java.util.List; |
|
|
|
import java.util.regex.Pattern; |
|
|
|
import java.util.regex.Pattern; |
|
|
|
|
|
|
|
|
|
|
@ -117,7 +126,7 @@ public class ITReplaceMainDialog extends UIDialog { |
|
|
|
|
|
|
|
|
|
|
|
northPane.fitScreen(0, 0, width); |
|
|
|
northPane.fitScreen(0, 0, width); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -557,7 +566,7 @@ public class ITReplaceMainDialog extends UIDialog { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private boolean isSupportReplace(Info info) { |
|
|
|
private boolean isSupportReplace(Info info) { |
|
|
|
return info.getContent().isSelected() && !info.getContent().isReplaced(); |
|
|
|
return info.getContent().isSelected() && !info.getContent().isReplaced(); |
|
|
|
} |
|
|
|
} |
|
|
|