| ... |
... |
@@ -68,8 +68,8 @@ public class ConfigUIHandler extends StorageTabUIHandler<ConfigUI> implements UI |
|
68
|
68
|
/** Logger */
|
|
69
|
69
|
private static final Log log = LogFactory.getLog(ConfigUIHandler.class);
|
|
70
|
70
|
|
|
71
|
|
- public static final String ACTION_DO_CHOOSE_FILE = "doChooseFile";
|
|
72
|
|
- public static final String ACTION_DO_USE_SSL = "doUseSsl";
|
|
|
71
|
+ private static final String ACTION_DO_CHOOSE_FILE = "doChooseFile";
|
|
|
72
|
+ private static final String ACTION_DO_USE_SSL = "doUseSsl";
|
|
73
|
73
|
private ObserveActionMap observeActionMap;
|
|
74
|
74
|
|
|
75
|
75
|
@Override
|
| ... |
... |
@@ -160,7 +160,7 @@ public class ConfigUIHandler extends StorageTabUIHandler<ConfigUI> implements UI |
|
160
|
160
|
ui.getServerMenu().add(item);
|
|
161
|
161
|
}
|
|
162
|
162
|
|
|
163
|
|
- public void refreshConfig(ConfigUI ui, String configId) {
|
|
|
163
|
+ private void refreshConfig(ConfigUI ui, String configId) {
|
|
164
|
164
|
JComponent c = (JComponent) ui.getObjectById(configId);
|
|
165
|
165
|
if (c != null) {
|
|
166
|
166
|
if (log.isDebugEnabled()) {
|
| ... |
... |
@@ -182,21 +182,21 @@ public class ConfigUIHandler extends StorageTabUIHandler<ConfigUI> implements UI |
|
182
|
182
|
}
|
|
183
|
183
|
|
|
184
|
184
|
|
|
185
|
|
- public Icon updateConnexionStatutIcon(ConnexionStatus status) {
|
|
|
185
|
+ Icon updateConnexionStatutIcon(ConnexionStatus status) {
|
|
186
|
186
|
return (Icon) ui.getConnexionStatus().getClientProperty(status.name().toLowerCase() + "Icon");
|
|
187
|
187
|
}
|
|
188
|
188
|
|
|
189
|
|
- public Color updateConnexionStatutColor(ConnexionStatus status) {
|
|
|
189
|
+ Color updateConnexionStatutColor(ConnexionStatus status) {
|
|
190
|
190
|
return (Color) ui.getConnexionStatus().getClientProperty(status.name().toLowerCase() + "Color");
|
|
191
|
191
|
}
|
|
192
|
192
|
|
|
193
|
|
- public String updateConnexionStatutText(@SuppressWarnings("unused") ConnexionStatus status) {
|
|
|
193
|
+ String updateConnexionStatutText(@SuppressWarnings("unused") ConnexionStatus status) {
|
|
194
|
194
|
ObserveSwingApplicationContext applicationContext = ObserveSwingApplicationContext.get();
|
|
195
|
195
|
ObserveTextGenerator textGenerator = applicationContext.getTextGenerator();
|
|
196
|
196
|
return textGenerator.getConnexionTestResultMessage(ui.getModel());
|
|
197
|
197
|
}
|
|
198
|
198
|
|
|
199
|
|
- public void chooseDumpFile() {
|
|
|
199
|
+ void chooseDumpFile() {
|
|
200
|
200
|
File f = UIHelper.chooseFile(ui,
|
|
201
|
201
|
t("observe.title.choose.db.dump"),
|
|
202
|
202
|
t("observe.action.choose.db.dump"),
|