Re: TaskList API proposal
"Tim Lebedkov" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.tasklist.devel |
|---|---|
| Message-ID | <001901c27eb0$f46419e0$7c93fe91@homeshopohqkhs> |
Hi Tor, 1. OK 2. OK > > 3. Please insert values for PRIORITY_*-constants into JavaDoc As you already wrote those values will be used as constants in other classes and there will be no dependencies to PRIORITY_*. Users of this API must write something like (int) (0.33 * (Suggestion.PRIORITY_MAX - Suggestion.PRIORITY_MIN) + Suggestion.PRIORITY_MIN) and recompile their files to be compatible with future changes to these values. Nobody will do this. That's why I think we should write the values of constants to JavaDoc or create some more levels (5??, 10???). 4. OK > > 5. Independent of (4): SuggestionProvider should have a method [double > > getProgress()] that returns it's progress in percents. We can use this > > information > > to present a progress bar to the user. I've used source scanner (not the new action from menu but for current document) and when I switch to a new editor I don't know whether it already scanned all sources or didn't found anything. [boolean isReady()] would be enough too. tim