Re: TaskList API proposal
"Tim Lebedkov" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.tasklist.devel |
|---|---|
| Message-ID | <001e01c27e8f$89629e80$0af7b0ac@homeshopohqkhs> |
Hi Tor,
I've read the API.
1. Why don't we have SuggestionType as a class? It should be created so we
can simply get description or icon for type of a suggestion.
2. Can org.openide.text.Line be used to point to a directory? I can imagine
suggestions like "use only lowercase letters for directory names" or
"split this package. It contains too many classes"
3. Please insert values for PRIORITY_*-constants into JavaDoc
4. DocumentSuggestionProvider operates only on one Document. My opinion is
that SuggestionProviders like copyright-checker should be started
as a project is opened and should scan all files in the project in a
background-thread with low priority. I don't want to open each file in the
project
to find out that some of them use wrong copyright message. An audit
module could also need to know dependencies between different files and so
on.
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.
tim
----- Original Message -----
From: "Tor Norbye" <[email protected]>
To: <[email protected]>; <[email protected]>
Sent: Sunday, October 27, 2002 4:44 AM
Subject: TaskList API proposal
> Here are the APIs I'm proposing for the tasklist.
>
> http://tasklist.netbeans.org/javadoc/overview-summary.html
>
> I will start implementing this (and refactoring the tasklist
> module to use it) next weekend, so get your feedback to me
> before then if you have opinions on the APIs.
>
> -- Tor
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>