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 202454 - Make Terminal module public
Summary: Make Terminal module public
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Terminalemulator (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 19:55 UTC by javydreamercsw
Modified: 2012-10-26 19:52 UTC (History)
0 users

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 javydreamercsw 2011-09-21 19:55:22 UTC
Product Version = NetBeans IDE Dev (Build 201109202329)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0
Runtime = Java HotSpot(TM) Client VM 21.0-b17

Terminal and Terminal emulator are not "friendly". They are not public and only share with friendly modules.
Comment 1 Vladimir Voskresensky 2011-09-21 21:33:08 UTC
which exact API are you interested in?
Comment 2 ivan 2012-10-25 09:10:39 UTC
There are two API's.

One is class Term in lib.terminalemulator/.
This is a "pure" NB module implementing a terminalemulator GUI widget.
"pure" means it has no dependences on other NB modules and can be used
by other non-NB-platform applications.

The other is class Terminal in terminal/.
Terminal connects Term to the NB IO services.

As far as making Term public ...
This is an old class and was written before I (or the NB community)
had a good understanding of how to write evolvable API's.
As it is Term is used as a base for two other classes and
is therefore not evolvable. 

I've been dreaming of redoing Term so it incorporates StreamTerm
and ActiveTerm and becomes final. Only then can it rightfully 
be made public.
Comment 3 chaddaniels 2012-10-26 19:52:22 UTC
Any thoughts on when your dreams will be coming true Ivan?