This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 36574 - Add waitString() method into JProgressBarOperator class
Summary: Add waitString() method into JProgressBarOperator class
Status: CLOSED FIXED
Alias: None
Product: qa
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: Other Linux
: P1 blocker (vote)
Assignee: issues@qa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-14 12:20 UTC by Martin Schovanek
Modified: 2011-02-17 09:30 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Patch (3.18 KB, patch)
2003-10-14 12:21 UTC, Martin Schovanek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2003-10-14 12:20:35 UTC
I miss waitSting(String) method for indeterminate   
progress bar (bar with moving rectangle).   
The  JProgressBarOperator have waitValue(int),   
waitValue(ValueChooser) methods for clasic   
progress bar but they are not usable for  
indeterminate progress bar.
Comment 1 Martin Schovanek 2003-10-14 12:21:41 UTC
Created attachment 11850 [details]
Patch
Comment 2 Martin Schovanek 2003-10-16 15:02:36 UTC
Pardon, I forgotten mark it as enhancement. 
Comment 3 Alexandre Iline 2003-10-20 07:38:54 UTC
I have a question. 
 
Is there any reason why not to use waitState(ComponentChooser) 
finctionality? 
 
Instead of adding of a new method like you proposing, I would rather 
deprecate waitValue(*) along with ValueChooser. :) 
 
Or, may be, deprecate only ValueChooser (along with 
waitValue(ValueChooser)), making waitValue(int) (and 
waitValue(String), then) working through waitState. 
 
Would it work? 
 
Let me now if I miss something - I might as well do. :) 
 
Comment 4 Martin Schovanek 2003-10-20 13:28:10 UTC
The implementation was driven by  waitValue(int). I only need a  
wait...(String) method.  
Something like: 
 
public static class JProgressBarOperator.StringJProgresBarChooser 
implements ComponentChooser { ... } 
 
is acceptable too but I would prefer wait...(String) method. 
 
Comment 5 Jiri Skrivanek 2003-10-22 09:02:20 UTC
Shura added method waitValue(String) in version 2.2.4.3.