mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
GP-628 - Dialogs - test of greatly simplified parenting code
This commit is contained in:
parent
d8166ff6ec
commit
b956870432
13 changed files with 242 additions and 174 deletions
|
@ -68,8 +68,14 @@ public class WrappingTaskMonitor implements TaskMonitor {
|
|||
delegate.removeCancelledListener(l);
|
||||
}
|
||||
|
||||
newDelegate.setIndeterminate(delegate.isIndeterminate());
|
||||
newDelegate.initialize(delegate.getMaximum());
|
||||
if (delegate.isIndeterminate()) {
|
||||
newDelegate.setIndeterminate(true);
|
||||
}
|
||||
else {
|
||||
newDelegate.setIndeterminate(false);
|
||||
newDelegate.initialize(delegate.getMaximum());
|
||||
}
|
||||
|
||||
newDelegate.setProgress(delegate.getProgress());
|
||||
newDelegate.setMessage(delegate.getMessage());
|
||||
newDelegate.setCancelEnabled(delegate.isCancelEnabled());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue