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 20522 - Need openide BOW support for IFDEF's BOW
Summary: Need openide BOW support for IFDEF's BOW
Status: RESOLVED DUPLICATE of bug 17320
Alias: None
Product: cnd
Classification: Unclassified
Component: Terminalemulator (show other bugs)
Version: 6.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: ivan
Keywords: API
Depends on: 28297
  Show dependency tree
Reported: 2002-02-14 00:11 UTC by _ gordonp
Modified: 2008-10-22 10:02 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description _ gordonp 2002-02-14 00:11:52 UTC
The Ifdef module (called "Solaris Native Languages Support" now) uses
a customized Build Output Window. This is an important feature because
our compilers emit html error messages. Each error message contains 2
hyperlinks. The first hyperlink triggers the display of the offending
line of code (same as the standard BOW except its a single click). The
2nd hyperlink, which should be displayed with an icon but is currently
displayed using the Alt tag, posts a popup dialog with an explanation
of the compiler error.

To set this up I need to be able to get a pointer to the ActiveTerm the
output is displayed in. I currently do this via the method getTerm() in
the OutputTabTerm class. I've been told (by Trung) that this method will
be going away in a future release and that I need support added to the
openide for these features.

I also need some support for keyboard traversal between hyperlinks. In the
current core implementation there is an assumption of a single hyperlink
per error/line in the BOW. This makes my code for keyboard traversal very
difficult. The problem is that a VK_DOWN might move the focus to the 2nd
link (the error message) rather than to the next error. If the editor
moves to the second error message when I do a keyboard traversal from the
1st hyperlink to the 2nd hyperlink then the editor is out of sync with
the BOW. The current keyboard access, because its assuming a single
hyperlink per line, moves left-to-right before top-to-bottom. I think it
would be better if the up and down keys strictly moved up and down and
left and right moved between a 1st and 2nd hyperlink on the same line.

The BOW is currently in core. All or part will have to move from core to
openide for this functionality to be done the way Trung suggested. This is
a critical feature for ifdef. Our current implementation is based on a core
method which has already been removed once (issue 19169) and is scheduled
for removal in the future.
Comment 1 Svata Dedic 2002-02-14 05:38:48 UTC
First, this sounds like an FEATURE request. Please mark it as such in
the future. Second, the requirement comes pretty late, since we are
already planning 3.4 features for quite a time, so I can't guarantee
that it will be implemented in 3.4 cycle offhand.
Comment 2 Marek Grummich 2002-07-19 16:18:12 UTC
Target milestone was changed from not determined to TBD
Comment 3 Svata Dedic 2002-11-21 08:01:24 UTC
This issue seems to need better OutputWindow API (now it is possible
only to add a Listener to the whole line/message output by println).
Comment 4 Jesse Glick 2004-03-16 17:04:51 UTC
Needs to be reevaluated, perhaps closed as WONTFIX depending on what
it means.
Comment 5 _ tboudreau 2004-03-17 10:40:22 UTC
Changing to enhancement so it doesn't fall off my radar screen.  

If an application built on NetBeans has highly specific requirements for the output window, 
the problem may be best solved by that application providing its own implementation of it, 
rather than using core/output - it is pluggable.  Some of this sounds like it may be 
generally useful, some of it pretty esoteric.
Comment 6 Marian Mirilovic 2006-09-25 10:50:39 UTC
The core team has not been responsible for terminal emulator for long time, so
reassigne all opened issues to responsible person.
Comment 7 ivan 2008-10-22 10:02:40 UTC
ifdef is now SunStudio and BOW is not part of it anymore but part
of NB CND and it doesn't use Term anymore anyway.

However, the reintroduced Term will be providing hyperlink features
and should address hyperlink navigability and other issues.

IZ 17320 already covers that so marking as a dup.

*** This issue has been marked as a duplicate of 17320 ***