Lines 279-284
Link Here
|
279 |
|
279 |
|
280 |
@Messages({ |
280 |
@Messages({ |
281 |
"ERR_no_proj=No project selected.", |
281 |
"ERR_no_proj=No project selected.", |
|
|
282 |
"ERR_remote=Export to ZIP feature is not supported for remote projects", |
282 |
"ERR_no_root=Must select a root directory to package.", |
283 |
"ERR_no_root=Must select a root directory to package.", |
283 |
"# {0} - directory", "ERR_no_dir={0} does not exist.", |
284 |
"# {0} - directory", "ERR_no_dir={0} does not exist.", |
284 |
"ERR_no_zip=Must select a ZIP to export to.", |
285 |
"ERR_no_zip=Must select a ZIP to export to.", |
Lines 287-295
Link Here
|
287 |
}) |
288 |
}) |
288 |
private boolean check(NotificationLineSupport notifications) { |
289 |
private boolean check(NotificationLineSupport notifications) { |
289 |
notifications.clearMessages(); |
290 |
notifications.clearMessages(); |
290 |
if (projectRadio.isSelected() && projectCombo.getSelectedIndex() == -1) { |
291 |
if (projectRadio.isSelected()) { |
291 |
notifications.setInformationMessage(ERR_no_proj()); |
292 |
if (projectCombo.getSelectedIndex() == -1) { |
292 |
return false; |
293 |
notifications.setInformationMessage(ERR_no_proj()); |
|
|
294 |
return false; |
295 |
} else if (root() == null) { |
296 |
notifications.setErrorMessage(ERR_remote()); |
297 |
return false; |
298 |
} |
293 |
} else if (otherRadio.isSelected()) { |
299 |
} else if (otherRadio.isSelected()) { |
294 |
String t = otherField.getText(); |
300 |
String t = otherField.getText(); |
295 |
if (t.isEmpty()) { |
301 |
if (t.isEmpty()) { |