|
|
|
@ -88,7 +88,7 @@ public class ITReplaceNorthPanel {
|
|
|
|
|
private static final int FIRST_X = 20, SECOND_X = 80; |
|
|
|
|
private static final int LABEL_WIDTH = 60; |
|
|
|
|
private static final Icon CHANGE_ICON = IconUtils.readIcon("/com/fr/design/images/replace/change_normal.svg"); |
|
|
|
|
private static final String[] rangeItems = new String[]{Toolkit.i18nText("Fine-Design_Basic_Export_JS_Template_Current")}; |
|
|
|
|
private static final String[] RANGE_ITEMS = new String[]{Toolkit.i18nText("Fine-Design_Basic_Export_JS_Template_Current")}; |
|
|
|
|
|
|
|
|
|
public static final String CARD_CONTENT = "Content"; |
|
|
|
|
public static final String CARD_SETTING = "setting"; |
|
|
|
@ -186,7 +186,7 @@ public class ITReplaceNorthPanel {
|
|
|
|
|
resultLabel = new UILabel(); |
|
|
|
|
String[] replaceInputItems = new String[]{StringUtils.EMPTY}; |
|
|
|
|
findCombobox = new UIComboBox(findItems.toArray()); |
|
|
|
|
rangeCombobox = new UIComboBox(rangeItems); |
|
|
|
|
rangeCombobox = new UIComboBox(RANGE_ITEMS); |
|
|
|
|
findInputCombobox = new UIComboBox(findInputItems.toArray()) { |
|
|
|
|
@Override |
|
|
|
|
public void setEditor(ComboBoxEditor comboBoxEditor) { |
|
|
|
@ -233,7 +233,7 @@ public class ITReplaceNorthPanel {
|
|
|
|
|
rangeSettingLabel = new UILabel(Toolkit.i18nText("Fine-Design_Replace_Search_Range")); |
|
|
|
|
settingResultLabel = new UILabel(); |
|
|
|
|
findSettingComboBox = new UIComboBox(findSettingItems.toArray()); |
|
|
|
|
rangeSettingComboBox = new UIComboBox(rangeItems); |
|
|
|
|
rangeSettingComboBox = new UIComboBox(RANGE_ITEMS); |
|
|
|
|
findSettingInputComboBox = new UIComboBox(formatItems.toArray()) { |
|
|
|
|
@Override |
|
|
|
|
public void setEditor(ComboBoxEditor anEditor) { |
|
|
|
@ -703,10 +703,19 @@ public class ITReplaceNorthPanel {
|
|
|
|
|
this.searchButton = searchButton; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 获取CardLayout |
|
|
|
|
* @return CardLayout |
|
|
|
|
*/ |
|
|
|
|
public static CardLayout getCardLayout() { |
|
|
|
|
return cardLayout; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 获取表格主界面 |
|
|
|
|
* |
|
|
|
|
* @return cardPanel |
|
|
|
|
*/ |
|
|
|
|
public static JPanel getCardPanel() { |
|
|
|
|
return cardPanel; |
|
|
|
|
} |
|
|
|
|