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