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 89852 - API which notifies new events in the output windows
Summary: API which notifies new events in the output windows
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: t_h
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-22 13:28 UTC by Petr Pisl
Modified: 2009-03-09 15:35 UTC (History)
4 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2006-11-22 13:28:39 UTC
We need an API, which allows somehow notify the user, that there is new
important message in the output tab, which is not on top. For example when user
work with web application, then there are usually 3 output windows, where the
messages can be displayed:
1) Output window for the web application itself
2) Output window for the servlet container (application server)
3) Output window for the database server

When user watches the output window for the web  application, we need to notify
user, that there is an exception in the output window for application server,
for example.
Comment 1 Antonin Nebuzelsky 2006-12-19 12:50:28 UTC
Not easy for 6.0. Output API is not extensible in this direction. Keeping this
enhancement open for future, when we will evalute complete Output API redesign.
Comment 2 Sherold Dev 2006-12-19 14:52:17 UTC
Actually, we do not need an API. What we need is UI enhancement that would
notify the user about changes.

Would it be possible to somehow highlight the output tab when a new line is
written there? And also mark the output tab that it contains an error if an
error is added there.
Comment 3 Antonin Nebuzelsky 2006-12-22 13:54:25 UTC
> Would it be possible to somehow highlight the output tab when a new line
> is written there?

It depends what you mean by "highlight". For example blinking of the tab would
be too intrusive IMO. But changing the font of the tab from normal to bold could
be reasonable I think.

> And also mark the output tab that it contains an error if an error
> is added there.

I believe this is not possible with the current Output implementation and APIs.
Right, Milosi?

So, if some kind of decent highlighting of the output tab with all incoming
lines is reasonable for you and an agreement is made with nb-usability on the
UI, I think we could go this way.
Comment 4 Milos Kleint 2006-12-22 15:01:09 UTC
actually I don't believe it can go without the API. I believe it's the output
writer (not the OW impl) responsibility to trigger the highlighting or at least
designate it wants highligting to happen. A flat, general change of behaviour
won't work for everyone.
Comment 5 Petr Jiricka 2007-01-02 08:55:13 UTC
I suggest we first agree on the exact behavior and UI, and based on the
agreement, decide what is needed implementation-wise. Stepan, can you please
drive this and talk to Pepa Holy and Milos about the desired behavior? Thanks.
Comment 6 Antonin Nebuzelsky 2008-02-07 15:51:20 UTC
Reassigning to new module owner Tomas Holy.
Comment 7 t_h 2009-03-09 15:35:48 UTC
After integration 3234c129f8ca it is possible to set tab icon (to reflect important change). If it is not enough reopen
issue with more specific request.