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 19169 - OutTabTerm.getTerm() no longer exists
Summary: OutTabTerm.getTerm() no longer exists
Status: CLOSED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P1 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-08 21:50 UTC by _ gordonp
Modified: 2008-12-22 18:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gordonp 2002-01-08 21:50:45 UTC
The Forte Developer module requires a pointer to the ActiveTerm in order
to change the default interpreter to an HTML interpreter. This is required
for backwards compatability with our past workshop product line. In our
the build output window is HTML and links are handled as real html and
not like the rest of netbeans. In Release 3.3.0 the OutputTabTerm.getTerm()
method was public and our module worked correctly. I just checked out from
the 3.3.1 branch and getTerm() is no longer public and our module will no
longer compile.

In a more general note, Ivan's terminalemulator has provisions for replacing
the default ActiveTerm interpreter with the setInterp() method. If the
ActiveTerm is no longer available this feature is left unusable.

This significantly impacts the Forte Developer module. Please fix asap!
Comment 1 _ gordonp 2002-01-08 22:07:47 UTC
Correction to the original posting.

The method getTerm has been removed completely from OutputTabTerm
and added as a non-public method to OutTermPane (a new inner class)
of OutputTabTerm.

I don't care if the way I get the ActiveTerm changes as long as
there remains public access to the ActiveTerm.
Comment 2 _ ttran 2002-01-09 07:14:27 UTC
OutputTabTerm is an implementation class in core.  As such it can
change at any time without notice.  It's module writer's fault if the
sw fails because it uses non-API class/method which has changed.

I close this bug as INVALID.  Please post your question on nbdev or
openide-dev mailing lists to ask for an alternative solution.
Comment 3 akemr 2002-01-09 08:34:36 UTC
Aggree with Trung. Furthermore this method had following comment:
// only for debugging

So it was risky to use it.. This method returned only ActiveTerm for
OUTPUT pane of OW (there could be also ERROR pane - which debugger use).

However, if necessary, I can (for now) add following method into
OutputTabTerm:

 public Term getTerm( boolean fromOutputPane );

which can return Term instance for OUTPUT (true) or ERROR pane (false)
or null.
Do you aggree?
Comment 4 Quality Engineering 2003-07-01 15:48:23 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified.

Comment 5 Quality Engineering 2003-07-01 16:13:45 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.