Re: [tasklist] tasklist/editor/TaskEditorListener

Tor Norbye <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.tasklist.devel
Organization Sun Microsystems, Inc
Message-ID <1047052291.3861.936.camel@proto>
On Fri, 2003-03-07 at 06:14, Tim Lebedkov wrote:
> Hi Tor,
> 
> > Yup. We should be able to move annotation showing into tasklist core, such
> > that the only thing the editor module does is register a margin-menu
> > action for adding a task.  However, as I mentioned above we may be able to
> > get more out of the editor annotations and then removing it now would mean
> > additional work.
> 
> I'd like to reuse TL/core/GoToTaskAction but it doesn't work without
> TL/editor
> and TL/editor depends on TL/usertasks so TL/compiler depends on TL/usertasks
> and I think it is not good.

Ok, why don't you move the showTask and hideTask methods from
TaskEditorListener into TaskListView (don't just move it to
GoToTaskAction since other code will call TaskListView.show
as well, for example ShowSuggestionAction), and comment out
the registerListener call.  Leave the code in place for now,
but commented out. I'll rip it out or re-modify it once I find out 
what to do about editor annotations.

-- Tor
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.