|
Lines 381-400
Link Here
|
| 381 |
useXMLRPCstatusTransitions.setSelection(value); |
381 |
useXMLRPCstatusTransitions.setSelection(value); |
| 382 |
} else { |
382 |
} else { |
| 383 |
// we use the repository values |
383 |
// we use the repository values |
| 384 |
boolean value = Boolean.parseBoolean(repository.getProperty(IBugzillaConstants.BUGZILLA_PARAM_USECLASSIFICATION)); |
384 |
boolean value; |
|
|
385 |
String valueString = repository.getProperty(IBugzillaConstants.BUGZILLA_PARAM_USECLASSIFICATION); |
| 386 |
if (valueString == null) { |
| 387 |
value = false; |
| 388 |
} else { |
| 389 |
value = Boolean.parseBoolean(valueString); |
| 390 |
} |
| 385 |
useclassification.setSelection(!value); |
391 |
useclassification.setSelection(!value); |
| 386 |
value = Boolean.parseBoolean(repository.getProperty(IBugzillaConstants.BUGZILLA_PARAM_USETARGETMILESTONE)); |
392 |
valueString = repository.getProperty(IBugzillaConstants.BUGZILLA_PARAM_USETARGETMILESTONE); |
|
|
393 |
if (valueString == null) { |
| 394 |
value = true; |
| 395 |
} else { |
| 396 |
value = Boolean.parseBoolean(valueString); |
| 397 |
} |
| 387 |
usetargetmilestone.setSelection(!value); |
398 |
usetargetmilestone.setSelection(!value); |
| 388 |
value = Boolean.parseBoolean(repository.getProperty(IBugzillaConstants.BUGZILLA_PARAM_USEQACONTACT)); |
399 |
valueString = repository.getProperty(IBugzillaConstants.BUGZILLA_PARAM_USEQACONTACT); |
|
|
400 |
if (valueString == null) { |
| 401 |
value = true; |
| 402 |
} else { |
| 403 |
value = Boolean.parseBoolean(valueString); |
| 404 |
} |
| 389 |
useqacontact.setSelection(!value); |
405 |
useqacontact.setSelection(!value); |
| 390 |
value = Boolean.parseBoolean(repository.getProperty(IBugzillaConstants.BUGZILLA_PARAM_USESTATUSWHITEBOARD)); |
406 |
valueString = repository.getProperty(IBugzillaConstants.BUGZILLA_PARAM_USESTATUSWHITEBOARD); |
|
|
407 |
if (valueString == null) { |
| 408 |
value = true; |
| 409 |
} else { |
| 410 |
value = Boolean.parseBoolean(valueString); |
| 411 |
} |
| 391 |
usestatuswhiteboard.setSelection(!value); |
412 |
usestatuswhiteboard.setSelection(!value); |
| 392 |
value = Boolean.parseBoolean(repository.getProperty(IBugzillaConstants.BUGZILLA_PARAM_USEBUGALIASES)); |
413 |
valueString = repository.getProperty(IBugzillaConstants.BUGZILLA_PARAM_USEBUGALIASES); |
|
|
414 |
if (valueString == null) { |
| 415 |
value = false; |
| 416 |
} else { |
| 417 |
value = Boolean.parseBoolean(valueString); |
| 418 |
} |
| 393 |
usebugaliases.setSelection(!value); |
419 |
usebugaliases.setSelection(!value); |
| 394 |
value = Boolean.parseBoolean(repository.getProperty(IBugzillaConstants.BUGZILLA_PARAM_USE_SEE_ALSO)); |
420 |
valueString = repository.getProperty(IBugzillaConstants.BUGZILLA_PARAM_USE_SEE_ALSO); |
|
|
421 |
if (valueString == null) { |
| 422 |
value = false; |
| 423 |
} else { |
| 424 |
value = Boolean.parseBoolean(valueString); |
| 425 |
} |
| 395 |
use_see_also.setSelection(!value); |
426 |
use_see_also.setSelection(!value); |
| 396 |
|
427 |
|
| 397 |
value = Boolean.parseBoolean(repository.getProperty(IBugzillaConstants.BUGZILLA_USE_XMLRPC)); |
428 |
value = Boolean.parseBoolean(repository.getProperty(IBugzillaConstants.BUGZILLA_USE_XMLRPC)); |
|
|
429 |
valueString = repository.getProperty(IBugzillaConstants.BUGZILLA_USE_XMLRPC); |
| 430 |
if (valueString == null) { |
| 431 |
value = false; |
| 432 |
} else { |
| 433 |
value = Boolean.parseBoolean(valueString); |
| 434 |
} |
| 435 |
|
| 398 |
useXMLRPCstatusTransitions.setSelection(value); |
436 |
useXMLRPCstatusTransitions.setSelection(value); |
| 399 |
} |
437 |
} |
| 400 |
} |
438 |
} |